GPIB 488.2 Functions and VISA Functions

The following table maps GPIB 488.2 functions to the equivalent VISA Functions.

Table 3. GPIB 488.2 Functions and VISA Functions
GPIB Action GPIB Function VISA Action VISA Function
LabVIEW LabVIEW NXG Inputs Outputs LabVIEW NXG Inputs Outputs
AllSpoll 1378 1378
  • bus
  • address list
  • serial poll byte list
  • status
  • byte count
VISA Read STB1 1378
  • session in (Instrument)
  • session out
  • status byte
DevClear 1378 1378
  • bus
  • address
  • status
VISA Clear 1378
  • session in (Instrument)
  • session out
DevClearList 1378 1378
  • bus
  • address list
  • status
VISA Clear1 1378
  • session in (Instrument)
  • session out
EnableLocal 1378 1378
  • bus
  • address list
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    MTA0,

    UNListen,

    MLA1,

    MLA2,

    MLA3,

    GTL

    Description—Make GPIB Board Interface 0 to be the Talker, issue UNListen, make three Listeners at Address 1, 2, and 3, then issue Go To Local

  • session out
  • return count
EnableRemote 1378 1378
  • bus
  • address list
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    MTA0,

    UNListen,

    MLA1,

    MLA2,

    MLA3

    Description—Make GPIB Board Interface 0 to be the Talker, issue UNListen, then make three Listeners at Address 1, 2, and 3

  • session out
FindLstn 1378 1378
  • bus
  • address list
  • limit
  • listener address list
  • status
  • number of listeners
VISA Find Resource 1378
  • expression: example—

    To scan for all the Instruments connected to the GPIB Interface Board 0, use a regular expression "GPIB0::?*INSTR"; alternatively, set up an array of addresses and loop through them
  • return aliases if available
  • found resources
FindRQS 1378 1378
  • bus
  • address list
  • requester status byte
  • status
  • requester index
VISA Read STB1 1378
  • session in (Instrument)
  • session out
  • status byte
MakeAddr 1378 1378
  • primary address
  • secondary address
  • packed address
Use the primary and secondary addresses with the session in
  • Session in: format to use—GPIB[board]::primary address[::secondary address][::INSTR]

    Optional string segments are shown in square brackets ([ ])

PassControl 1378 1378
  • bus
  • address
  • status
VISA GPIB Pass Control 1378
  • session in (GPIB Board Interface)
  • primary address
  • secondary address
  • session out
PPoll 1378 1378
  • bus
  • parallel poll byte
  • status
VISA action does not support Parallel Poll calls
PPollConfig 1378 1378
  • bus
  • address
  • dataline
  • sense
  • status
VISA action does not support Parallel Poll calls
PPollUnconfig 1378 1378
  • bus
  • address list
  • status
VISA action does not support Parallel Poll calls
RcvRespMsg 1378 1378
  • bus
  • mode
  • count
  • data string
  • status
  • byte count
VISA Read (use VISA GPIB Send Command first—refer to ReceiveSetup) 1378
  • session in (GPIB Board Interface)
  • byte count
  • session out
  • read buffer
ReadStatus 1378 1378
  • bus
  • address
  • serial poll response
VISA Read STB 1378
  • session in (Instrument)
  • session out
  • status byte
Receive 1378 1378
  • bus
  • address
  • mode
  • count
  • data string
  • status
  • byte count
VISA Read 1378
  • session in (GPIB Board Interface, Instrument)
  • byte count
  • session out
  • read buffer
ReceiveSetup 1378 1378
  • bus
  • address
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    UNListen,

    MLA0,

    MTA3

    Description—Issue UNListen, make GPIB Board Interface 0 to be the Listener, then make Instrument at Address 3 to be the Talker

  • session out
ResetSys 1378 1378
  • bus
  • address list
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    DCL,

    MTA0,

    UNListen,

    MLA1,

    MLA2,

    MLA3

    Description—Issue Device Clear, make GPIB Board Interface 0 to be the Talker, issue UNListen, then make three Listeners at Address 1, 2, and 3

  • session out
VISA Write 1378
  • session in (GPIB Board Interface, Instrument)
  • write buffer: "*RST\n"
  • session out
  • return count
Send 1378 1378
  • bus
  • address
  • mode
  • data string
  • status
  • byte count
VISA Write 1378
  • session in (GPIB Board Interface, Instrument)
  • write buffer
  • session out
  • return count
SendCmds 1378 1378
  • bus
  • command string (refer to the IEEE 488 Command Messages table for the command strings)
  • status
  • byte count
VISA GPIB Send Command 1378
  • session in (GPIB Board Interface)
  • command (refer to the IEEE 488 Command Messages table for the command strings)
  • session out
  • return count
SendDataBytes 1378 1378
  • bus
  • mode
  • data string
  • status
  • byte count
VISA Write (use VISA GPIB Send Command first—refer to SendSetup) 1378
  • session in (GPIB Board Interface)
  • write buffer
  • session out
  • return count
SendIFC 1378 1378
  • bus
  • status
VISA GPIB Send Interface Clear 1378
  • session in (GPIB Board Interface)
  • session out
SendList 1378 1378
  • bus
  • address list
  • mode
  • data string
  • status
  • byte count
VISA Write1 1378
  • session in (GPIB Board Interface, Instrument)
  • write buffer
  • session out
  • return count
SendLLO 1378 1378
  • bus
  • status
VISA Send Remote Local Command 1378
  • session in (GPIB Board Interface)
  • mode:
    • Local Lockout (Addressed Devices)
    • Local
    • Local without Lockout
  • session out
SendSetup 1378 1378
  • bus
  • address list
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    MTA0,

    UNListen,

    MLA3

    Description—Make GPIB Board Interface 0 to be the Talker, issue UNListen, then make Instrument at Address 3 to be the Listener

  • session out
SetRWLS 1378 1378
  • bus
  • address list
  • status
VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings) 1378
  • session in (GPIB Board Interface)
  • command:

    example—

    MTA0,

    UNListen,

    MLA1,

    MLA2,

    MLA3,

    LLO

    Description—Make GPIB Board Interface 0 to be the Talker, issue UNListen, make 3 Listeners at Address 1, 2, and 3, then issue Local Lockout

  • session out
SetTimeOut 1378 1378
  • new timeout
  • previous timeout
VISA Property 1378
  • session in (GPIB Board Interface, Instrument)
  • Timeout
    To get or set property—
    • GPIB Board Interface»General Settings»Timeout Value
    • Instrument»General Settings»Timeout Value
  • session out
TestSRQ 1378 1378
  • bus
  • SRQ
  • status
VISA Property 1378
  • session in (GPIB Board Interface)
  • SRQ State

    To get property— GPIB Board Interface»GPIB Settings»Line SRQ State

  • session out
TestSys 1378 1378
  • bus
  • address list
  • result list
  • status
  • failed devices
VISA Write1 1378
  • session in (GPIB Board Interface, Instrument)
  • write buffer: "TST?\n"
  • session out
  • return count
VISA Read1 1378
  • session in (GPIB Board Interface, Instrument)
  • byte count
  • session out
  • read buffer
Trigger 1378 1378
  • bus
  • address
  • status
VISA Software Trigger 1378
  • session in (GPIB Board Interface, Instrument)
  • session out
TriggerList 1378 1378
  • bus
  • address list
  • status
VISA Software Trigger1 1378
  • session in (GPIB Board Interface, Instrument)
  • session out
WaitSRQ 1378 1378
  • bus
  • SRQ
  • status
VISA Wait on Event 1378
  • wait timeout
  • session in (GPIB Board Interface, Instrument)
  • event type in: Service Request
  • session out
  • event type out
  • event out
1For GPIB functions that take an address list, to set up the equivalent functionality in VISA, set up an array of addresses and use a loop to cycle through the VISA function.