niSwitch_AbortScan
IviSwtchScanner Capability Group
C Function Prototype
ViStatus niSwitch_AbortScan (ViSession vi);
Purpose
Aborts the scan in progress.
Initiate a scan with niSwitch_InitiateScan.
If the switch module is not scanning, the NISWITCH_ERROR_NO_SCAN_IN_PROGRESS error is returned.
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. |