NI-RFPM API Reference

Table of Contents

RfpmSwitchDriverUtility Class

  • Updated2023-12-28
  • 3 minute(s) read
RfpmSwitchDriverUtility Class

RfpmSwitchDriverUtility Class

Defines the methods that provide a basic set of utility operations.

Inheritance Hierarchy

SystemObject
  NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchSubObject
    NationalInstruments.ModularInstruments.NIRfpmSwitchRfpmSwitchDriverUtility

Namespace:  NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly:  NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023

Syntax

public sealed class RfpmSwitchDriverUtility : RfpmSwitchSubObject, 
	IIviDriverUtility, IDisposable
Public NotInheritable Class RfpmSwitchDriverUtility
	Inherits RfpmSwitchSubObject
	Implements IIviDriverUtility, IDisposable

The RfpmSwitchDriverUtility type exposes the following members.

Properties

  NameDescription
Public propertyDeviceTemperature
Gets the temperature, in degrees Celsius, for the switch device.
Public propertyExternalPortCount
Gets an Int32 representing the number of external ports for the switch device.
Top

Methods

  NameDescription
Public methodDisable
Places the instrument in an inactive state as quickly as possible.
Public methodDispose
Disposes the RfpmSwitchDriverUtility object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodErrorQuery
Reads an error code and a message from the instrument error queue.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLock
Acquires a synchronization lock on this instance of the NI-RFPM Switch driver.
Public methodLock(PrecisionTimeSpan)
Acquires a synchronization lock on this instance of the NI-RFPM Switch driver.
Public methodReset
Disconnects all created paths and returns the switch device to the initialization state.
Public methodResetDevice
Resets all attributes to their default states, and clears a latched interlock signal.
Public methodResetWithDefaults
Resets the switch device and applies initial settings from the logical name which you used to initialize the session.
Public methodSelfTest
Verifies that the switch device can communicate with the switch.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

Remarks

This class cannot be instantiated directly. It is instantiated when the NIRfpmSwitch session object is created. Access this class using Utility.

For more information, refer to the NI-SWITCH Function Reference.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience