List of VISA Functions

This version of the IO Libraries Suite supports Windows and Linux. Available utilities, APIs, help files and features vary by operating system. Variations are flagged in help with these icons:  for Windows and for Linux.

This lists show VISA functions implemented by Keysight VISA grouped by type and flagged or for which operating system (OS) they are supported in. An asterisk (*) indicates there may be limited support depending on the operating system.

The data types for the VISA function parameters (for example, ViSession) are defined in the VISA declarations file.

Function

OS

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 Services

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

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

viVPrintf

Convert, format, and send parameters to a device

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

viIn8Ex

Read 8-bit value from memory space (extended to support 64-bit offset).

viIn16Ex

Read 16-bit value from memory space (extended to support 64-bit offset).

viIn32Ex

Read 32-bit value from memory space (extended to support 64-bit offset).

viIn64Ex

Read 64-bit value from memory space (extended to support 64-bit offset).

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 (extended to support 64-bit offset).

viMoveAsync

Move data from source to destination asynchronously

viMoveAsyncEx

Move a block of data asynchronously (extended to support 64-bit offset).

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

viMoveIn8Ex

Move 8-bit value from device memory to local memory (extended to support 64-bit offset).

viMoveIn16Ex

Move 16-bit value from device memory to local memory (extended to support 64-bit offset).

viMoveIn32Ex

Move 32-bit value from device memory to local memory (extended to support 64-bit offset).

viMoveIn64Ex

Move 64-bit value from device memory to local memory (extended to support 64-bit offset).

viMoveOut8 Move 8-bit value from local memory to device memory

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 8-bit value from local memory to device memory (extended to support 64-bit offset).

viMoveOut16EX

Move 16-bit value from local memory to device memory (extended to support 64-bit offset).

viMoveOut32EX

Move 32-bit value from local memory to device memory (extended to support 64-bit offset).

viMoveOut64EX

Move 64-bit value from local memory to device memory (extended to support 64-bit offset).

viMapAddress

Map memory space

viMapAddressEx

Map memory space (extended to support 64-bit offset).

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

 

 

PXI Specific Services

viPxiReserveTriggers

Reserve multiple trigger lines that the caller can then map and/or assert

 

 

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