Al_getburststruct – Measurement Computing ADLIB WIN User Manual
Page 94

Chapter 23 Burst Modes
22-4
22.4 AL_GetBurstStruct
Prototype
C\C++
ERRNUM
AL_GetBurstStruct(LHLD
lhld, LPBURST lpburstStruct);
Visual Basic for Windows
Function
AL_GetBurstStruct(ByVal
lhld As Long, lpburstStruct As BURST) As Long
LHLD lhld
handle of the LDSD
LPBURST lpburstStruct
address of the user burst structure
The AL_GetBurstStruct function provides access to all LDSD burst settings.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lpburstStruct
Specifies a 32 bit far pointer to a Burst information structure. This
structure has been pre-defined in the ADLIB include file and is defined
as follows:
typedef struct tagBURST
{
char
achBurstModeName[MAX_OPTIONS_NAME_STRING];
long
lBurstModeId;
long
lBurstRateUnits;
double
dBurstRate;
long
lBurstSamples;
}BURST;
typedef BURST FAR * LPBURST;
Returns:
On success ERRNUM is set to 1 and the lpburstStruct structure is filled with the device's burst settings,
otherwise ERRNUM contains the last error code that occurred during the call and the lpburstStruct
structure may contain invalid information.
Related Functions:
AL_SetBurstMode
AL_SetBurstLength
AL_SetBurstRate
Supported Logical Device Subsystems:
Pci55xx Series: ADC0