Provides functionality to open VISA sessions, parse resource strings, and find available resources on the system.

Derives from

  • NationalInstruments.Visa.Internal.Disposable
  • IResourceManager

Syntax

Namespace: NationalInstruments.Visa

public class ResourceManager : Disposable, IResourceManager

Remarks

This type provides all of the functionality necessary to instantiate the correct VISA session based on the resource string. You can find the available resources on the system with Find. Use Open(string) to instantiate the specific session object that pertains to your resource string.

Constructors

NameDescription
ResourceManager()

Creates an instance of the ResourceManager object.

Properties

NameDescription
ImplementationVersion

Gets the version of this VISA.NET implementation.

ManufacturerId

Gets the ID number of the vendor of this VISA.NET implementation.

ManufacturerName

Gets the name of the vendor of this VISA.NET implementation.

SpecificationVersion

Gets the version of the VISA.NET specification with which this VISA.NET implementation complies.

Methods

NameDescription
Find(string)

Find all of the VISA resources that match the specified pattern .

Open(string, AccessModes, int)

Create a VISA I/O resource session.

Open(string, AccessModes, int, out ResourceOpenStatus)

Create a VISA I/O resource session.

Open(string)

Create a VISA I/O resource session.

Parse(string)

Parse a resource string to get extended interface information.

DisposeManagedResources()

Disposes the handle to the resource manager object.

See Also