LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lost connection to measurement & automation explorer

Once in a while Labview loses connection to Measurement & Automation Explorer so I'm unable to execute the "*IDN?" command to obtain my GPIB ID unless I manually open up Measurement & Automation Explorer then manually rescan for my instruments again then Labview will see it.  This is extremely cucumbersome if it has to be done manually.  So is there a better way to programmically forcing Measurement & Automation Explorer to rescan the instrument? 

 

Note:  If I click on VISA  -> Refresh, it always found attached devices by its addresses but it won't let me execute *IDN? query command once in a while.  This does not happen all the time.  Just at random unexpected time.  What worries me is my program is expected to run testing & evaluation for 2 months period, if this issue requires manual configuration then it becomes a big deal.

 

Thanks

0 Kudos
Message 1 of 2
(2,446 Views)
Why are you trying to control MAX from LabVIEW? You do not need to do this to communicate with instruments. Rescanning for instruments in MAX is also irrelevant as far as communicating to instruments from LabVIEW. What kind of GPIB controller are you using? It sounds to me like the problem is more likely to be there.
0 Kudos
Message 2 of 2
(2,434 Views)