Hi Diego,
Thanks for the clarifications. It looks like I have the right idea as far as the set up the VIs is concerned, however, I am a little confused as to the byte array part.
Is the byte array just a series of \[hex code] entities representing the multiline interface message I would like to send? Could I not just write the ASCII characters in a string constant and wire it to the command input?
For example,
Operation 1:
I want my LabVIEW program, which is on the computer with the GPIB card (GPIB0) to send data to the instrument (PAD of 1).
Operation 2:
Then have the instrument output the measurement when finished.
I have decided I need to address the GPIB0 as talker and the instrument as listener for Operation 1. Operation 2 will
require GPIB0 to be listener and the instrument to be talker.
To accomplish this, I send a string constant of _?@! before the VISA write and _? A before the VISA read.
_? will untalk and unlisten the bus and devices.
@ makes PAD 0 talker
! makes PAD 1 listener
(SP) makes PAD 0 listener
A makes PAD 1 talker
Is this correct?
Thanks for the confirmation,
Chris