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

Syntax

Namespace: NationalInstruments.Visa

public GpibInterface(string resourceName)

Remarks

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

Parameters

NameTypeDescription
resourceNamestring

String that describes a unique VISA resource.