Set Continuous Scan
- Updated2023-05-15
- 2 minute(s) read
Set Continuous Scan
Sets the switch to loop continuously through the scan list or to stop scanning after one pass through the scan list.
Inputs/Outputs

session in
Control that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

continuous scan
Boolean value that specifies whether the scan list is run once or continuously during scanning.
| TRUE | Indicates that the scan list is run continuously during scanning. |
| FALSE | Indicates that the scan list is run once during scanning. |

session out
Indicator that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node and used for all subsequent NI-SWITCH calls.

error out
Error information.
The node produces this output according to standard error behavior.
Programming Patterns
Call the niSwitch Abort Scan node to halt a continuous scan.