I saw a good way to port the sub-vi to secondary monitor in another forum message.
I developed the VI to suit my requirements and checked out. The same is enclosed as a zipped file. It works fine except for the following small flaw :
- Open the SecondMon_Main.vi and select the path of the SecondaryDisp.vi.
- Make sure the secondary monitor refernce is also proper in the block diagram of SecondMon_Main. It is now "1".
- Run the VI.
- You will notice that first the sub VI loads in your primary monitor and then shifts to the secondary monitor. From then on its fine.
You also will notice some funny coding in SecondMon_Main.vi with a flat sequence structure. If you remove the instance of the sub.vi from the first frame and run, you will notice that the sub.vi does not shift to the secondary monitor at all. I don't know why ??
( The 2 sec time delay in the second frame is just to show that the sub.vi first loads in the primary monitor and then shifts to the secondary. Otherwise it has no use...)
How to get the sub.vi load on to the second monitor directly ?
Raghunathan
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.