Continuous Property
- Updated2023-02-21
- 2 minute(s) read
Gets or sets a value that indicates whether a switch device stops scanning at the end of the scan, or continues scanning from the top of the scan list.
Notice that if you set the scan to continuous trueTruetruetrue (True in Visual Basic), the SwitchScan.WaitForScanComplete method will always time out and you must call SwitchScan.Abort to stop the scan.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public Property Continuous As Boolean |
C# |
---|
public bool Continuous { get; set; } |
Property Value
Type: System..::.Boolean falseFalsefalsefalse (False in Visual Basic) if the switch device stops scanning at the end of the scan, and trueTruetruetrue (True in Visual Basic) if the device continues scanning from the top of the scan list.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Continuous was accessed after the associated NISwitch.NISwitch object was disposed. |