LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX communicates fine with GPIB Instrument, LV Standalone Exe Front Panel Control Does Not See It.

I have succesfully created a LV standalone EXE which communicated with external GPIB instruments.  I used LV 7.1 for this.  I upgraded DAQMx to 8.0 on the development machine and also the target which runs the Exe.  The EXe runs fine on the development machine but when run on the target laptop, the front panel control fails to see the GPIB instrument.  On the target, in MAX I  successfully setup communication with the GPIB instrument.  Is there some incompatibilty with DAQMx 8.0 and LV7.1?   An additional piece of info here: when upgrading to DAQMx 8.0, I selected the installation support for LV 7, 7.1 and also 8.  Could this be where the problem lies? 
 
Thanks
Peter
0 Kudos
Message 1 of 6
(3,021 Views)
Hi Peter,

Could you post your GPIB code so that we try to reproduce this issue ?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 6
(3,012 Views)

Did you also install VISA on the target machine? DAQmx should have no relationship to GPIB instruments. When MAX detects an instrument, it does not use VISA to communicate but obviously, a VISA Resource Name control does. Check your software listing in MAX to see if it's there and wheat version.

0 Kudos
Message 3 of 6
(3,005 Views)

The GPIB code is actually an IVI driver made for a Rhode and Schwarz TRMS meter.  Its the standard VISA Read/Write, nothing out of the ordinary.  I'm using a USB-GPIB-HS adapter to communicate with it.  Like I mentioned, the VISA instrument control drop down list on the front panel of the Exe does not list any GPIB instruments,  all that is listed is ASRL...1, ASRL...4, and ASRL...10.  In the EXE that used to work, there were no ASRL... references listed.  What was listed was the GPIB0...INSTR...20, COM1, and the parallel port.  So something weird is going on now, somehow effected with the load of DAQMx 8.0.

Pete.

0 Kudos
Message 4 of 6
(3,002 Views)

When creation of the standalone exe, in the Installer options, I made sure and selected Serial Port support and also Port I/O Support.  I'm assuming this then installs VISA on the target machine. 

0 Kudos
Message 5 of 6
(2,999 Views)
It only installs the VISA serial support - that's why the option is called serial support.Smiley Wink Port I/O is for the functions on the Advanced>Port I/O palette. You could have installed VISA when you installed the driver for the USB-488. I don't think VISA gets installed automatically, only NI-488.
0 Kudos
Message 6 of 6
(2,995 Views)