Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i develop a labview 7 vi to simulate the following HP Basic code: SEND 7;UNL TALK 1 LISTEN 7 DATA

The basic code is used with gpib to cause the gpib card to unlisten then tell the instrument to talk and the printer to listen before sending a copy command to dump the graphics of an HP4194A analyzer.
0 Kudos
Message 1 of 6
(4,366 Views)
x0y1z2,

I've attached a LabVIEW 7.0 example illustrating the use of low-level GPIB commands. This program unlistens all instruments, sets up intrument 7 as a listener, instrument 1 as a talker, and then sends a command to instrument 1. Hopefully this is helpful to you.

Alan L.
National Instruments
Applications Engineering
0 Kudos
Message 2 of 6
(4,366 Views)
Thanks Alan!! Im aware of the gpib low level commands but the problem here is with substituting the HP basic to the low level command set. In order to do a display dump or use their 'COPY' command I have to be able to put the instrument in a 'TALK ONLY' mode which is accomplished with the HP Basic command: SEND 7;UNL TALK 1 LISTEN 7 DATA.... where as you know 7 is the gpib board, 1 is the instrument talking and 7 the printer/plotter listening... DATA sends the expression value as data bytes according to HP. When running your vi the instrument goes into talk mode but NOT TALK ONLY mode which is different. There must be some differences when using the TALK and LISTEN commands with HP and gpib low level commands. Any ideas?!?!?
0 Kudos
Message 3 of 6
(4,366 Views)
I believe the command you are looking for is specific to your instrument. Most likely you can use a GPIB Write (or VISA Write) to send the appropriate message directly to it. Please consult your manual. I hope this is helpful.

-Alan
0 Kudos
Message 4 of 6
(4,366 Views)
There is no instrument specific gpib command to do this.
0 Kudos
Message 5 of 6
(4,366 Views)
x0y1z2,

Take a look at this link: http://zone.ni.com/devzone/conceptd.nsf/webmain/1D4F87E081CB457B8625680400647625?opendocument

The document describes how to put an interface board into talk-only or listen-only mode. This may be of help to you.
0 Kudos
Message 6 of 6
(4,366 Views)