NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerDriverOperation.Simulate Property

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

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: Boolean
if NI-DCPower simulates instrument driver I/O operations; if NI-DCPower communicates directly with the instrument.

Exceptions

ExceptionCondition
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.

See Also

Log in to get a better experience