Hi,
i am having problem to remotelly control the front panel when i save it as index.htm file. when i try to click the front panel display on the index.htm, it directs me to the url "cltpull_panel.map" and displays 'this page can not be display' because it unable to link the cltpull_panel.jpg with the cltpull_panel.map file. so basically what is the problem? how can i link the .jpg file with .map.
below is part of the CVI which is about the cviinet part and also the source code for the index.htm file. hope this can make u guys clearly understand my problem.
thank you
*******************************************************************************************************************
int main (int argc, char *argv[])
{
if (InitCVIRTE (0, argv, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */
return -1; /* out of memory */
handle = LoadPanel (0, "cltpull_panel.uir", PANEL);
popuphandle = LoadPanel (handle, "cltpull_panel.uir", POPUP);
DisplayPanel (handle);
webserverHandle = INET_StartWebServer (80, 10, "", "c://try");
INET_RegisterPanelAutoUpdate (webserverHandle, handle,
INET_UPDATE_CLIENTPULL, "c://try/cltpull_panel.jpg",
"index.htm", 5, 0);
INET_RegisterPanelWebInput (webserverHandle, handle, "cltpull_panel.map", 0);
RunUserInterface ();
INET_PanelToJPEG( handle, "c://try/cltpull_panel.jpg", 0, 80);
DiscardPanel(handle);
INET_EndWebServer (webserverHandle);
return 0;
}
*******************************************************************************************************************
-------------------------- index.html ---------------------------
<br>Smoth Server Push<br>
This Sample HTML Page is Powered by:
LabWindows/CVI Internet Toolkit