LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview crash detecting GPIB USB HS device

Hello all,

 

We are using Labview 2017, 32 bit version for a test project that includes several instruments, some of which use VISA commands for communication, these devices include:

Tektronix Function Generators (either 3K or 31K family, only 1 connected at a time) - USB device

PhoXx laser - uses the instrument library supplies by PhoXx - Serial Comm port

 

We also detect a Struck sis3153 Card using DLL supplied by Struck, this is a USB device

Lastly, we detect a DAQ Power Supply using DAQmx

 

We recently added code to detect an Agilent Pulse Generator (81130A) which is connected via a GPIB cable/device

 

The order of device detection is:

DAQ PS

3K family Function Generator

PhoXx laser

Agilent 81130A

Struck sis3153

 

After adding the Pulse Generator detection, we started experiencing LV crashes if we retry detection of all instruments with the sis3153 powered down.  A typical test is to attempt detection of all devices with the sis3153 powered up, then turn it off and attempt detection again.  This works fine in previous versions of this application that do not include the Pulse Generator

 

I am including the VI that detects the Pulse Generator.  The LV crash occurs when VISA Open is called (in the PG_81130A_Detect.vi).  The VISA resource name we pass in is the one we get for Find Resources.

FIsrael_0-1693428304830.png

 

My hope is that you might be able to suggest a better way of detecting of the GPIB device or possibly tell me reasons that VISA open might cause a crash.  Please note, there are no errors on the error in when VISA Open is called

 

Thanks!

0 Kudos
Message 1 of 2
(689 Views)

Could you describe exactly what the "crash" is?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 2
(663 Views)