Simulate Property
- Updated2023-02-21
- 2 minute(s) read
Gets or sets a value which indicates whether to simulate NI-SWITCH I/O operations.
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 Simulate As Boolean |
C# |
---|
public bool Simulate { get; set; } |
Property Value
Type: System..::.Boolean trueTruetruetrue (True in Visual Basic) if NI-SWITCH simulates instrument driver I/O operations; falseFalsefalsefalse (False in Visual Basic) if NI-SWITCH communicates directly with the instrument.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Simulate property was accessed after the associated NISwitch.NISwitch object was disposed. |
Remarks
This property is useful for debugging applications without using hardware.