NISWITCH_ATTR_TRIGGER_INPUT

NI-SWITCH Functions

NISWITCH_ATTR_TRIGGER_INPUT

Specific Attribute

Data
type
Access Applies to Coercion High Level Functions
ViInt32 R/W N/A None None

Description

This attribute specifies the source of the trigger for which the switch can wait when processing a scan list. The switch waits for a trigger when it encounters a semicolon in a scan list. When the trigger occurs, the switch advances to the next entry in the scan list.

Defined Values:

NISWITCH_VAL_IMMEDIATE


NISWITCH_VAL_EXTERNAL


NISWITCH_VAL_SOFTWARE_TRIG


NISWITCH_VAL_TTL0


NISWITCH_VAL_TTL1


NISWITCH_VAL_TTL2


NISWITCH_VAL_TTL3


NISWITCH_VAL_TTL4


NISWITCH_VAL_TTL5


NISWITCH_VAL_TTL6


NISWITCH_VAL_TTL7


NISWITCH_VAL_PXI_STAR


NISWITCH_VAL_REARCONNECTOR


NISWITCH_VAL_REARCONNECTOR_MODULE1


NISWITCH_VAL_REARCONNECTOR_MODULE2


NISWITCH_VAL_REARCONNECTOR_MODULE3


NISWITCH_VAL_REARCONNECTOR_MODULE4


NISWITCH_VAL_REARCONNECTOR_MODULE5


NISWITCH_VAL_REARCONNECTOR_MODULE6


NISWITCH_VAL_REARCONNECTOR_MODULE7


NISWITCH_VAL_REARCONNECTOR_MODULE8


NISWITCH_VAL_REARCONNECTOR_MODULE9


NISWITCH_VAL_REARCONNECTOR_MODULE10


NISWITCH_VAL_REARCONNECTOR_MODULE11


NISWITCH_VAL_REARCONNECTOR_MODULE12


NISWITCH_VAL_FRONTCONNECTOR


NISWITCH_VAL_FRONTCONNECTOR_MODULE1


NISWITCH_VAL_FRONTCONNECTOR_MODULE2


NISWITCH_VAL_FRONTCONNECTOR_MODULE3


NISWITCH_VAL_FRONTCONNECTOR_MODULE4


NISWITCH_VAL_FRONTCONNECTOR_MODULE5


NISWITCH_VAL_FRONTCONNECTOR_MODULE6


NISWITCH_VAL_FRONTCONNECTOR_MODULE7


NISWITCH_VAL_FRONTCONNECTOR_MODULE8


NISWITCH_VAL_FRONTCONNECTOR_MODULE9


NISWITCH_VAL_FRONTCONNECTOR_MODULE10


NISWITCH_VAL_FRONTCONNECTOR_MODULE11


NISWITCH_VAL_FRONTCONNECTOR_MODULE12

Notes  
  • (1) NISWITCH_VAL_IMMEDIATE Immediate Trigger. The switch does not wait for a trigger before processing the next entry in the scan list.
  • (2) NISWITCH_VAL_EXTERNAL External Trigger. The switch waits until it receives a trigger from an external source through the "trigger in" connector.
  • (3) NISWITCH_VAL_SOFTWARE_TRIG The switch waits until you call the niSwitch_SendSWTrigger function.
  • (111) NISWITCH_VAL_TTL0 The switch waits until it receives a trigger on the SCXI or PXI_TRIG0 line before processing the next entry in the scan list.
  • (112) NISWITCH_VAL_TTL1 The switch waits until it receives a trigger on the PXI_TRIG1 line before processing the next entry in the scan list.
  • (113) NISWITCH_VAL_TTL2 The switch waits until it receives a trigger on the SCXI or PXI_TRIG2 line before processing the next entry in the scan list.
  • (114) NISWITCH_VAL_TTL3 The switch waits until it receives a trigger on the PXI_TRIG3 line before processing the next entry in the scan list.
  • (115) NISWITCH_VAL_TTL4 The switch waits until it receives a trigger on the PXI_TRIG4 line before processing the next entry in the scan list.
  • (116) NISWITCH_VAL_TTL5 The switch waits until it receives a trigger on the PXI_TRIG5 line before processing the next entry in the scan list.
  • (117) NISWITCH_VAL_TTL6 The switch waits until it receives a trigger on the PXI_TRIG6 line before processing the next entry in the scan list.
  • (118) NISWITCH_VAL_TTL7 The switch waits until it receives a trigger on the PXI_TRIG7 line before processing the next entry in the scan list.
  • (125) NISWITCH_VAL_PXI_STAR The switch waits until it receives a trigger on the PXI STAR trigger bus before processing the next entry in the scan list.
  • (1000) NISWITCH_VAL_REARCONNECTOR The switch waits until it receives a trigger on the Rear connector before processing the next entry in the scan list. This value is valid for SCXI scanners that consist of a single device. If more than one device is used, you must use niSwitch_RouteTriggerInput or niSwitch_RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.
  • (1001) NISWITCH_VAL_FRONTCONNECTOR The switch waits until it receives a trigger on the front connector before processing the next entry in the scan list. When using SCXI scanners, this variable is valid for scanners that consist of a single device. If more than one device is used, you must use the niSwitch_RouteTriggerInput or niSwitch_RouteScanAdvancedOutput functions to route a trigger from the connector on another module to one of the TTL lines instead.