LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to install exe of a vi on an XP machine without LV run-time and not have to restart?

Solved!
Go to solution

Hi,

 

I need to deploy an application that reads channels from a FP module for testing purposes. The problem is, I cannot restart the system I need to install this on because it is running critical control software which cannot be interrupted. The system does not have the labview run-time engine and I know installing this requires a restart of XP probably due to registering DLLs or something.

 

I'm using "Fieldpoint Network Read" to read from the module. The simple answer would be to simply install this on a machine on the same network that I can restart. However, I have no such luxury because I am connecting to the system in question over a long distance VPN connection and I need to be able to poll the data from the FP every 250ms which may be too much for the connection. 

 

So basically, I need to find a way to read data from this FP in a manner similar to "FP Network Read" without restarting the system.  Is there any way to do this with labview? Alternatively, I may be able to write this app using LabWindows since I know some software is already running on that machine programmed with that.

 


0 Kudos
Message 1 of 3
(2,547 Views)

Running a LabVIEW executable requires the LabVIEW Run-Time Engine. This cannot be changed. Just like it cannot be changed that running an executable compiled in Matlab requires the Matlab Run-Time. Just like it cannot be changed that running an executable written in LabWindows requires the LabWindows Run-Time. Just like it cannot be changed that an executable written in C requires certain run-time libraries. It just so happens that you have these C run-time libraries already installed with the operating system.

 

That said, the reboot request is coming from the LabVIEW Run-Time Engine installation, and yes, it's because of some DLLs. You might be able to get away with not rebooting, but that's neither recommended or even known whether it will work, since it depends on the situation.

0 Kudos
Message 2 of 3
(2,543 Views)
Solution
Accepted by kgolden

The first thing I'd say is that a restart may not be necessary.  I have in the past installed LabVIEW development environment and when asked I said I would restart later.  Then I opened LabVIEW and started coding.  I'm not sure what it thinks it needs to restart for but it may not be required.

 

The other thing I'd like to mention is that LabVIEW 7.1 and older can run EXEs without needing to install a run time engine.  So it is possible to build a EXE in 7.1, then include some files and DLLs in the same directory as the EXE, and when it is ran it will use them.  There's probably issues with talking to DAQ devices without MAX and I have no idea how you address this but it is another possibility.

 

Of course you already know the best answer and that is to reboot the system when most convenient.

0 Kudos
Message 3 of 3
(2,522 Views)