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

Syntax

Namespace: NationalInstruments.Visa

public TcpipSocket(string resourceName)

Remarks

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

Parameters

NameTypeDescription
resourceNamestring

String that describes a unique VISA resource.