Logical device status information, Al_getdevicestatus – Measurement Computing ADLIB WIN User Manual
Page 61

Chapter 17 Logical Device Status Information
16-1
16. LOGICAL DEVICE STATUS INFORMATION
The Device Status provides the current running condition of a device subsystem as. The Device Status is
useful for Single Cycle mode to determine when the entire acquisition has completed.
16.1 AL_GetDeviceStatus
Prototype
C\C++
STATUS
AL_GetDeviceStatus(LHLD
lhld);
Visual Basic for Windows
Function
AL_GetDeviceStatus(ByVal
lhld As Long) As Long
LHLD lhld
handle of the LDSD
The AL_GetDeviceStatus function returns the current hardware running status of a logical device
subsystem.
Parameter Description
lhld
Identifies the instance of the logical device subsystem from which the status is to be
retrieved.
Returns:
On success STATUS is set to either AL_RUNNING or AL_STOPPED, otherwise STATUS contains a
negative error code that occurred during the call.
Related Functions:
NONE
Supported Logical Device Subsystems:
Pci55xx
Series:
CTR0,
CTR1,
CTR2,
CTR3
Note that CTR0, CTR1 Counters are referenced in the user manual as CNTR0/1 and
Timers CTR2, CTR3 are referenced in the user manual as TMR0/1.
Pci55xx Series: DIN0 to DIN3, DOT0 to DOT3
Pci55xx Series: ADC0, DAC0, DAC1