NationalInstruments.VisaNS Namespace

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)


Contains objects that provide a .NET interface to NI-VISA. With this class library you can access the functionality available in NI-VISA for communicating with message-based and register-based instruments using GPIB, PXI, serial, TCP/IP, VXI, and USB, or other protocols supported by NI-VISA.

Refer to Using the Measurement Studio VisaNS .NET Library or Creating Projects with Measurement Studio NI-VISA for more information.

Classes

ClassDescription
BinaryEncoding Represents the encoding the MessageBasedSessionWriter and MessageBasedSessionReader classes use to transfer binary data.
FirewireSession Provides access to the raw IEEE 1394 functionality in VISA.
GpibInterface Provides access to the board-level GPIB functionality that is available in VISA.
GpibInterfaceControllerInChargeEventArgs Provides data for the ControllerInCharge (CIC) event on GpibInterface.
GpibInterfaceEventArgs Provides data for events on the GpibInterface object.
GpibInterfaceTriggerEventArgs Provides data for the Trigger event on GpibInterface.
GpibSession Provides access to the device-level GPIB functionality available in VISA.
MessageBasedSession Provides access to the message-based functionality, such as reading and writing, available in VISA.
MessageBasedSessionEventArgs Provides data for events on MessageBasedSession.
MessageBasedSessionReader Represents a reader that can read formatted data from an IMessageBasedSession.
MessageBasedSessionWriter Represents a writer that can write formatted data to an IMessageBasedSession.
PxiMemory Provides access to the specific PXI memory-access functionality available in VISA.
PxiSession Provides access to the device-level PXI functionality available in VISA.
PxiSessionEventArgs Provides data for events on PxiSession.
RegisterBasedSession Provides access to the register-based functionality, such as moving data in and out, available in VISA.
ResourceManager Provides functionality to open VISA sessions, parse resource strings, and find available resources on the system.
SerialSession Provides access to serial functionality available in VISA.
SerialSessionEventArgs Provides data for events on SerialSession.
Session Serves as the base class for all VISA session objects.
TcpipSession Provides access to the specific TCP/IP functionality for accessing VXI-11 instruments available in VISA.
TcpipSocket Provides access to the TCP/IP socket functionality available in VISA.
UsbRaw Provides access to the raw USB functionality available in VISA.
UsbRawEventArgs Provides data for events on UsbRaw.
UsbRawInterruptEventArgs Provides data for the UsbInterrupt event on UsbRaw.
UsbSession Provides access to the specific device-level USB functionality available in VISA.
UsbSessionEventArgs Provides data for events on UsbSession.
UsbSessionInterruptEventArgs Provides data for the UsbInterrupt event on UsbSession.
VisaEventArgs Specifies the base class for all VISA event argument objects.
VisaException Represents an error code received from the NI-VISA driver library.
VxiBackplane Provides access to the VXI backplane functionality available in VISA.
VxiBackplaneEventArgs Provides data for events on the VxiBackplane object.
VxiBackplaneTriggerEventArgs Provides data for the Trigger event on VxiBackplane.
VxiMemory Provides access to the specific VXI memory-access functionality available in VISA.
VxiSession Provides access to the specific device-level VXI functionality available in VISA.
VxiSessionEventArgs Provides data for events on the VxiSession object.
VxiSessionSignalProcessorEventArgs Provides data for the SignalProcessor event on VxiSession.
VxiSessionTriggerEventArgs Provides data for the Trigger event on VxiSession.
VxiSessionVxiVmeInterruptEventArgs Provides data for the VxiVmeInterrupt event on VxiSession.

Interfaces

InterfaceDescription
IMessageBasedSession Defines the set of functionality that a session must implement to be message based.
IRegisterBasedSession Defines the set of functionality that a session must implement to be register-based.

Delegates

