Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Progamming a GPIB using visa questions.

How do you perform the following tasks using the visa libraries:
- a gpib bus abort
Terminate all activity on the bus.
Make the system controller the active
controller.
Return all devices on the bus to their local
state.
- a gpib bus interface clear
Clear the addressed interface and discards the
data in both the read and write formatted I/O
buffers.
- set a gpib device in local mode
- set a gpib bus and all the attached devices in
remote mode
- reset a gpib bus
0 Kudos
Message 1 of 2
(3,238 Views)
It sounds like what you want to do is board-level (or interface-level) GPIB programming. The appropriate resource class in LabVIEW is GPIB BoardInterface and the resource string is "GPIB::INTFC".

The VI's you want to use are VISA GPIB Send IFC and VISA GPIB Control REN and VISA GPIB Command. For the last one, you just wire the low-level GPIB command string (aka multiline interface message) that includes command bytes for things like LLO and GTL. Note that these are 488.1 level calls. The 488.2 level calls are not supported in VISA since they are easily reproduced on top of the 488.1 calls.

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 2 of 2
(3,239 Views)