LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mystery disappearing GPIB?

Hello! I have a VI in which quite a few commands are sent to various GPIB devices through VISA calls. Each call opens a device, either reads or writes, then is wired to 'clear errors' or an error handler. This is the latest in a series of such programs which are all working fine with the rack of GPIB kit they talk to. Well, this latest VI begins erroring at a certain point. All VISA calls past a specific point in the program give "device not found" errors even though the same devices have been called successfully earlier in the program. The GPIB circuit seems fine. I've tried eliminating the offending part of the program completely and still, past a point on the block diagram, i get these mysterious errors.

Timing doesn't seem to be t
he problem since it fails even when stepping slowly through the diagram.

The programs are translated from HP-BASIC, and the original BASIC program works fine sending the same commands exactly.

First just wondering if anyone might have heard of such behaviour, before I post the VI here. It's a bit chunky and needs a few sub-VI's.

Cheers, Nick

PS Can a GPIB device mess up the whole GPIB circuit if something goes wrong? If so that might explain it.
0 Kudos
Message 1 of 2
(2,364 Views)
> All VISA calls past a specific point in the
> program give "device not found" errors

I assume that the LabVIEW wires are connected properly?

> Can a GPIB device mess up the whole GPIB circuit if something goes wrong?

Anything is possible. 🙂
Are you doing any Pass-Control operations, or any
other "fancy stuff", or just simple send/receive?

While it's hung, can you use NI MAX (or Agilent VISA
Assistant, if you are using Agilent VISA)?

What do you have to do to regain communication?
If you simply re-run the program, I would suspect
a programming error.

Les.Hammer@CompleteTest.com
0 Kudos
Message 2 of 2
(2,364 Views)