Simulate
- Updated2025-10-06
- 1 minute(s) read
Gets whether or not to simulate NI-DCPower I/O operations.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public bool Simulate { get; set; }
Remarks
true if NI-DCPower simulates instrument driver I/O operations; false if NI-DCPower communicates directly with the instrument.
This property is useful for debugging applications without using hardware. After a session is opened, you cannot change the simulation state.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Simulate property was accessed after the associated NIDCPower object was disposed. |