LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run VI without GPIB card

Is there a way to run/debug a VI, with GPIB commands, on a computer
without a GPIB card? We have a limited number of computers connected
to instruments with GPIB. I want to debug the VI at my desk with no
GPIB.

Thanks in advance,
Mark Getbehead


Sent via Deja.com
http://www.deja.com/
0 Kudos
Message 1 of 3
(2,837 Views)
I do by installing the drivers needed to the PC without the GPIB card. You
obviously can't run any commands that would make request to the bus, but you
can work with the VI. If you need to run the VI and do some thing that might
make a GPIB call, I usually take the lowest level VI can work with and make a
dummy VI that returns some value that will not stop the program from executing
(i.e. none error value), then you can still check the running code. BUT beware,
you must remember to replace the temp VI with the actual one on your GPIB card
installed setup.

Henry
0 Kudos
Message 2 of 3
(2,837 Views)
What I've done goes a step further; write wrappers for all the low level
GPIB VIs you use. These wrappers read a global to determine if the GPIB
calls are to execute on the present machine or on a machine elsewhere on the
network (via VI server loading the wrapper VI on the remote machine). You
could also add a setting to make the wrappers simply return without doing
anything, but possibly more elegant would be to hook the instrument up to
one of your other machines and, without downtime on that other machine,
debug that one instrument from your desk PC across the network. As long as
you're not pushing the machine and the GPIB bus hard with either its "real"
work or your debugging everything should be fine.

Henry Coulter wrote in messa
ge
news:3A7898C7.590CC2DA@loxinfo.co.th...
> I do by installing the drivers needed to the PC without the GPIB card. You
> obviously can't run any commands that would make request to the bus, but
you
> can work with the VI. If you need to run the VI and do some thing that
might
> make a GPIB call, I usually take the lowest level VI can work with and
make a
> dummy VI that returns some value that will not stop the program from
executing
> (i.e. none error value), then you can still check the running code. BUT
beware,
> you must remember to replace the temp VI with the actual one on your GPIB
card
> installed setup.
>
> Henry
>
0 Kudos
Message 3 of 3
(2,837 Views)