niSwitch_IsScanning

NI-SWITCH Functions

niSwitch_IsScanning

IviSwtchScanner Capability Group

C Function Prototype

ViStatus niSwitch_IsScanning (ViSession vi, ViBoolean* isScanning);

Purpose

Indicates the status of the scan.

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.

isScanning ViBoolean NI-SWITCH returns the value of NISWITCH_ATTR_IS_SCANNING attribute. VI_TRUE indicates that the switch is scanning. VI_FALSE indicates that the switch is idle.