IviSwtch_AbortScan

CVI/LabWindows IVI Class Driver

IviSwtch_AbortScan

IviSwtchScanner Capability Group

C Function Prototype

ViStatus IviSwtch_AbortScan (ViSession vi);

Purpose

This function aborts a previously initiated scan. You initiate a scan with the IviSwtch_InitiateScan function. You can determine the current status of the scan by calling the IviSwtch_IsScanning function.

If the instrument is not currently scanning, this function returns the IVISWTCH_ERROR_NO_SCAN_IN_PROGRESS error.

Parameter

Name Type Description
vi ViSession The instrument handle that you obtain from the IviSwtch_init or IviSwtch_InitWithOptions functions. The handle identifies a particular IVI session.

Return Values