03-08-2006 10:23 AM
03-08-2006 10:54 AM
This is the feedback board. You want the LV board.
You can probably easily edit an existing HTML file created by the wizard (it's just ASCII, so the file VIs will work perfectly) and replace the path to point at your new VI, but I haven't tested this. Have a look at an html file created by the wizard and you can probably find how to do this easily enough.
03-08-2006 11:13 AM
03-08-2006 11:48 AM
It's probably not your fault it was posted here. The NI forums have some problems there.
I see what you're saying. Here's a suggestion - Have a simple html file (on the server) with a link in it. When you run the vit, have your code open this html file using the file functions and modify the link to reflect the path of the new VI. Give the user the path to the html with the link in it and that should solve your problem - the user will have a regular address and the content of that page will change to reflect where the current VI is. You might even be able to set it to automatically redirect so the user doesn't have to click to link.
03-08-2006 11:51 AM
03-08-2006 01:00 PM
Hi tst,
I am trying to do what you suggested, but I don't know how to relink the new VI's name to the html. Could you please point me where the functions are?
Thanks.
03-08-2006 02:06 PM
03-08-2006 05:59 PM
Hi tst,
I didn't get success on it. I have rewrite the vi's name in HTML file but I still get message on web server which is "the requested vi is not loaded into memory on the server computer".
I wonder if the subvi (e.g. subvi 1.vi) generated by subvi template is in memory.
help!!! 🙂
Thanks.
03-08-2006 06:24 PM
Hi tst,
I think I get it.
Thanks for all you points.
03-09-2006 11:00 AM
Hi tst,
I made my sample program work. But my real application didn't. Because my application has a lot subvis which have control templates in them. So when I tried to launch the web server, the web page was trying to download the panel but didn't success and it said "The VI named 'subvi 1.vi' contained unsaved untitiled subvis. Can not save the VI before all its untitled subvis committed to disk. Do you want to save untitiled subvi to disk now?" If I click OK, then it asked me to rename the custom control to a new file (such as * 1.ctl) instead of *.ctt.
Do you have any comments on it?
Thanks.