LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user interface refresh

I have a user interface with many controls, I have a loop that acquire data from a board I want to display those data (that are arrays) in my user interface but even the program passes from the place where I refresh the array in the user interface there are no changes.
Is there any instruction like CVI ProcessDrawEvents() in labview 6.1?
Thank you,
Massimo Ponte.
0 Kudos
Message 1 of 3
(2,778 Views)
news:506500000008000000206C0000-1031838699000@exchange.ni.com...
> I have a user interface with many controls, I have a loop that acquire
> data from a board I want to display those data (that are arrays) in my
> user interface but even the program passes from the place where I
> refresh the array in the user interface there are no changes.
> Is there any instruction like CVI ProcessDrawEvents() in labview 6.1?
> Thank you,
> Massimo Ponte.
In lv, the diagram and frontpanel run seperately. Make sure your program
doesn't use all cpu time, by inserting a wait.vi in your loop. This will
leave some cpu time for other applications, including the frontpanel.

Hope this will help,

Bram Daams
0 Kudos
Message 2 of 3
(2,778 Views)
I am not sure if this will help.

You can right-click on controls and make them "syncronous".

Doing so will force the code to update the screen before moving on.

Otherwise, LV will take the screen updates and cache them until it is ready to update the screen.


What exactly do you mean by "there are no changes"?

Tryin to help,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,778 Views)