DCPowerDriverOperation.Simulate Property
- Updated2024-01-04
- 1 minute(s) read

DCPowerDriverOperationSimulate Property
Gets whether or not to simulate NI-DCPower I/O operations.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public bool Simulate { get; set; }
Public Property Simulate As Boolean Get Set
Property Value
Type: Booleanif NI-DCPower simulates instrument driver I/O operations; if NI-DCPower communicates directly with the instrument.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Simulate property was accessed after the associated NIDCPower object was disposed. |
Remarks
This property is useful for debugging applications without using hardware. After a session is opened,
you cannot change the simulation state.