06-10-2008 05:13 PM
Hi,
Since my english is out of practice i'll try the explain clearly my doubts and what i want to do.
I'm trying to manage 8 independent monitors with labview.
I have a PC with 8 VGA outputs and i'm trying to control de 8 screens with a main VI.
The main VI will read some information from a SQL DB and display it in the screens, but the information displayed in every screen is different. I mean, the 8 screens will not show the same information, is this possible?? any hint on this?
In the VI properties under "window run time position" you can select in wish monitor you want to display the VI.
So i was wondering if i can make the main VI and 8 subVIs and display it in monitor 1, 2, 3, etc. and with a tab control display (on the main VI) see each subVI.
Thanks, any help will be appreciatted.
Regards
And i had this response from DFGray:
What you want to do is relatively straightforward, provided you are familiar with LabVIEW reference object usage (single-element queue data objects and/or action engines), subpanels, VI templates, and interprocess messaging. While straightforward, it is not trivial. One possible architecture is the following.
But i'm kinda lost in here, can anyone help little more?
06-10-2008 06:44 PM
06-10-2008 06:56 PM
06-10-2008 06:58 PM
06-10-2008 07:10 PM
06-10-2008 07:16 PM
krispiekr thanks for the example that was exactly what i was doing... but it help me a lot.
But i'm still have the doubt now that i have the main VI i need to run the subVIs in different monitors.
I tried to save the subVIs as templates, but doesn't work. The slave VI doesn't refresh.
I'm working on my laptop so i'm working with 2 monitors so i can make tests. any idea?
Thanks!!
06-10-2008 07:30 PM
06-11-2008 08:24 AM
HI Ethan there is a property node from VI>>Front Panel Window>>Monitor, with this property you can select in which screen to have the VI. So you can open your VIs, they can be independent VIs, or subVIs or you can call them with VI Server, and with this property node you can select in which screen you see them.
To pass the information between them you can use queues, Shared Variables and any normal method to pass information between VIs.
I Attached an example that will run 2 subVIs in different Monitors. Also there is another VI that will run any VI in the Monitor you specify
Best Regards
06-12-2008 06:21 PM
06-12-2008 06:47 PM - edited 06-12-2008 06:52 PM
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).