User manual

2.3.74 AcqrsD1_getTrigSource
Purpose
Returns the current trigger source control parameters for a specified channel.
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.
Output
Name Type Description
trigCoupling ViInt32 = 0 DC
= 1 AC
= 2 HF Reject
= 3 DC, 50 Ω
= 4 AC, 50 Ω
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
See remarks under
AcqrsD1_configTrigSource.
Programmer’s Reference Manual Page 142 of 210