VTI Instruments Corp.
110
EX10xxA Programming
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
query.
The TRIG count is configured with the
value from 1 to (2
31
-1). This value is reset with each ARM event.
Example: This code block sets a TRIG count of 10.
vtex10xxA_set_trigger_count(vi, 10);
The current TRIG count is queried with the
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
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
query.
Configure general trigger model parameters
The timer interval for Timer source events is configured with the
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.
Содержание EX1000A
Страница 25: ...www vtiinstruments com EX10xxA Introduction 25 FIGURE 1 2 RACKMOUNT HARDWARE INSTALLATION DIAGRAM ...
Страница 27: ...www vtiinstruments com EX10xxA Introduction 27 FIGURE 1 4 ISOMETRIC AND INTERNAL CJC PLATE DIAGRAM ...
Страница 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Страница 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Страница 34: ......
Страница 56: ......
Страница 74: ......
Страница 130: ......
Страница 282: ......