NI-Sync C API Reference

niSync_SendSoftwareTrigger

  • Updated2023-02-21
  • 1 minute(s) read

C Function Prototype

ViStatus niSync_SendSoftwareTrigger (ViSession vi, ViConstString sourceTerminal);

Purpose

Sends a pulse on the global software trigger terminal. You must first route the global software trigger to at least one destination terminal using niSync_ConnectSWTrigToTerminal for this operation to have any effect.

Parameters

Name Type Description
vi ViSession The session handle that you obtain from niSync_init. The handle identifies a particular instrument session.

sourceTerminal ViConstString Specifies the source to send the software trigger from.

Valid Values:
NISYNC_VAL_SWTRIG_GLOBAL (Default Value)

Return Values

Log in to get a better experience