03-30-2009 05:59 AM
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
03-31-2009 12:21 PM
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
04-02-2009 01:05 AM
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