08-19-2013 05:36 AM - edited 08-19-2013 05:39 AM
Hi,
I think I have a problem with Labview.
At the start, all work correctly. But if I unplug the GPIB connector and replug it later, labview "freeze" at "GPIB Read".
Nothing happen, and I can't stop the process (the "start" button stay black, wathever I do)
The only solution is to close the VI and reload it.
But when I do this, a message appear "Name of the VI: Resetting VI", and it stay forever . . .
At this point, I must restart Labview by the task manager. And when I restart it, all work properly again.
But sadly, I can't restart Labview again and again (some problems with my network, and the license is on it), so that why I'm here.
I almost forgot: The problem don't come from the GPIB's hardware connection because NI MAX work properly (I can scan for intruments and communicate with them)
Since English is not my native langage, I may have done some errors, sorry about that.
Thank you for your help !
PS: I use a GPIB-USB-HS connector, and the problem happen with a dozen of instruments, that's why I really think the problem might came from Labview (or from me of course).
I'm also using the NI 488.2 v3.1.1 driver.
08-19-2013 06:06 AM
hi
is it possible to see the VI? You may be caught in an infinite loop but it's impossible to say without seing the code.
08-19-2013 07:38 AM
What exactly do you mean by "unplug the GPIB connector"? Are you referring to the USB connector? If so, what you are doing is causing all of the references to the hardware that your VI has setup invalid. This is one of the reasons I avoid USB GPIB.