Admin Production ni-theme
Current Publication

Configure Trigger Source

IVI Compliance Package

IviFgen Configure Trigger Source

IviFgenTrigger Capability Group [TRG]

This VI configures the trigger source for a channel.

instrument handle The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
channel name ("CHANNEL1") Pass the virtual channel name that you assign to the instrument in MAX.

Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.

Default Value: "CHANNEL1"

error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

trigger source (External) Specify the trigger source you want to use. The driver sets the IviFgen Trigger Source [TRG] property to this value.

After you call the IviFgen InitiateGeneration VI, the function generator waits for the trigger you specify in this parameter. After it receives a trigger, the function generator produces output based on the value of the IviFgen Operation Mode property.

Defined Values:

IVIFGEN_VAL_INTERNAL_TRIGGER—Internal

IVIFGEN_VAL_EXTERNAL—External

IVIFGEN_VAL_SOFTWARE_TRIG—Software Trigger Function

IVIFGEN_VAL_TTL0—PXI TRIG0 or VXI TTL0

IVIFGEN_VAL_TTL1—PXI TRIG1 or VXI TTL1

IVIFGEN_VAL_TTL2—PXI TRIG2 or VXI TTL2

IVIFGEN_VAL_TTL3—PXI TRIG3 or VXI TTL3

IVIFGEN_VAL_TTL4—PXI TRIG4 or VXI TTL4

IVIFGEN_VAL_TTL5—PXI TRIG5 or VXI TTL5

IVIFGEN_VAL_TTL6—PXI TRIG6 or VXI TTL6

IVIFGEN_VAL_TTL7—PXI TRIG7 or VXI TTL7

IVIFGEN_VAL_ECL0—VXI ECL0

IVIFGEN_VAL_ECL1—VXI ECL1

IVIFGEN_VAL_PXI_STAR—PXI Star

IVIFGEN_VAL_RTSI_0—RTSI line 0

IVIFGEN_VAL_RTSI_1—RTSI line 1

IVIFGEN_VAL_RTSI_2—RTSI line 2

IVIFGEN_VAL_RTSI_3—RTSI line 3

IVIFGEN_VAL_RTSI_4—RTSI line 4

IVIFGEN_VAL_RTSI_5—RTSI line 5

IVIFGEN_VAL_RTSI_6—RTSI line 6

Default Value:

IVIFGEN_VAL_EXTERNAL—External

instrument handle out The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.