User manual
2.3.48 AcqrsD1_configTrigSource
Purpose
Configures the trigger source control parameters for the specified trigger source (channel or External).
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
channel ViInt32 = 1...(Number of IntTrigSources) for internal sources
= -1..-(Number of ExtTrigSources) for external sources
See discussion below.
trigCoupling ViInt32 = 0 DC
= 1 AC
= 2 HF Reject (if available)
= 3 DC, 50 Ω (ext. trigger only, if available)
= 4 AC, 50 Ω (ext. trigger only, if available)
trigSlope ViInt32 = 0 Positive
= 1 Negative
= 2 out of Window
= 3 into Window
= 4 HF divide
= 5 Spike Stretcher
trigLevel1 ViReal64 Trigger threshold in % of the vertical Full Scale of the
channel, or in mV if using an External trigger source.
See discussion below.
trigLevel2 ViReal64 Trigger threshold 2 (as above) for use when Window
trigger is selected
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
Discussion
The number of internal (i.e. channel) or external trigger sources of the instrument can be retrieved with the
Acqrs_getInstrumentInfo function.
The allowed range for the trigger threshold depends on the model and the channel chosen. See your product
User Manual.
NOTE: Some of the possible states may be unavailable in some digitizers. In particular, the trigCoupling
choices of ‘DC, 50 Ω’ and ‘AC, 50 Ω’ are only needed for modules that have both 50 Ω and 1 MΩ external
input impedance possibilities.
Programmer’s Reference Manual Page 95 of 210