niSwitch_SendSoftwareTrigger

NI-SWITCH Functions

niSwitch_SendSoftwareTrigger

IviSwtchSoftwareTrigger Capability Group

C Function Prototype

ViStatus niSwitch_SendSoftwareTrigger (ViSession vi);

Purpose

Sends a software trigger to the switch specified in the NI-SWITCH session. When the trigger input is set to NISWITCH_VAL_SOFTWARE_TRIG through either the niSwitch_ConfigureScanTrigger function or the NISWITCH_ATTR_TRIGGER_INPUT attribute, the scan does not proceed from a semicolon (wait for trigger) until niSwitch_SendSoftwareTrigger is called.

Parameters

Name Type Description
vi ViSession A particular NI-SWITCH session established with niSwitch_InitWithTopology, niSwitch_InitWithOptions, or niSwitch_init and used for all subsequent NI-SWITCH calls.