Jump to content

floating pop up window UI


jpo

Recommended Posts

Looking for a example of UI with the main program able to open a floating pop up window which is used to displays a periodiaclly updated chart.  All user interactions is done thru the main window and not the chart window. 

J-

Link to comment

I have several, but within bigger applications... Anyway, there are many ways of doing one. The quickest and dirty I can think of is to share the data between main and floating panel via a global variable, to poll periodically the value in the panel, and to trigger a redraw of the chart only when a change between old and current value is detected. Of course this is doesn't scale up very well; for more sophistication you could set up notifiers between the two, transmit only the portion of data which changed. There are several inter-VI communication options, the best one depends on the use case.

To make the panel floating and open it pressing a button on from main, etc, VI server FP properties/methods.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.