niSwitch_Commit
- Updated2023-02-21
- 1 minute(s) read
Specific Function
C Function Prototype
ViStatus niSwitch_Commit (ViSession vi);
Purpose
Downloads the configured scan list and trigger settings to hardware.
Calling niSwitch_Commit is optional as it is implicitly called during niSwitch_InitiateScan. Use niSwitch_Commit to arm triggers in a given order or to control when expensive hardware operations are performed.
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. |