Keysight VISA.NET Help
TcpipSocketSession Constructor(String)



The descriptor of the resource to which this class will be connected.
Performs the operations necessary to instantiate a TcpipSocketSession class without any locking.
Syntax
'Declaration
 
Public Function New( _
   ByVal resourceName As String _
)
'Usage
 
Dim resourceName As String
 
Dim instance As New TcpipSocketSession(resourceName)
public TcpipSocketSession( 
   string resourceName
)
public:
TcpipSocketSession( 
   String^ resourceName
)

Parameters

resourceName
The descriptor of the resource to which this class will be connected.
Remarks

This constructor attempts to open a connection to the specified resource with Ivi.Visa.AccessModes.None and and infinite timeout.

Some Keysight IO Libraries Connection Expert settings and Keysight Instrument Discovery Service policies affect the operation of this constructor. Refer to the IO Libraries Suite Help for more details.

For instruments that are auto-discovered by the Discovery Service, the constructor verifies that the instrument is present.

For instruments that are manually-added, the constructor does not verify the presence of the instrument. If the device is not present or not turned on, you will not discover this until you attempt to communicate with the instrument.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025