LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded LV 8.0 Real-Time application on cFP-2120

Hi!

I'm working on a project which involves programming of a real-time application running on a cFP-2120. The purpose of the application is to control the motion over 7 test-objects with a servomotor.  Test-objects have 3 sensors each. Remote control of the application is necessary. The program should have a GUI which shows graphics of sensordata and buttons to open other VIs like set-up, details, logging etc.

Could i just build an application like it was meant to run on a pc, deploy it to the cFP-2120 and use Connect to Remote Panel ?

Or

Should I build separate VIs;
-the program which always runs on the cFP-2120 and
-the User Interface which is runned on a computer now and then which gets value from Network-Published shared Variables


I need some tips here  Smiley Happy
0 Kudos
Message 1 of 2
(2,651 Views)
I would definitely go for the second option, esp. if you want to have this program for a longer time.

It's much easier to write a good GUI on the PC without the limitations of a real time OS. There you have to keep too many things in mind (esp. no dynamic arrays, performance issues due to GUI programming, not too many sub VIs)... So write a quite minimal control software for FP and do all the interface stuff on the PC. Then you can easily log all the data into a database (if you have the DSC Engine) as well.

Cheers,
  Carsten
0 Kudos
Message 2 of 2
(2,641 Views)