LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB read problem after repluging the connector

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.

0 Kudos
Message 1 of 3
(2,380 Views)

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.

Giuliano Franchetto
Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
0 Kudos
Message 2 of 3
(2,368 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,357 Views)