01-24-2008 06:10 AM
01-29-2008 03:35 AM
Hi Bandit
Yes it is possible within labVIEW. The principle of creating a popup dialog box is creating a subVI and changing the window appearance to call the front panel with limited options available.
To do this go into the VI properties either in File>>VI properties or Ctrl I. From here go to the window appearance tab and either select dialogue box or custom and then customize the options that you would like.
To ensure that you have a small pop-up and not a full screen I would recommend resizing your subVI front panel whether on manually by dragging or by changing the window size options in the VI properties again. Remember here to have selected the do not show scroll bars in appearance.
When This VI runs now in your program it should call the front panel and then close it again afterwards.
The method above is a generic for labVIEW which I have not tried on a PDA. If you can confirm that you have done the above and are sure that your size settings are correct and it still is not functioning as a proper dialogue box then I will look further into setting it up on your PDA.
Best regards
01-29-2008 06:50 AM
Hi Graham, thanks for your swift reply.
You have pretty much outlined how I would go about this on a PC with LabVIEW.
On the PDA I had already resized the window and tried the dialog and custom appearence options but missed your point about the scroll bars. I have now tried de-selecting the options to show horizontal and vertical scroll bars. Sadly this hasn't helped. I can call the dialog vi from the main vi, but it's full screen. I have tried de-selecting the other custom options too. The only things I left selected in the end were 'show front panel when opened' and 'close afterwards if originally closed'. I have tried default and modal window behaviour settings. I still get a full screen panel.
If you could take a further look at how to do this on a PDA I'd appreciate it.
Thanks.
Bandit.
01-29-2008 07:37 AM
I have seen a tab-control (with tabs hidden) used to get this effect.
At dialog time, switch the the dialog tab.
When done, switch back to the normal display tab.
Ben
01-29-2008 07:43 AM
Hi Ben, thanks for your advice.
It's an interesting alternative, I'd prefer a 'proper' dialog if I can get it, but I'll take a look and see how this idea would integrate onto my front panel. It may be that the tab would be usefull fo a couple of other things too as it happens.
Regards
Bandit
01-29-2008 08:39 AM
02-06-2008 08:45 AM
I have now had chance to test the idea of using a tab control to achieve this functionality.
It works, but in my opinion, for my applicaton, it looks sloppy. The reason is that unlike tabs on the PC, you can't hide the actual tabs on the PDA. As I don't want to see (or indeed have room for) tabs for 'Normal' display or Dialog, for what I want to do this solution isn't suitable.
Please let me know if you turn up another solution to the problem.
Regards,
Bandit
02-06-2008 10:33 AM
02-06-2008 10:37 AM
02-06-2008 10:41 AM
Is that different to a subvi, as suggested by Graham G?
I have managed to knock something together using a custom control. It's crude. I'll post it for interest.
Bandit.