LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Blackfin Compile Time

I'm working in a rather large project from the Blackfin platform. When I compile an application (By selecting run in the build setup), I sometimes get a very long compile time that includes all VIs, even the ones I have not changed. In other cases, for other changes in the same file, I get very short compile times (It only compiles the changed VI).
This behavior is rather random with the changes I make. Any suggestion?

0 Kudos
Message 1 of 5
(6,861 Views)

Hi CGL,

 

Thanks for posting on the forums and deffinately a good question. I am unsure of the specifics to the compile process for the LabVIEW Embedded process, but I do have some questions:

1. Before building, are you asked to save a certain number of VIs even if you have not opened them.

2. Do you see the same difference in compile times in one of the example programs?

3. Are you able to narrow down a specific change that would cause a short compile versus a long compile?

 

Joshua B.
National Instruments
0 Kudos
Message 2 of 5
(6,846 Views)
>1. Before building, are you asked to save a certain number of VIs even if you have not opened them.
 It seams to ask for saving more files than the ones I edited. In fact, a window will show up saving all files (Close to 100 of them at this point)

 

>2. Do you see the same difference in compile times in one of the example programs?

 

Example programs compile fast, because they are simple. We are talking 100+ VIs

 

>3. Are you able to narrow down a specific change that would cause a short compile versus a long compile?

 

Here is some incidental information. Rewiring a main VI will cause it to save more files and take longer to compile. Changes in a value of a constant will be faster, but not always.

 

 

0 Kudos
Message 3 of 5
(6,832 Views)
Thanks for the information. Here are a couple of troubleshooting steps. First, Mass Complie the VIs. Does this help? Second, what happens if you add all your VIs for a library (llb). Does that help with the multiple save issues?
Joshua B.
National Instruments
0 Kudos
Message 4 of 5
(6,822 Views)

One other "feature" that I've found in LabVIEW Embedded for Blackfin is if you change any Global Variable file, then any VI that uses any of those global variables will need to be recompiled.

 

Another trick that may or may not work (sometimes it doesn't, but most times it does) is keep any VIs that you change open, don't close them after saving them (front panel still visible on your system).  I found that most times this will only compile the files that changed instead of doing a whole mass-compile of everything.

 

Hope this helps.  Having many large applications for the Blackfin I definitely feel your pain!  Good luck!

0 Kudos
Message 5 of 5
(6,794 Views)