10-24-2022 07:21 AM
For example:There are 4 image display,numeric indicator,boolean indicator.
-I want to group and show these indicators on 3 different screens.
When -VI is run, each section should run full screen on the specified screen.
-I don't want to turn on or off the bar at the top of the screen. Exactly full screen.
What is the probability of this happening? And does anyone know how to do it?
Every opinion given is worthy of respect.
Solved! Go to Solution.
10-24-2022 07:37 AM
Hi worker,
@constructionworker wrote:
For example:There are 4 image display,numeric indicator,boolean indicator.
-I want to group and show these indicators on 3 different screens
Call 3 instances of that VI and show their frontpanel on those 3 screens…
(There are property nodes to read/set the screen position of a frontpanel.)
10-24-2022 09:08 AM
What exactly do you mean something like the following? can you please give an example.
10-24-2022 11:49 AM
Hi worker,
@constructionworker wrote:
What exactly do you mean something like the following? can you please give an example.
Yes, similar to those properties…
You can detect all monitors using a property of LabVIEW. Then you know their display size. Once you know that you can set the FP position of each frontpanel as needed.
Example: 3 monitors, each with 1920*1080 pixels, all arranged horizontally . To show a frontpanel on the middle screen you move the frontpanel to pixels [1920, 0] (lower left corner) and [3839, 1079] (upper right corner)…
10-24-2022 12:25 PM - edited 10-24-2022 12:26 PM
Thank you for your answer GerdW
The point is, There's Only One FP. I wonder how it can be set to 3 separate FPs.
When I run something like below it doesn't create 2 different front panels, just one and display it on any monitor.
10-24-2022 01:33 PM - edited 10-24-2022 01:35 PM
Hi worker,
@constructionworker wrote:
Thank you for your answer GerdW
The point is, There's Only One FP. I wonder how it can be set to 3 separate FPs.
When I run something like below it doesn't create 2 different front panels, just one and display it on any monitor.
You need to prepare your VI to be able to display its frontpanel on 3 different screens…
Options:
Other option:
Think about creating a webpage (HTML file) to display your data. Then open a browser on each screen to show that webpage…
10-24-2022 02:14 PM - edited 10-24-2022 02:15 PM
@GerdW wrote:
Hi worker,
@constructionworker wrote:
Thank you for your answer GerdW
The point is, There's Only One FP. I wonder how it can be set to 3 separate FPs.
When I run something like below it doesn't create 2 different front panels, just one and display it on any monitor.You need to prepare your VI to be able to display its frontpanel on 3 different screens…
Options:
- Set the FP size to span all 3 screens at once, so one VI serves all screens…
- Make the VI reentrant and call it 3 times…
- Create 3 copies of that VI and call all of them in parallel…
Other option:
Think about creating a webpage (HTML file) to display your data. Then open a browser on each screen to show that webpage…
I felt the need to explain the situation a little more now. I think there should be an easier way to do this.Of course, I don't know how.
I reviewed your suggestions.
For the suggestion:
-it's a bit of a crude attempt to span the entire screen. It causes the image to break because the screen resolutions don't match.
-I set it to -VI reentrant, but if you mean re-invocation as I shared in the picture above, I tried it.
But I didn't get any result.
-I still don't understand what you mean by recall here. Wouldn't running a VI multiple times cause the computer to work harder?
-I'm in the understanding of finding a feature similar to the external window feature in the -NI IMAQdx library directly from Labview. Creates a second window in any position. But we can't add different indicators as extra. This is a problem.
The application I want to create. When the application starts, it runs in 3 different windows. It will display the events set in each Window.
There has to be an easier way around this, right?
10-24-2022 04:00 PM
Hi worker,
@constructionworker wrote:When the application starts, it runs in 3 different windows. It will display the events set in each Window.
There has to be an easier way around this, right?
When there are 3 "different windows" then you should use 3 different VIs.
What's so hard to call 3 VIs?
Btw. calling 3 VIs will not let your computer "work harder" when you create them correctly...
10-24-2022 05:51 PM
@constructionworker wrote:
I felt the need to explain the situation a little more now. I think there should be an easier way to do this.Of course, I don't know how.
I reviewed your suggestions.
For the suggestion:-it's a bit of a crude attempt to span the entire screen. It causes the image to break because the screen resolutions don't match.
-I set it to -VI reentrant, but if you mean re-invocation as I shared in the picture above, I tried it.
But I didn't get any result.
You need to open new clone references and call the VI several times asynchronously, and you need to make sure you are referencing the correct clone when changing the display state. (The easiest way to do that is by setting the state in the VI so you just use a "This VI" ref.)
If each is meant to display the same data and should all shutdown at the same time, you will need a communication mechanism as well. What is your application architecture? DQMH, Messenger Library, AF, etc. might all be useful here.
10-25-2022 05:45 AM - edited 10-25-2022 05:46 AM