Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make my LabWindows CVI programme stand alone?

I have made a programme that communicates with a microcontroller through a serial link using the RS-232 command library,etc.
What I now want to do is to make my programme independent of LabWindows interface. I want to execute the programme in another similar machine but it doesn´t have LabWindows. I tried doing this by copying the whole directory of my programme files on to the new computer but when I tried executing it there it said that it didn´t find cvirte.dll file when I replaced the cvirte.dll file from the computer in which I had created the application the programme is now not running at all. When I try running the _dbg.exe file it just gives an error message.
Please suggest what can I do to make my
programme independent of the computer on which I developed it.
0 Kudos
Message 1 of 2
(3,583 Views)
CVI is a compiler, that is it can create executables that can run without the IDE interface. To obtain the executable you must do the following:

1. In the project window, select Build >> Configuration menu and select 'Release' option
2. Execute Build >> Create release executable function to create the .EXE file

To run the executable in the target machine, you must install the CVI Run-Time Engine on that machine. It is not possible simply to copy the cvirte.dll on the hard disk, since it must be registered in the system. To install it you can either:

1. Find the CVIRTE directory in the CVI installation disk and use SETUP.EXE to install it on the target machine, or
2. Use the Build >> Create Distribution Kit function in the project menu and sele
ct the correct 'Install Run-Time Engine' option.

Hope this helps
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,583 Views)