05-15-2013 10:02 AM
I'm writing a LabVIEW application that will use two monitors of different sizes on the same computer. I must stream four channels of 100 Hz data from a main VI to its front panel and to a second front panel on a different monitor.
My options:
1. The easiest way would be to call the second front panel as a subVI, but I don't like that because as a subVI the user could not click buttons or have any input.
2. Another way would be to use a LabVIEW queue to pass data from the main VI to the subVI; that way both panels could have their own UI loop.
3. Is there a better way?
Solved! Go to Solution.
05-15-2013 10:37 AM - edited 05-15-2013 10:39 AM
You could configure the second monitor to duplicate the display. Now you only need a single LabVIEW front panel. 😉
05-15-2013 10:50 AM
I forgot to say I need different data on the two monitors. Otherwise that duplicate display would be ideal.
05-15-2013 11:06 AM
It kind of depends on your data, but I would recommend queues or user events to send your data over to the other VI.
05-15-2013 11:11 AM
Thanks, I was thinking queues too. They will be sending waveforms to charts.
05-15-2013 11:18 AM
@bmihura wrote:
Thanks, I was thinking queues too. They will be sending waveforms to charts.
Charts? Or graphs? Charts keep a history while graphs only show the latest waveform it was given. If you are using graphs, then use notifiers.
05-15-2013 11:27 AM
Charts, that way I only have to transfer the latest data from the main VI to the subVI. If I used graphs I would have to send the entire visible display each time.