niSwitch_SetContinuousScan
- Updated2023-02-21
- 1 minute(s) read
IviSwtchScanner Capability Group
C Function Prototype
ViStatus niSwitch_SetContinuousScan (ViSession vi, ViBoolean continuousScan);
Purpose
Sets the to loop continuously through the scan list or to stop scanning after one pass through the scan list.
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. |
| continuousScan | ViBoolean | If VI_TRUE, loops continuously through the scan list during scanning. If VI_FALSE, the scan stops after one pass through the scan list. The default value is VI_FALSE. |