Configure General Trigger Model Parameters - VTI Instruments EX1000A User Manual

Hide thumbs Also See for EX1000A:
Table of Contents

Advertisement

VTI Instruments Corp.
Example #1: This code block enables trigger on the timer only.
ViUInt16 vtb_masks[4] = {0,0,0,0};
ViUInt16 dio_masks[4] = {0,0,0,0};
ViUInt16lan_masks[4] = {0,0,0,0};
vtex10xxA_set_trigger_sourceEx(vi, vtb_masks, dio_masks, lan_masks, 1, 0, 0);
Example #2: This code block enables trigger on a positive level on DIO channels 0 through 3 and a
negative edge on VTB channel 6.
ViUInt16 vtb_masks[4] = {0,64,0,0};
ViUInt16 dio_masks[4] = {0,0,0x0F,0};
ViUInt16lan_masks[4] = {0,0,0,0};
vtex10xxA_set_trigger_sourceEx(vi, vtb_masks, dio_masks, lan_masks, 0, 0, 0);
Example #3: This code block enables software trigger only.
ViUInt16 vtb_masks[4] = {0,0,0,0};
ViUInt16 dio_masks[4] = {0,0,0,0};
ViUInt16lan_masks[4] = {0,0,0,0};
vtex10xxA_set_trigger_sourceEx(vi, vtb_masks, dio_masks, lan_masks, 0, 0, 0);
The current TRIG source is queried with the vtex10xxA_get_trigger_source query.
The TRIG count is configured with the vtex10xxA_set_trigger_count function, specified with a
value from 1 to (2
Example: This code block sets a TRIG count of 10.
vtex10xxA_set_trigger_count(vi, 10);
The current TRIG count is queried with the vtex10xxA_get_trigger_count query.
Alternatively, the TRIG count can be set to infinity, overriding any manual setting of TRIG count,
with the vtex10xxA_set_trigger_infinite function. This function simply accepts a Boolean value
indicating the enable status of an infinite TRIG count.
The current setting of an infinite TRIG count is queried with the vtex10xxA_get_trigger_infinite
query.
The TRIG delay is configured with the vtex10xxA_set_trigger_delay function, specified with a
value in seconds from 0 to 4294 with a resolution of 0.000001 (1 µs). The TRIG delay is the time
between the recognition of the TRIG event and the execution of the scan list.
Example: This code block sets a TRIG delay of 5 ms.
vtex10xxA_set_trigger_delay(vi, 0.005);
The current TRIG delay is queried with the vtex10xxA_get_trigger_delay query.

Configure general trigger model parameters

The timer interval for Timer source events is configured with the vtex10xxA_set_trigger_timer
function, specified with a value in seconds from 0.001 (1 ms) to 4294 with a resolution of 0.000001
(1 µs). The timer interval controls the frequency of the Timer event source. The same value is used
for both arm and trigger events.
110
31
-1). This value is reset with each ARM event.
EX10xxA Programming

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EX1000A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents