LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make stand alone application for cFP-2120

Hi all, may I know how do I make my cFP-2120 to stand alone. I understand that there are steps in websites to teach us to add the specific program we need into the "build specification". I already have a VI, but how do I make it work?Do I need to make some exe files or other options to make it work?

0 Kudos
Message 1 of 5
(3,383 Views)

Hi shuyun,

 

If I understand your question correctly, you are asking how to make a VI into a startup Executable so that your cFP-2120 can start and run on its own. If you have not already created a Real-Time project, you can see the steps for this here. If you have already done this, and dragged your VI that you want to run on the cFP-2120 onto the target in the project, you can then create your startup Executable.

 

To do this, right-click on Build Specifications and choose New»Real-Time Application. Add your VI to the Startup VIs list in the Source Files section. Make any modifications to the Build Specifications properties that you would like. When you are done, click OK. Then right-click on the newly created build spec and select Set as startup. Build the application by right-clicking and selecting Build. Deploy the application by right-clicking and selecting Deploy.

 

Once you have completed these steps, the VI has been embedded onto the controller as a startup Executable.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 2 of 5
(3,354 Views)
Hi, thanks for giving me the link to help build the real time application. But, I'm quite confused over the theory that is behind it. Currently I already have my own VI build up, but I don't think that it is in real time type of folder, that is why the VI is not present in the source file when I use Build Specification. I've tried your steps in the link, but, it ended up giving me weird graphs which is not suitable for my temperature measurement. What can I do about this? Thanks.
0 Kudos
Message 3 of 5
(3,299 Views)

Yo,

 

the problem might come from your VI.

The given step above will lead you to build your application on your target. Basically there are some preparations before you deploy your VI. This involves reviewing your code for any unsupported function. Some of the labview features that are unavailable when you target a specific RT target include functions that modify front panel objects and functions specific to other operating system. If you attempt to executes this, it will give you error and might affect your whole programing. 

 

As I mentioned, uncertainty might come from your VI. Should you ask how to deploy your VI to your target, the answer is at above.

 

Furthermore, this below info's tell you about real time application:

Webcast

http://zone.ni.com/wv/app/doc/p/id/wv-162

Manual 

http://www.ni.com/pdf/manuals/322154d.pdf

 

Please let me know if you have any doubt.

 

Yasrof

Application

NI ASEAN   

0 Kudos
Message 4 of 5
(3,279 Views)

Hi, thanks all for your help. 😃 But after looking at the resources given, having my system to become a Real-Time system will actually be touching on some network theory such as wireless am I right?

 

But, my stand-alone here is more of how am I able to save my temperature data into my Compact Flash Card. I do not need to use any laptop, and I will retrieve the temperature data information from my card that is inserted into my cFP-2120 controller when I need to check the data's pattern. =D Thanks.

0 Kudos
Message 5 of 5
(3,154 Views)