09-25-2013 08:25 AM - edited 09-25-2013 08:26 AM
Hi guys,
I have created an executable (attached). On the pc on which I have created it, it works properly. When I go on another pc, despite I have installed the LVRTE 2012(the VI is done with lv2012), it seems that doesn't see the instrument....
where is the error?
Thank you
[code]http://speedy.sh/bxJeM/Driver-DSA1030A.exe[/code]
Solved! Go to Solution.
09-25-2013 08:28 AM
And what exactly is the error?
Does the exe start and report an error?
Norbert
09-25-2013 08:44 AM
Hi norbert. The exe start I'm able to click on each botton but when it should interrogate the instrument nothing happens...no error reported... but in my opinion there is no comunication with the instrument.
09-25-2013 08:51 AM
If you get no error reported, i guess that you dont have any error handling implemented.
Note: Executables automatically disable "Automatic Error Handling"
Possible reasons for instrument errors:
- Wrong ID, ID hard-coded
- Missing driver
- Incompatibel interface to instrument (RS232 vs. ethernet for instance where instrument ID is different)
- ...
Norbert
09-25-2013 08:56 AM
Do you have NI MAX (Measurement and Automation eXplorer) installed on this computer? If so, can you communicate with the instrument(s) using it? Are the other needed driver (VISA, etc.) How do you communicate with the instrument(s); GPIB, USB, Serial, LXI?
09-25-2013 09:08 AM
I'm using the usb.
So on the native computer (where I created the VI and the driver) it works fine on the other pc nothing.......
I was downloading the NIMAX to see what is wrong... I have a possible idea...the fact that in my VI I renamed the "Ip" of the instrument calling it "Rigol1030A" probably on the new pc it doesn't see it... dunno...
09-25-2013 09:20 AM
@s.turino84 wrote:
I was downloading the NIMAX to see what is wrong...
That sounds like missing drivers to me. MAX should be installed with almost any NI driver (VISA, DAQmx, 488.2).
09-25-2013 09:27 AM
Mmm well then something is not clear to me... If I want to launch an .exe on a PC on which I don't have labview installed I need both MAX and LVRTE?
09-25-2013 10:39 AM
You need the RunTime Engine and whatever drivers your program uses. Since you are performing instrument communication, you likely need VISA. So you need to have VISA installed on your deployment computer.
09-25-2013 11:19 AM
The easiest way to have all drivers that are needed installed, is to create in addition to the exe an installer.
That should include everything that is needed.
It will usually include also MAX which makes it huge (not suitable for a CD),
And of course, if you have names of the interface hardcoded in your vi. they must also exist in the new installation.
Gabi