Table Of Contents

GPIB 488.2 Functions and VISA Functions

Version:
    Last Modified: May 17, 2017

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

    Table 1. 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
    • bus
    • address list
    • serial poll byte list
    • status
    • byte count
    VISA Read STB1
    • session in (Instrument)
    • session out
    • status byte
    DevClear
    • bus
    • address
    • status
    VISA Clear
    • session in (Instrument)
    • session out
    DevClearList
    • bus
    • address list
    • status
    VISA Clear1
    • session in (Instrument)
    • session out
    EnableLocal
    • bus
    • address list
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: example—make GPIB Interface 0 to be the Talker, issue UNListen, make three Listeners at Address 1, 2, and 3, then issue Go To Local:

      MTA0

      UNL

      MLA1

      MLA2

      MLA3

      GTL

    • session out
    • return count
    EnableRemote
    • bus
    • address list
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: example—make GPIB Interface 0 to be the Talker, issue UNListen, then make three Listeners at Address 1, 2, and 3:

      MTA0

      UNL

      MLA1

      MLA2

      MLA3

    • session out
    FindLstn
    • bus
    • address list
    • limit
    • listener address list
    • status
    • number of listeners
    VISA Find Resource
    • 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
    • bus
    • address list
    • requester status byte
    • status
    • requester index
    VISA Read STB1
    • session in (Instrument)
    • session out
    • status byte
    MakeAddr
    • 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
    • bus
    • address
    • status
    VISA GPIB Pass Control
    • session in (GPIB Board Interface)
    • primary address
    • secondary address
    • session out
    PPoll
    • bus
    • parallel poll byte
    • status
    VISA action does not support Parallel Poll calls
    PPollConfig
    • bus
    • address
    • dataline
    • sense
    • status
    VISA action does not support Parallel Poll calls
    PPollUnconfig
    • bus
    • address list
    • status
    VISA action does not support Parallel Poll calls
    RcvRespMsg
    • bus
    • mode
    • count
    • data string
    • status
    • byte count
    VISA Read (use VISA GPIB Send Command first—refer to ReceiveSetup)
    • session in (GPIB Board Interface)
    • byte count
    • session out
    • read buffer
    ReadStatus
    • bus
    • address
    • serial poll response
    VISA Read STB
    • session in (Instrument)
    • session out
    • status byte
    Receive
    • bus
    • address
    • mode
    • count
    • data string
    • status
    • byte count
    VISA Read
    • session in
    • byte count
    • session out
    • read buffer
    ReceiveSetup
    • bus
    • address
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: make the Instrument to be the Talker and GPIB Board Interface to be the Listener
    • session out
    ResetSys
    • bus
    • address list
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: example—issue Device Clear, make GPIB Interface 0 to be the Talker, issue UNListen, then make three Listeners at Address 1, 2, and 3:

      DCL

      MTA0

      UNL

      MLA1

      MLA2

      MLA3

    • session out
    VISA Write
    • session in
    • write buffer: "*RST\n"
    • session out
    • return count
    Send
    • bus
    • address
    • mode
    • data string
    • status
    • byte count
    VISA Write
    • session in
    • write buffer
    • session out
    • return count
    SendCmds
    • bus
    • command string (refer to the IEEE 488 Command Messages table for the command strings)
    • status
    • byte count
    VISA GPIB Send Command
    • session in (GPIB Board Interface)
    • command (refer to the IEEE 488 Command Messages table for the command strings)
    • session out
    • return count
    SendDataBytes
    • bus
    • mode
    • data string
    • status
    • byte count
    VISA Write (use VISA GPIB Send Command first—refer to SendSetup)
    • session in (GPIB Board Interface)
    • write buffer
    • session out
    • return count
    SendIFC
    • bus
    • status
    VISA GPIB Send Interface Clear
    • session in (GPIB Board Interface)
    • session out
    SendList
    • bus
    • address list
    • mode
    • data string
    • status
    • byte count
    VISA Write1
    • session in
    • write buffer
    • session out
    • return count
    SendLLO
    • bus
    • status
    VISA Send Remote Local Command
    • session in (GPIB Board Interface)
    • mode:
      • Local Lockout (Addressed Devices)
      • Local
      • Local without Lockout
    • session out
    SendSetup
    • bus
    • address list
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: Make GPIB Board Interface to be the Talker and the Instruments to be Listeners
    • session out
    SetRWLS
    • bus
    • address list
    • status
    VISA GPIB Send Command (refer to the IEEE 488 Command Messages table for the command strings)
    • session in (GPIB Board Interface)
    • command: example—Make GPIB Interface 0 to be the Talker, issue UNListen, make three Listeners at Address 1, 2, and 3, then issue Local Lockout:

      MTA0

      UNL

      MLA1

      MLA2

      MLA3

      LLO

    • session out
    SetTimeOut
    • new timeout
    • previous timeout
    VISA Property
    • session in
    • Timeout
    • session out
    TestSRQ
    • bus
    • SRQ
    • status
    VISA Property
    • session in (GPIB Board Interface)
    • SRQ State
    • session out
    TestSys
    • bus
    • address list
    • result list
    • status
    • failed devices
    VISA action does not support this call
    Trigger
    • bus
    • address
    • status
    VISA Software Trigger
    • session in
    • session out
    TriggerList
    • bus
    • address list
    • status
    VISA Software Trigger1
    • session in
    • session out
    WaitSRQ
    • bus
    • SRQ
    • status
    VISA Wait on Event
    • wait timeout
    • session in
    • 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.

    Recently Viewed Topics