LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 Compiled EXE does not work on a non development PC, with Ni-Visa

Solved!
Go to solution

I have the Laview 8.2 Professional development program using project to compile to EXE. However, the Apps work on my development machine but not others. Your document that talks about Non-admin is pointing to what I think is correct. But I need more info. Do I need to reinstall after I am granted Admin rights for the config to show the *.ini file that will allow the incorporation during the compile process? Also, Does it matter if the target machine has Admin or not?

Thanks in advance.

 

0 Kudos
Message 1 of 7
(4,414 Views)

Did you create an installer for your exe and include VISA runtime support and then use the installer to load onto your target PC's?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 7
(4,403 Views)
Yes, I checked to include ni-visa runtime 4.0 and Labview runtime 8.2. I have just made the changes on permissions to everyone in the regedit under NI as suggested. Restarted the machine, opened my Project, refreshed the Dependences before compiling the exe. The next step, I compiled the install with the two runtime listed above. Now I am in the process of installing the program again on another machine to try it out. Have I missed anthing?
0 Kudos
Message 3 of 7
(4,394 Views)

I think you don't have to reinstall it. As long as a user has access to a serial port, Labview will recognize it.

Some problems have been reported from time to time (Although i never had)

... be sure that you have the latest VISA drivers installed

 

edit : try the latest drivers

Message Edited by Pnt on 01-30-2009 09:04 PM
0 Kudos
Message 4 of 7
(4,392 Views)

I remeber having troubles like this when deploying apps compiled in LV 8.2

 

Try installing the NI-VISA and LV runtimes seperately, and get the latest VISA from NI website.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 7
(4,375 Views)
Solution
Accepted by Tguiver

Hello,

 

I am not sure exactly which document you are referencing however you should rebuild the application after you have administrator access.

 

Also, yes it matters if the target machine has Admin, you will need admin to run the setup (if you created an installer) or executable (if you created an application).

With warm regards,

David D.
Message 6 of 7
(4,349 Views)
Admin level for the install was and is a must do! However, the application is on a secure net and also needed to be on power user level. so to get this to work we had to set the permission to the system32 directory in windows. Also, the Registry Key under National had to be set as a document in Labiew knowledge base instucts.
Message 7 of 7
(4,278 Views)