LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble creating an .exe file

Hi,

       I'm trying to create an *.exe file out of 2 VIs I've created using LabVIEW 9.0 student version (evaluation) . But when I transfer the file to another computer that doesn't have LabVIEW run-time engine installed, it shows an error saying the run-time engine is missing and does not execute. How do I create an application that is independent of the run-time engine?  Am I getting this error because I'm using an eval version of LabVIEW? If not, do I have to include some files/ libraries that make my application independent? It'd be great if someone could suggest a solution to this as I've tried fixing this problem with no results..Thanks..

 

Regards,

Pooja

0 Kudos
Message 1 of 15
(4,116 Views)

Hi,

 

 

You cannot run an executable without run time engine.

 

you  can download run time engine from ni site, it will not charge you anything.

 

 

Regards

 

Shrek

Message Edited by shrekt on 01-23-2010 03:15 PM
0 Kudos
Message 2 of 15
(4,113 Views)

The student version does not include the application builder.

 

If you have the application builder, any computer that needs to run the exectutable also needs the runtime engine installed. The runtime engine is free and users can either donwload it from NI or you can even include it with the installer of your application.

 

What is the "problems" that you are trying to solve?

 

(See also)

Message Edited by altenbach on 01-23-2010 01:41 AM
0 Kudos
Message 3 of 15
(4,110 Views)

Ok.. Is it in any way possible to deploy a basic version of the run time engine to my target along with my application? It's not possible, say when I need to transfer my VI in exe form to another computer, to make sure to install a LabVIEW runtime engine in that computer. That's the problem I've been facing. How can I make sure that the executable runs in any machine that does not have a run time engine installed? How do I include the installer along with executable?

Another problem I have had is with clusters. I need to send the information in a cluster to a TCP write node, read the same and display it via TCP read on another similar cluster. But first, I need to convert the information obtained from the controls in my cluster to a hexadecimal string. Is it possible? How do I do that?

 

Regards,

Pooja

0 Kudos
Message 4 of 15
(4,088 Views)

Hi,

 

 

Look at the following link:

 

http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/build_installer/ 

 

 

Regards,

 

Shrek

0 Kudos
Message 5 of 15
(4,086 Views)

Shrek: Thanks! I shall try this..but I'm still poring over the other problem of sending a really huge cluster over TCP. I have converted my cluster into a control but am not able to wire it to the input of the TCP write node. How can I fix this..?  Any ideas?

0 Kudos
Message 6 of 15
(4,079 Views)

 

 Hi Pooja,

 

Check out the following thread,

 

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=406964&query.id=2308180#M406964

 

Regards,

 

Shrenik

0 Kudos
Message 7 of 15
(4,077 Views)

Poojalr wrote:

Another problem I have had is with clusters. I need to send the information in a cluster to a TCP write node, read the same and display it via TCP read on another similar cluster. But first, I need to convert the information obtained from the controls in my cluster to a hexadecimal string. Is it possible? How do I do that?


 

Since this is a completely unrelated question (nothing to do with "trouble creating exe"!) you should really start a new thread with a new title.

 

Converting a data structure to a string and back is most easily done using flatten to string and unflatten from string. (or typecast). Make sure to handle the size information correctly when reading. Create a diagram constant of your cluster (data inside is irrelevant) and wire it to the type input when converting back. Is the cluster fixed size or variable (e.g. containing variable length strings, arrays, etc.)?

 

Why don't you attach a small VI containing your cluster and we can show you how.

 

0 Kudos
Message 8 of 15
(4,062 Views)

Hi Shrenik,

                 Thank you for posting the threads.. I'd actually seen that solution earlier. Unfortunately, it doesn't seem to solve my problem! I've created a type definition for my cluster, and tried typecasting using a diagram constant as the type. I get error 74... memory or data structure corrupt! I don't understand how I could solve this problem. Also, I need to expand this VI to accomadate several more clusters..

Thanks again,

 

Regards,

Pooja

0 Kudos
Message 9 of 15
(4,024 Views)

altenbach,

 

I apologise for starting off on an unrelated topic in this thread. I'm unable to implement the solution you

suggested. LabVIEW flashes error 74 when I run the VI. I have attached my input and output clusters. 

Since I'm still attempting this, I'm just modifying the example programs to suit my needs. But I need to extendthis much further, to accomadate much much bigger clusters! I'm at a loss to understand how to make this happen..!

I'm using this technique as I have too many inputs and outputs to be alloted to the pattern grid on my connector pane.. 

Thanks and regards,

Pooja

0 Kudos
Message 10 of 15
(4,018 Views)