NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

Simulate Property

  • Updated2023-02-21
  • 2 minute(s) read
Simulate Property
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

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

See Also

Log in to get a better experience