Initializes a new instance of the GpibSession object from the specified resource name.

Syntax

Namespace: NationalInstruments.Visa

public GpibSession(string resourceName)

Remarks

This constructor ensures that the resource string represents a GPIB INSTR resource and throws a ResourceTypeMismatchException if the resource string represents an incorrect resource.

Parameters

NameTypeDescription
resourceNamestring

String that describes a unique VISA resource.