Handle Property

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)

Session Class See Also


Gets access to the NI-VISA driver session handle that NI-VISA driver operations use internally.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public ReadOnly Property Handle As IntPtr

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public IntPtr Handle { get; }

Property Value

NI-VISA driver session handle.

Exceptions

ExceptionCondition
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

This property is provided only for extensibility. Use this property only if the desired VISA functionality is not a part of this API. If a future revision of this API adds the unavailable functionality, change statements that use Handle to use the new API members.

See Also

Reference

Session Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful