LastStatus 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 the last NI-VISA driver status code that was received when this API called a NI-VISA driver method.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property LastStatus As VisaStatusCode

C#
public VisaStatusCode LastStatus { get; }

Property Value

Last status received from a NI-VISA driver method.

Exceptions

ExceptionCondition
EntryPointNotFoundException A required operation in the NI-VISA driver library cannot be found.
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

This property only gets success, completion, and warning codes. When an error occurs in a driver method, a VisaException is thrown that contains the error code.

See Also

Reference

Session Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful