List of VISA Functions

Agilent VISA.NET

List of VISA Functions

This lists show VISA functions implemented by Agilent VISA grouped by type. The data types for the VISA function parameters (for example, ViSession, etc.) are defined in the VISA declarations file.

Function

Usage

 

Opening/Closing Sessions

viOpenDefaultRM

Open default RM session

viOpen

Open session

viClose

Close session

 

Control

viAssertTrigger

Assert software or hardware trigger

viAssertUtilSignal

Asserts the specified utility bus signal

viGetAttribute

Get attribute

viMemAlloc

Allocate memory from a device’s memory region

viMemAllocEx

Allocate memory from a device’s memory region

viMemFree

Free memory previously allocated using viMemAlloc() or viMemAllocEx().

viMemFreeEx

Free memory previously allocated using viMemAlloc() or viMemAllocEx().

viSetAttribute

Set attribute

viStatusDesc

Get status code description

viTerminate

Terminate asynchronous operation

viLock

Lock resource

viUnlock

Unlock resource

viMapTrigger

Map trigger source line to destination line

viUnmapTrigger

Map trigger line to another trigger line

 

Event Handling/Interrupts

viAssertIntrSignal

Asserts the specified device interrupt or signal

viEnableEvent

Enable event

viDisableEvent

Disable event

viDiscardEvents

Discard events

viWaitOnEvent

Wait on event

viInstallHandler

Install handler

viUninstallHandler

Uninstall handler

viEventHandler

Event handler prototype

 

VXI Specific Series

viVxiCommandQuery

Send device a command/query and/o retrieve a response

 

Searching

viFindRsrc

Find device

viFindNext

Find next device

viParseRsrc

Parse resource string to get interface information

viParseRsrcEx

Parse resource string to get extended interface information

 

Basic I/O

viRead

Read data from device

viWrite

Write data to device

viReadAsync

Read data asynchronously from device

viWriteAsync

Write data asynchronously to device

viClear

Clear a device

viReadToFile

Read data synchronously and store data in file

viWriteFromFile

Write data from file synchronously

viAssertTrigger

Assert software/hardware trigger

viReadSTB

Read status byte

 

Formatted I/O

viSetBuf

Set size of buffer

viBufRead

Unformatted read to formatted I/O buffers

viBufWrite

Unformatted write to formatted I/O buffers

viFlush

Flush read and write buffers

viPrintf

Convert, format, and send parameters to a device

viSPrintf

Write data to a buffer

viVSPrintf

Convert, format, and send parameters to a buffer

viScanf

Receive data from device, format and store data

viVScanf

Receive data from device, format and store data

viSScanf

Receive data from buffer, format and store data

viVSScanf

Receive data from buffer, format and store data

viQueryf

Formatted write and read operation

viVQueryf

Formatted write and read operation

 

Memory I/O

viIn8

Read 8-bit value from memory space

viIn16

Read 16-bit value from memory space

viIn32

Read 32-bit value from memory space

viIn64

Read 64-bit value from memory space

viOut8

Write 8-bit value to memory space

viOut16

Write 16-bit value to memory space

viOut32

Write 32-bit value to memory space

viOut64

Write 64-bit value to memory space

viMove

Move data from source to destination

viMoveEx

Move a block of data

viMoveAsync

Move data from source to destination asynchronously

viMoveAsyncEx

Move a block of data asynchronously.

viMoveIn8

Move 8-bit value from device memory to local memory

viMoveIn16

Move 16-bit value from device memory to local memory

viMoveIn32

Move 32-bit value from device memory to local memory

viMoveIn64

Move 64-bit value from device memory to local memory

viMoveOut8

Move 8-bit value from local memory to device memory

viMoveIn8Ex

Move a block of data from the specified address space and offset to local memory in increments of 8 bits.

viMoveIn16Ex

Move a block of data from the specified address space and offset to local memory in increments of 16 bits.

viMoveIn32Ex

Move a block of data from the specified address space and offset to local memory in increments of 32 bits.

viMoveIn64Ex

Move a block of data from the specified address space and offset to local memory in increments of 64 bits.

viMoveOut16

Move 16-bit value from local memory to device memory

viMoveOut32

Move 32-bit value from local memory to device memory

viMoveOut64

Move 64-bit value from local memory to device memory

viMoveOut8EX

Move a block of data from local memory to the specified address space and offset in increments of 8 bits.

viMoveOut16EX

Move a block of data from local memory to the specified address space and offset in increments of 16 bits.

viMoveOut32EX

Move a block of data from local memory to the specified address space and offset in increments of 32 bits.

viMoveOut64EX

Move a block of data from local memory to the specified address space and offset in increments of 64 bits.

viMapAddress

Map memory space

viMapAddressEx

Map memory space

viUnmapAddress

Unmap memory space

viPeek8

Read 8-bit value from address

viPeek16

Read 16-bit value from address

viPeek32

Read 32-bit value from address

viPeek64

Read 64-bit value from address

viPoke8

Write 8-bit value to address

viPoke16

Write 16-bit value to address

viPoke32

Write 32-bit value to address

viPoke64

Write 64-bit value to address

 

Interface Specific Services

viGpibControlREN

Control GPIB REN interface line

viGpibControlATN

Control GPIB ATN interface line

viGpibCommand

Write GPIB command bytes on the bus

viGpibPassControl

Tell GPIB device to become Controller in Charge (CIC)

viGpibSendIFC

Pulse Interface Clear (IFC) line

 

USB Specific Services

viUsbControlIn

Request arbitrary data from the USB device on the control port

viUsbControlOut

Send arbitrary data to the USB device on the control port