DelegateDescription
GpibInterfaceControllerInChargeEventHandler Represents the method that handles the ControllerInCharge event on GpibInterface.
GpibInterfaceEventHandler Represents the method that handles the Clear, Listen, ServiceRequest, and Talk events on GpibInterface.
GpibInterfaceTriggerEventHandler Represents the method that handles the Trigger event on GpibInterface.
MessageBasedSessionEventHandler Represents the method that handles the ServiceRequest event on MessageBasedSession.
PxiSessionEventHandler Represents the method that handles the PxiInterrupt event on PxiSession.
SerialSessionEventHandler Represents the method that handles the AnyCharacterReceived, Break, ClearToSend, DataCarrierDetect, DataSetReady, RingIndicator, and TerminationCharacterReceived events on SerialSession.
UsbRawEventHandler Represents the method that handles events on UsbRaw.
UsbRawInterruptEventHandler Represents the method that handles the UsbInterrupt event on UsbRaw.
UsbSessionEventHandler Represents the method that handles events on UsbSession.
UsbSessionInterruptEventHandler Represents the method that handles the UsbInterrupt event on UsbSession.
VisaEventHandler Represents the method that handles most events on the .NET interface to NI-VISA API.
VxiBackplaneEventHandler Represents the method that handles the VxiVmeSystemFail and VxiVmeSystemReset events on VxiBackplane.
VxiBackplaneTriggerEventHandler Represents the method that handles the Trigger event on VxiBackplane.
VxiSessionEventHandler Represents the method that handles events on VxiSession.
VxiSessionSignalProcessorEventHandler Represents the method that handles the SignalProcessor event on VxiSession.
VxiSessionTriggerEventHandler Represents the method that handles the Trigger event on VxiSession.
VxiSessionVxiVmeInterruptEventHandler Represents the method that handles the VxiVmeInterrupt event on VxiSession.

Enumerations

EnumerationDescription
AccessModes Specifies the mode for locking or accessing a VISA resource.
AccessPrivilege Specifies the address modifier to use in access operations, such as In32 and MoveIn32, on VxiSession and VxiMemory.
AddressSpace Specifies the type of hardware address space.
AddressState Specifies the address state of a GPIB interface.
AtnMode Specifies how to control the GPIB Attention (ATN) line.
AttributeType Specifies the .NET interface to NI-VISA driver-level attributes.
BufferTypes Specifies the type of buffer.
ByteOrder Specifies the scheme for ordering bytes in a word.
DataWidth Specifies the width, in bits, of register-based data transfers.
EventMechanism Specifies how VISA events are raised.
FastDataChannelMode Specifies the available Fast Data Channel (FDC) mode.
FlowControlTypes Specifies the type of serial port flow control available for the transfer mechanism.
GpibInterfaceEventType Specifies the available events on the GpibInterface object.
HardwareInterfaceType Specifies the type of hardware interface.
IOProtocol Specifies I/O protocols for the current hardware interface.
LineState Specifies the state of a hardware line.
MessageBasedSessionEventType Specifies the available events on objects that implement the IMessageBasedSession interface.
Parity Specifies the parity types to use with every frame transmitted and received on a serial session.
PxiBarMemoryType Specifies the memory type of a PXI base address register (BAR) memory space.
PxiSessionEventType Specifies the available events on the PxiSession object.
RenMode Specifies the state of the GPIB Remote Enable (REN) line.
SerialSessionEventType Specifies the available events on the SerialSession object.
SerialTerminationMethod Specifies the available methods for terminating a serial transfer.
StatusByteFlags Partially defines the bits on a service request status byte bitfield.
StopBitType Specifies the numbers of stop bits that indicate the end of a frame.
TriggerLine Specifies the type of trigger line.
TriggerLineFlags Specifies a bitfield in which each bit corresponds to a trigger type.
TriggerProtocol Specifies the type of protocol used during trigger assertion.
UsbPipeState Specifies whether a USB pipe is stalled or ready.
UsbRawEventType Specifies the available events on the UsbRaw object.
UsbSessionEventType Specifies the available events on the UsbSession objects.
UsbTerminationMethod Specifies the available methods to terminate a read operation on the UsbRaw object.
VisaStatusCode Specifies the status codes that NI-VISA driver-level operations can return.
VxiBackplaneEventType Specifies the available events on the VxiBackplane object.
VxiCommandMode Specifies the command mode that you can use in CommandQuery.
VxiDeviceClass Specifies the type of VXI device classes that you can use with DeviceClass.
VxiInterrupt Defines the VXI interrupt that you can use with AssertInterrupt.
VxiSessionEventType Specifies the available events on the VxiSession object.
VxiUtilitySignal Defines the VXI utility signal that you can use AssertUtilitySignal to assert.
WireMode Defines the wire mode that you can use with WireMode.

WAS THIS ARTICLE HELPFUL?

Not Helpful