Al_gettriggeroutput – Measurement Computing ADLIB WIN User Manual
Page 76

Chapter 20 Triggering Modes
19-8
19.7 AL_GetTriggerOutput
Prototype
C\C++
ERRNUM AL_GetTriggerOutput(LHLD lhld, LPSTR lpstrTriggerOutput, long Maxlen);
Visual Basic for Windows
Function AL_GetTriggerOutput(ByVal lhld As Long, ByVal lpstrTriggerOutput As
String, ByVal lMaxlen As Long) As Long
LHLD lhld
handle of the LDSD
LPSTR lpstrTriggerOutput
destination address of the TriggerOutput string
long lMaxLength
the count in bytes to be copied
The AL_GetDataCode function retrieves the current TriggerOutput mode of the LDSD.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lpstrTriggerOutput
Points to the destination string for the copy.
lMaxLength
Maximum length in bytes to be copied to the user string, including the
NULL termination character.
Returns:
On success ERRNUM is set to 1 and the destination string lpstrTriggerOutput is set to the LDSD
TriggerOutput mode, otherwise ERRNUM contains the last error code that occurred during the call and the
destination string is considered invalid.
Related Functions:
AL_SetTriggerMode
AL_SetTriggerSource
AL_SetTrigSourceSignal
AL_SetPostSampleCount
AL_GetTriggerStruct
AL_SetTriggerOutput
Supported Logical Device Subsystems:
Pci55xx Series: ADC0