LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create and Application executable

Hello,

 

I have a LabVIEW program written by someone else that I want to create an application executable for.

I have created a .exe before of a simple LabVIEW program written to read from/write to PLC via ethernet Modbus; but this was written as a GUI for windows PC, no external RIO, etc.

This program that someone else wrote is for a RIO that has RT and FPGA. There is a "Build Specifications" under my computer which has option for new "Application (exe)" which I assume is the one but there is no VI to add for building. If I have to create a VI how do I go about it so that the executable will run RIO from host Front Panel on PC running Windows (has to include host VI and FPGA VIs (some sub VIs as well)).

There is also a "Build Specifications" under FPGA Target; and there is a "Build Specifications" under NI-sbRIO-9627-... with option of new "Real-Time Application".

 

Thank you

0 Kudos
Message 1 of 2
(2,305 Views)

You need think of the RT system as a separate computer, because it is.  You cannot run a VI from your PC and have it magically run on the sbRIO.  You need to build and deploy the RT application to the sbRIO.  This should include any FPGA bit files that were used.  Then you need to make some way for your sbRIO to communicate to an application that runs on your PC.  I like to use the STM library with TCP.  Others prefer using Network Streams.  You can build an application to run on your PC via the "My Computer" build specifications.

 

Suggestions:

1. Go take the LabVIEW RT and FPGA courses.

2. NI LabVIEW for CompactRIO Developer's Guide


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,302 Views)