Instrument:5401/5411/5431:Trigger Source Property

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)

Short Name: Trigger Source

Property of niFgen

Specifies which trigger source the signal generator uses.

After you call the niFgen Initiate Generation VI, the signal generator waits for the trigger you specify in this parameter. After it receives a trigger, the signal generator produces the number of cycles you specify in the Repeat Count property.

The value you select for this property is also the source for the trigger in the other trigger modes as specified by the Trigger Mode property.

Note  You cannot change this property while the device is generating a waveform. If you want to change the device configuration, call the niFgen Abort Generation VI or wait for the generation to complete.
NIFGEN_VAL_IMMEDIATE (0)

The signal generator does not wait for a trigger of any kind.

NIFGEN_VAL_EXTERNAL (1)

The signal generator waits for a trigger on the external trigger input.

NIFGEN_VAL_PFI_0 (1011)

Specifies that PFI 0 is used as the trigger source.

NIFGEN_VAL_PFI_1 (1012)

Specifies that PFI 1 is used as the trigger source.

NIFGEN_VAL_PFI_2 (1013)

Specifies that PFI 2 is used as the trigger source.

NIFGEN_VAL_PFI_3 (1014)

Specifies that PFI 3 is used as the trigger source.

NIFGEN_VAL_SOFTWARE_TRIG (2)

Specifies that the signal generator waits until you call the niFgen Send Software Trigger VI.

NIFGEN_VAL_RTSI_0 (141)

Specifies that RTSI line 0 is used as the trigger source.

NIFGEN_VAL_RTSI_1 (142)

Specifies that RTSI line 1 is used as the trigger source.

NIFGEN_VAL_RTSI_2 (143)

Specifies that RTSI line 2 is used as the trigger source.

NIFGEN_VAL_RTSI_3 (144)

Specifies that RTSI line 3 is used as the trigger source.

NIFGEN_VAL_RTSI_4 (145)

Specifies that RTSI line 4 is used as the trigger source.

NIFGEN_VAL_RTSI_5 (146)

Specifies that RTSI line 5 is used as the trigger source.

NIFGEN_VAL_RTSI_6 (147)

Specifies that RTSI line 6 is used as the trigger source.

NIFGEN_VAL_RTSI_7 (1010)

Specifies that RTSI line 7 is used as the trigger source.

NIFGEN_VAL_PXI_STAR (131)

Specifies that the PXI star trigger line is used as the trigger source.

NIFGEN_VAL_TTL0 (111)

Specifies that the PXI_TRIG0 or VXI_TTL0 line is used as the trigger source.

NIFGEN_VAL_TTL1 (112)

Specifies that the PXI_TRIG1 or VXI_TTL1 line is used as the trigger source.

NIFGEN_VAL_TTL2 (113)

Specifies that the PXI_TRIG2 or VXI_TTL2 line is used as the trigger source.

NIFGEN_VAL_TTL3 (114)

Specifies that the PXI_TRIG3 or VXI_TTL3 line is used as the trigger source.

NIFGEN_VAL_TTL4 (115)

Specifies that the PXI_TRIG4 or VXI_TTL4 line is used as the trigger source.

NIFGEN_VAL_TTL5 (116)

Specifies that the PXI_TRIG5 or VXI_TTL5 line is used as the trigger source.

NIFGEN_VAL_TTL6 (117)

Specifies that the PXI_TRIG6 or VXI_TTL6 line is used as the trigger source.

NIFGEN_VAL_OTHER_TERMINAL (1018)

Specifies that another terminal is used.

Remarks

The following table lists the characteristics of this property.

Datatype iL
PermissionsRead/Write
High-level VIs niFgen Configure Trigger (poly)
Channel-based Yes
ResettableYes

WAS THIS ARTICLE HELPFUL?

Not Helpful