Al_settrigsourcesignal – Measurement Computing ADLIB WIN User Manual

Page 72

Advertising
background image

Chapter 20 Triggering Modes

19-4

19.3 AL_SetTrigSourceSignal

Prototype

C\C++

ERRNUM

AL_SetTrigSourceSignal(LHLD

lhld, LPSTR lpstrSourceSignal);


Visual Basic for Windows

Function

AL_SetTrigSourceSignal(ByVal

lhld As Long,

ByVal lpstrSourceSignal As String) As Long


LHLD lhld

handle of the LDSD

LPSTR lpstrSourceSignal

address of the trigger source signal string


The AL_SetTrigSourceSignal function sets the hardware trigger source signal of the LDSD.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrSourceSignal Points to the desired trigger source signal string. The available string

settings are device independent and are verified by ADLIB against the

available trigger source signal 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_SetTriggerSource
AL_SetPostSampleCount
AL_GetTriggerStruct
AL_SetTriggerOutput
AL_GetTriggerOutput

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, Options:

“FALLING_EDGE“ or “RISING_EDGE“

Advertising