Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView and Agilent Visa

Hi,
I have written my program with LabView 7.1 using VISA Read/Write and SCPI commands. I will have to run it on a PC that has only Agilent VISA.
Is there something I will have to take care of when compiling my program to an executable and try to run it from there?
What are the drivers I will have to add in the compilation?
Regards
Y3G
0 Kudos
Message 1 of 5
(4,729 Views)
Hey Y3G,
 
First let me make sure I understand what you are trying to do.  You are using LabVIEW and Agilent's VISA driver to communicate to an Agilent piece of hardware.  It is working right now on your development computer, but your plan is to build an executable and run it on a different computer that does not have the full LV deveopment system? 
 
If this is the case, then you need to have the LV runtime engine, the agilent driver, and your executable on your target computer.  If you are using any other NI drivers, make sure you include those in the installer.  Let me know if this is what you need.
 
 
Scott G.
AE Specialist
National Instruments
0 Kudos
Message 2 of 5
(4,706 Views)

Thanks Scott,

Some clearance beforehand, I am developing  an application on my PC which is solely NI (Visa, LabView, 488.2 etc). The target PC has no LV but uses Agilent USB-GPIB to run internal Agilent controling SW,  they are using the Agilent-Visa.

 I am using in my application justSCPI-commands wired to a  VISA read/write instead the drivers of the AGILENT device.

I guess I will need only the LV runtime engine on the target PC and no NI-VISA nor NI-488.2. Am I correct?

Regards

Y3G

0 Kudos
Message 3 of 5
(4,698 Views)
Hi,
I am not shure if you will get happy with this combination. As far as i know: To use an agilent usb-gpib adaptor with Labview, you will need NI-Visa AND Agilent-VISA on the System, also MAX. I will quote myself from another post:


@Flocko 4040 wrote:
Hi,

The Agilent Visa and NI Visa should be able to exist side by side. First Install NI-Visa. Install the "Agilent IO Libary Suite" program afterwards with default settings. There should be an entry in the Agilent-main panel saying: "Agilent Visa is the secondary visa" Enable the Tulip passport. Now all commands for Visa in LabVIEW should be working for serial and GPIB. That's the way it is working with my computer and a Agilent USB-GPIB converter.





I have never tried it with my executables, but it should be the same. So you would need MAX and NI-VISA in your installation. And you would have to reinstall Agilent Visa.

Flocko4040
Message 4 of 5
(4,690 Views)

I think Flocko4040 is correct in his statement.  You will need the Agilent VISA to communicate through your Agilent card.  But you will also need any of the drivers that you are using in your LabVIEW coding.  So if you are using NI VISA VI's in your coding you will need the NI VISA driver.  If you were using the DAQmx driver (which you probably are not) then you would also need that runtime. 

Scott G.
AE Specialist
National Instruments
0 Kudos
Message 5 of 5
(4,682 Views)