Al_settriggersource – Measurement Computing ADLIB WIN User Manual
Page 71
Chapter 20 Triggering Modes
19-3
19.2 AL_SetTriggerSource
Prototype
C\C++
ERRNUM
AL_SetTriggerSource(LHLD
lhld, LPSTR lpstrSource);
Visual Basic for Windows
Function
AL_SetTriggerSource(ByVal
lhld As Long,
ByVal lpstrSource As String) As Long
LHLD lhld
handle of the LDSD
LPSTR lpstrSource
address of the trigger source string
The AL_SetTriggerSource function sets the hardware trigger source of the LDSD.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lpstrSource
Points to the desired trigger source string. The available string settings are
device independent and are verified by ADLIB against the available trigger
source 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_SetTriggerMode
AL_SetTrigSourceSignal
AL_SetPostSampleCount
AL_GetTriggerStruct
AL_SetTriggerOutput
AL_GetTriggerOutput
Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, Options:
DISABLED or “EXTERNAL”