Al_setburstrate – Measurement Computing ADLIB WIN User Manual
Page 93

Chapter 23 Burst Modes
22-3
22.3 AL_SetBurstRate
Prototype
C\C++
ERRNUM
AL_SetBurstRate(LHLD
lhld, double dRate, long lUnits);
Visual Basic for Windows
Function
AL_SetBurstRate(ByVal
lhld As Long, ByVal dRate As Double,
ByVal lUnits As Long) As Long
LHLD lhld
handle of the LDSD
double dRate
specifies the rate of burst clocks
long lUnits
specifies the rate units
The AL_SetBurstRate function sets the hardware Burst rate clock of the LDSD.
Parameter Description
lhld
Identifies the instance of the logical device subsystem.
dRate
Specifies the rate at which a burst clock will occur.
lUnits
Sets the units in which the above rate parameter is specified. The available settings are
defined as AL_HERTZ or AL_TICS in the ADLIB include file.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_SetBurstMode
AL_SetBurstLength
AL_GetBurstStruct
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, Options:
1 to 65535 when specified in Tics where the actual
Burst Rate is set to (1,000,000 / (65536 – dRate)).
15.259 to max board speed when specified in Hertz.
(For both TICS and HERTZ, the actual max. speed
depends on the board type and gain selections. Please
refer to your hardware manual for details.