Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visa 4.5.1 download

I looked at the visa compatability chart http://digital.ni.com/public.nsf/allkb/E7C93038169B6E7686257847004B8B9C and it says 4.5.1 works with 8 and 2009.  The reason is an existing executable written in 8 that I have not found the source code for so far uses visa 2.6.  A program I just wrote in 2009 need to go on the same machine and I would like to keep both programs happy.

 

Is the data socket server included with the Visa download?

0 Kudos
Message 1 of 6
(3,910 Views)

I don't think I actually need the datasocket server because I am using an OPC CE server to get data from a PLC. 

 

Do I still need to install the Visa Drivers eventhough I am using ethernet?   

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

Hi Bryan,

 

Yes, if your exe uses VISA you will need VISA drivers installed on the computer the exe is being ran on.

 

What commands are you sending to communicate with the PLC?

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

I am binding some controls and indicators to an OPC server using datasocket over ethernet.  Mostly booleans as indicators/controls and some numeric indicators.  I can get the exe to work on my development machine with no problems, but I am not sure if I need to install anything besides the runtime on the machine running the exe.

 

I only get the target machine for an hour every now and then because of other people using it.  So I have to get time to finish installing/troubleshooting everything.

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

Hi Bryan,

 

Let me know how it goes!

Also, have you considered building an installer instead of just the exe? When you create the installer, you can include the VISA and Datasocket components needed to run the executable.

0 Kudos
Message 5 of 6
(3,867 Views)

I tried that first thinking that it would turn the vi into an exe, but it just put the vi into a directory.  So I made the vi into an exe and put it on the target machine.  Maybe I will try again.

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