LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FP Run time position property

Dear all,

i am working on an application which uses multiple monitors.

i am using FP.Run-Time Position.Maximized node to dynamically set the position of the panel. the property node asks for 1 input which is "monitor".

so i decide at the run time if i want to display the panel on monitor 1 or 2.

it works fine but with a small issue. whenever i change the monitor, it displays the panel on the previous monitor for the first time and displays on the monitor mentioed the second time it is called.

suppose it is called on monitor 1. so if i change it to monitor 2, it will still display on monitor 1 for the 1st time and on monitor 2 when called 2nd time.

 

why is that ?

 

 

Ritesh

0 Kudos
Message 1 of 3
(2,781 Views)

Hi,

 

That is because of the VI checking the property every time it opens only. That is why it is getting updated in the second time only.

 

regards,

vaibhav

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 2 of 3
(2,746 Views)

Hi,

I am setting the property before running the VI. and i am calling the VI using VI server.

i have attached the block diagram of the code.

pls have a look at it and let me know what changes i should make to make it run as i want.

 

Thanks,

Ritesh 

0 Kudos
Message 3 of 3
(2,729 Views)