02-06-2008 10:58 AM
OK, here is my attempt. (LabVIEW and PDA for PPC2003 module 8.5). Feel free to laugh out loud.
Run the test vi, it uses the control. It's always there, all I do is switch the visibility.
Text, CB1 and CB2 field contents are used to populate the control when it's made visible. LED's report back which button closed (hid) the dialog.
Adding a decoration to the control for the blue banner at the top fails, although it's part of the control it always remains visible. I cheated/got creative and used a second text indicator coloured blue.
Modern style buttons wouldn't reset when read. I had to use system buttons.
The triangle decoration and slide control on the main panel are just there to give the dialog control something to apear in front of. It has to be ordered to the front to do this.
Constructive criticism of this crude lash up is welcome.
Bandit.
02-06-2008 10:59 AM - edited 02-06-2008 11:02 AM
A subpanel allows you to show the front panels of VIs you call by reference, but contained within the main front panel.
I believe Graham's idea was to actually have the SubVI in your block diagram, but change the call properties to show the front panel on call (in the VI Properties dialogue). This would make it behave more like a popup window.
02-06-2008 11:00 AM
You will be wanting the code I suppose;o)
OK, here is my attempt. (LabVIEW and PDA for PPC2003 module 8.5). Feel free to laugh out loud.
Run the test vi, it uses the control. It's always there, all I do is switch the visibility.
Text, CB1 and CB2 field contents are used to populate the control when it's made visible. LED's report back which button closed (hid) the dialog.
Adding a decoration to the control for the blue banner at the top fails, although it's part of the control it always remains visible. I cheated/got creative and used a second text indicator coloured blue.
Modern style buttons wouldn't reset when read. I had to use system buttons.
The triangle decoration and slide control on the main panel are just there to give the dialog control something to apear in front of. It has to be ordered to the front to do this.
Constructive criticism of this crude lash up is welcome.
Bandit.
02-06-2008 11:04 AM
OK Jeff, I'll have to take another look at that - thanks.
Bandit
02-08-2008 09:03 AM
Hi Jef,
I have looked into the sub-panel idea, but sub-panels are not available on the PDA module.
Using a sub-vi and adjusting the parameters doesn't work either. The panel always appears full size no matter what settings you make.
Regards,
Bandit.
02-08-2008 09:42 AM
Again re:tab control
re-size the tab control such that the tabs can't be seen.
This is the technique we used in this app.
Ben
02-08-2008 10:34 AM