05-08-2009 04:17 AM
05-08-2009 09:43 AM
Hi There,
Thanks for your post and I hope your well today.
I feel these two links maybe of use to you,
Can A SubVI Open Its Front Panel When Using Remote Panels?
http://digital.ni.com/public.nsf/allkb/E313D1D88CE14FDA86256E6A006B28ED?OpenDocument
Linking to a SubVI's Remote Front Panel from a Top-Level VI
http://digital.ni.com/public.nsf/websearch/DB4C3B13F329293686256F380061419D?OpenDocument
Please let me know your thoughts,
05-11-2009 04:00 AM
05-11-2009 08:28 AM
Hi,
I wanted to say that I felt this article was correct..
Can A SubVI Open Its Front Panel When Using Remote Panels?
It was written this year, compared with 2007. I am getting to test this out...
05-12-2009 10:35 AM
Hi,
I just wanted to confirm that using the web services the subVI front panel will not appear in the same web-browser page.
To achieve this you have two options, as the knowledgebase articles were trying to explain - not very clearly I will admit, and hence I will edit them going forward.
1) Use a Sub Panel window to open the VI within the Front Panel of the Main VI.
2) Create a link on the webpage for the main (top-level) vi to the subVI html file.
These both work for me.
Just remember that the text you need to add in the footer/header wherever in the main html file to create the link should be something like this,
<a target="new window" href="SubVI01.html">SubVI Title</a>
where the SubVI01.html is the name of the file the web tools tool created for my subVI.
The steps then are best followed here,
Linking to a SubVI's Remote Front Panel from a Top-Level VI
http://digital.ni.com/public.nsf/websearch/DB4C3B13F329293686256F380061419D?OpenDocument
Tips:
1) Make sure niwebserver CONF file has the correct Document Root - I couldnt get the default one labivew\www to work.
2) Make sure the application configure settings file has WebServer.Enabled=True
3) Make sure the exe is running on the target machine - I just did this all locally.
4) During the exe build make sure you select to always include all SubVIs and html files you've generated.
I hope this helps, but if you have any problems getting this to work please post back - as I have the setup working currently.