TcpipSession Class

NI-VisaNS .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370627F-01

»View Product Info
Download Help (Windows Only)

Members See Also


Provides access to the specific TCP/IP functionality for accessing VXI-11 instruments available in VISA.

Namespace: NationalInstruments.VisaNS

Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 13.0.40.167

Syntax

Visual Basic (Declaration)
Public Class TcpipSession _
	Inherits MessageBasedSession

C#
public class TcpipSession : MessageBasedSession

Remarks

Use this class to open a VISA session to a TCPIP INSTR resource type when you need specific functionality for VXI-11 instruments that is unavailable in MessageBasedSession. For code interchangeability purposes, avoid instantiating this class directly. Instead, use the Open method.
Note: In the .NET interface to NI-VISA, a VISA session opens when Session or one of its subclasses is instantiated. A VISA session closes when Session or one of its subclasses is disposed by calling the Dispose method. Ensure that you call Dispose when you are finished with a session.

Inheritance Hierarchy

System.Object
    System.MarshalByRefObject
        NationalInstruments.VisaNS.Session
            NationalInstruments.VisaNS.MessageBasedSession
                NationalInstruments.VisaNS.TcpipSession

Thread Safety

All members of this type are safe for multithreaded operations.

See Also

Reference

TcpipSession Members

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful