From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

indicators (graphs) in a VI running on real time

I thought you couldn't created any indicators or controls in a VI that runs on a real-time OS. Why is it that I can put an indicator (eg: graph) in the VI, run in on RT target, and still be able to see the graph being updated? How is it doing this internally?
0 Kudos
Message 1 of 3
(2,997 Views)

abdel2, when you target a vi to run on RT target from the LabVIEW development environment.  Labview automatically sets up what is referred to as the default communication.  LabVIEW default communication updates the front panel on your vi just as if it were running locally.  This is intended for development and debug, a very useful and powerful feature of labview RT.   When you run your vi on the RT target without running it from the development environment or your you start the vi from the development environment then disconnect from the RT target, the vi will continue to run without the default communication and front panel controls and indicators are meaningless.

 

 

SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 2 of 3
(2,979 Views)

Hello Abdel2,

 

Thank you for contacting National Instruments!  It is true that with a Real-Time controller you do not want to use controls and indicators as you would in a typical LabVIEW program.  However, for debugging purposes you can open the VI that is on the Real-Time Controller on your development machine and run it.  In this case, the VI block diagram is "running" on the Real-Time controller but you can still view the Front Panel on the development machine.  This is what we call "Front Panel Communication".  As I stated previously, this is really only meant for debugging purposes.  So, for example, when you build a Real-Time executable that runs on a Real-Time Controller, it will not have a front panel that you can view unless you use Web Services/Remote Front Panel.  I hope this helps!

 

Please let me know if you have any further questions.  Have a great day! 

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,977 Views)