Simulate
- Updated2026-01-20
- 1 minute(s) read
Gets or sets a value which indicates whether to simulate NI-SWITCH I/O operations.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public bool Simulate { get; set; }
Remarks
This property is useful for debugging applications without using hardware.
Returns
true if NI-SWITCH simulates instrument driver I/O operations; false if NI-SWITCH communicates directly with the instrument.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Simulate property was accessed after the associated NISwitch object was disposed. |