Vtex1629_Set_Trigger_Source - VTI Instruments EX1629 User Manual

48-channel strain gage instrument
Table of Contents

Advertisement

F
P
UNCTION
ROTOTYPE
ViStatus vtex1629_set_trigger_source (ViSession vi, ViInt32 triggerSource);
F
P
UNCTION
ARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
triggerSource = an integer input value that indicates the desired source to be monitored for trigger events. Valid
input values: 0 to 17.
D
I
R
V
ATA
TEM
ESET
ALUE
triggerSource = 0 (immediate)
D
ESCRIPTION
This function sets the trigger source on the EX1629. Possible values for the trigger source include:
Decimal
Hex
Value
Value
0
0x00
VTEX1629_TRIG_SRC_IMMEDIATE
1
0x01
VTEX1629_TRIG_SRC_PATTERN
2
0x02
VTEX1629_TRIG_SRC_LXI0_POS
3
0x03
VTEX1629_TRIG_SRC_LXI1_POS
4
0x04
VTEX1629_TRIG_SRC_LXI2_POS
5
0x05
VTEX1629_TRIG_SRC_LXI3_POS
6
0x06
VTEX1629_TRIG_SRC_LXI4_POS
7
0x07
VTEX1629_TRIG_SRC_LXI5_POS
8
0x08
VTEX1629_TRIG_SRC_LXI6_POS
9
0x09
VTEX1629_TRIG_SRC_LXI7_POS
10
0x0A
VTEX1629_TRIG_SRC_LXI0_NEG
11
0x0B
VTEX1629_TRIG_SRC_LXI1_NEG
12
0x0C
VTEX1629_TRIG_SRC_LXI2_NEG
13
0x0D
VTEX1629_TRIG_SRC_LXI3_NEG
14
0x0E
VTEX1629_TRIG_SRC_LXI4_NEG
15
0x0F
VTEX1629_TRIG_SRC_LXI5_NEG
16
0x10
VTEX1629_TRIG_SRC_LXI6_NEG
17
0x11
VTEX1629_TRIG_SRC_LXI7_NEG
Immediate (0): an immediate trigger source. After receiving the arm event, the trigger state machine will bypass the
trigger layer and will automatically begin to acquire data.
Pattern (1): this trigger source allows the EX1629 to accept trigger events from multiple sources. The EX1629 can
be configured to accept trigger events on LXI Trigger Bus channels, digital I/O channels, a timer, and software
triggers. The EX1629 can simultaneously accept any combination of these events. The specific pattern is set with the
vtex1629_set_pattern_trig_configuration command.
LXI n Positive Edge (2 – 9): these trigger sources refer to trigger events coming from the LXI Trigger Bus and will
cause the EX1629 to trigger on the positive edge of signals coming into the LXI Trigger Bus.
LXI n Negative Edge (10 – 17): these trigger sources refer to trigger events coming from the LXI Trigger Bus and
will cause the EX1629 to trigger on the negative edge of signals coming into the LXI Trigger Bus.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
...
status = vtex1629_set_trigger_source(instrumentHandle, VTEX1629_TRIG_SRC_LXI4_POS);
EX1629 Command Set

vtex1629_set_trigger_source

#define
armSource Description
Immediate
Pattern
LXI 0 Positive Edge
LXI 1 Positive Edge
LXI 2 Positive Edge
LXI 3 Positive Edge
LXI 4 Positive Edge
LXI 5 Positive Edge
LXI 6 Positive Edge
LXI 7 Positive Edge
LXI 0 Negative Edge
LXI 1 Negative Edge
LXI 2 Negative Edge
LXI 3 Negative Edge
LXI 4 Negative Edge
LXI 5 Negative Edge
LXI 6 Negative Edge
LXI 7 Negative Edge
www.vtiinstruments.com
291

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents