Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error with VISA OPEN over ethernet when Program runs from Installer

I am communicating to a Tek scope model 3032B over ethernet.  When I create the installer and put it on certain computers that do not have Lab View installed in it when the program calls VISA OPEN I get the following error:

 

Error-1073807343 occurred at VISA Open

 

VISA: In sufficient location information or the device or resource is not present in the system.

 

 

In my installer includes the 8.5.1 Runtime Engine, NI-VISA Runtime 4.3.  I also set the computers up with a fixed IP address

My VISA open command uses the following format "TCIP::192.168.206.30::INSTR".  I do not create a socket or use MAX to set up communication to the scope.

 

My questions are am I missing something in the installer that will cause this error?  Do I need to set up the computer in some way for this to work?

0 Kudos
Message 1 of 5
(3,866 Views)
did you see the resource input to VISA open on EXE? what is says? tried to ping the scope from the computer? did that give any response? can you poast the block of code you are using there...
Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 2 of 5
(3,864 Views)
Use VISA interactive control tool and see whether you can communicate with scope or not.......
Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 3 of 5
(3,862 Views)

I do not know what you mean by "did you see the resource input to VISA open on EXE? what is says?"

 

I tried to ping it from the computer and it does not seem to be working.  I am how ever allowed to ping it from a computer that the installer works correctly on.  Is this implying that the problem is an issue with the computer settings over the network?

 

This is my first time posting and im not sure how to post my code.

 

 

ANDY

 

0 Kudos
Message 4 of 5
(3,860 Views)

you can use VISA interactive control tool  that gets installed with VISA driver to see whether the problem is in communicating with the scope. but you already found that you could not ping scope, so there is something wrong in communicating with the scope. because of this reason, VISA Open will not be getting the correct resource name to it and it is unable to open.

 

what i mean by "did you see the resource input to VISA open on EXE?" is....create an EXE that can display the GUI of the VI where you are trying to connect to scope and see the resource name that is being given to VISA Open.

Anil Punnam
CLD
LV 2012, TestStand 4.2..........
0 Kudos
Message 5 of 5
(3,854 Views)