Burst modes, Al_setburstmode – Measurement Computing ADLIB WIN User Manual

Page 91

Advertising
background image

Chapter 23 Burst Modes

22-1

22. BURST MODES

Burst Mode uses a separate Burst Rate clock to initiate conversions. For the Pci55xx Series the Burst Rate
is defined as the time between ADC conversions and the duration of the burst is defined Burst Length.
When burst mode is enabled, each burst will be started by any of the three previously mentioned clock
sources, essentially the Clocking Source becomes the trigger of each Burst.

22.1 AL_SetBurstMode

Prototype

C\C++

ERRNUM

AL_SetBurstMode(LHLD

lhld, LPSTR lpstrMode);


Visual Basic for Windows

Function

AL_SetBurstMode(ByVal

lhld As Long, ByVal lpstrMode As String) As Long

LHLD lhld

handle of the LDSD

LPSTR lpstrMode

address of the Burst mode string


The AL_SetBurstMode function sets the hardware Burst operation mode of the LDSD.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrMode

Points to the desired Burst mode string. The available string settings are device

independent and are verified by ADLIB against the available Burst mode

options

specified in the device's capabilities file.


Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.

Related Functions:
AL_SetBurstLength
AL_SetBurstRate
AL_GetBurstStruct

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, Options:

DISABLED or ENABLED

Advertising