VisaException 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


Represents an error code received from the NI-VISA driver library.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class VisaException _
	Inherits SystemException

C#
[SerializableAttribute]
public class VisaException : SystemException

Remarks

When this API makes calls into the NI-VISA driver, errors might occur due to invalid configuration states, invalid parameters, or other factors. When errors occur, this class exposes the errors. If you need the exact error code that the driver returns, refer to ErrorCode.
Note: For a list of all NI-VISA error codes, refer to the Error Codes topic in the NI-VISA Help. To access the NI-VISA Help from the Start menu, select Start»Programs»National Instruments»VISA»NI-VISA Help.

Inheritance Hierarchy

System.Object
    System.Exception
        System.SystemException
            NationalInstruments.VisaNS.VisaException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VisaException Members

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful