Al_settriggeroutput – Measurement Computing ADLIB WIN User Manual

Page 75

Advertising
background image

Chapter 20 Triggering Modes

19-7

19.6 AL_SetTriggerOutput

Prototype

C\C++

ERRNUM

AL_SetTriggerOutput(LHLD

lhld, LPSTR lpstrMode);


Visual Basic for Windows

Function

AL_SetTriggerOutput(ByVal

lhld As Long,

ByVal lpstrMode As String) As Long

LHLD lhld

handle of the LDSD

LPSTR lpstrMode

address of the TriggerOutput mode string


The AL_SetTriggerOutput function sets the hardware TriggerOutput operation mode of the LDSD. For
the PCI 5500 and Pci55xx Series the AtoD device can be configured to output a signal when it has been
triggered. This allows multiple boards to be connected together which are triggered simultaneously form a
single trigger source that is daisy chained to additional boards.

For the Pci55xx Series the signal ADTGOUT is available to output it’s trigger source. Each time the ADC
is triggered from any of the available triggering sources the ADTGOUT signal pulses high for a period of
1 microsecond. This output can be used to synchronize the triggering of multiple A/D converters on
different PCI cards.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrMode

Points to the desired TriggerOutput mode string. The available string settings

are

device independent and are verified by ADLIB against the available trigger

mode 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_SetTrigSourceSignal
AL_SetPostSampleCount
AL_GetTriggerStruct
AL_GetTriggerOutput

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

ENABLED, DISABLED


Advertising