J'ai aucun changement, la face-avant ne se charge pas.
J'ai aucun changement, la face-avant ne se charge pas.
Bizarre. Le fichier HTML en question se trouve où (serveur Apache ou Labview) ? Est-ce que c'est un nouveau fichier ou un fichier existant que tu as modifié ? Si tu l'as modifié, quelle est la version originale et la dernière version (qui ne marche pas) ?
Je vais apporter quelques précisions au niveau de Labview car je pense que tu ne connais pas trop et il y à des fichiers qui peuvent peut-être résoudre mes problèmes. Je crée un programme sous labview, ensuite je le compile c'est à dire je crée un .exe. Pendant cette manipulation j'active le serveur Labview sur le port 81 (http://serveur-l9skch9.home:81/RS.html) et la page html (RS.html) est créée. Le tout (.exe, RS.html, fichier de conf* et un fichier aliases) est crée pendant la compilation dans un dossier. Je place ensuite le contenu de ce dossier sous c:/www/Labview. J'ouvre le .exe et quand je vais sur le serveur de Labview cela fonctionne correctement. Pour le serveur apache cela ne fonctionne pas avec toutes les confs testées.
Fichier de conf Labview*:
Pour répondre à tes questions le fichier html se trouve sous c:/www/Labview, c'est un nouveau fichier le fichier original est le suivant et il ni ya aucun fichier qui à fonctionner avec le serveur apache.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 [Application] server.app.propertiesEnabled=True server.ole.enabled=True server.tcp.paranoid=True server.tcp.servic="Poste de travail/VI Serveur" server.vi.callsEnabled=True server.vi.propertiesEnabled=True WebServer.DirectoryIndex="index.htm" WebServer.MimeTypes="htm;text/html;gif;image/gif;jpg;image/jpeg;png;image/png;txt;text/plain;html;text/html;jpeg;image/jpeg;css;text/css;llb;application/x-labview-llb;vi;application/x-labview-vi;doc;application/msword;dot;application/msword;bin;application/octet-stream;exe;application/octet-stream;rtf;application/rtf;pdf;application/pdf;ai;application/postscript;eps;application/postscript;ps;application/postscript;csh;application/x-csh;gtar;application/x-gtar;gz;application/x-gz;sh;application/x-sh;tar;application/x-tar;zip;application/zip;hqx;application/mac-binhex40;ua;audio/basic;wav;audio/wav;tif;image/tiff;tiff;image/tiff;xbm;image/x-xbitmap;rtx;text/richtext;qt;video/quicktime;mov;video/quicktime;avi;video/x-msvideo;movie;video/x-sgi-movie;aif;audio/aif;aifc;audio/aif;aiff;audio/aif;aim;application/x-aim;dif;video/x-dv;div;video/x-dv;js;application/x-javascript;pntg;image/x-macpaint;xlb;application/vnd.ms-excel;xls;application/vnd.ms-excel;ppa;application/vnd.ms-powerpoint;ppt;application/vnd.ms-powerpoint;pps;application/vnd.ms-powerpoint;pot;application/vnd.ms-powerpoint;pwz;application/vnd.ms-powerpoint;mid;audio/mid;midi;audio/mid;enc;video/mpeg;m1v;video/mpeg;mp2;video/mpeg;mpa;video/mpeg;mpe;video/mpeg;mpeg;video/mpeg;mpg;video/mpeg;psd;image/x-photoshop;bmp;image/bmp;pic;image/pic;ra;audio/vnd.rn-realaudio;rf;image/vnd.rf-realflash;rm;application/vnd.rn-realmedia;rp;image/vnd.rn-realpix;ram;audio/x-pn-realaudio;rmm;audio/x-pn-realaudio;rnx;application/vnd.rn-realplayer;rt;text/vnd.rn-realtext;rv;video/vnd.rn-realvideo;smi;application/smil;ssm;application/streamingmedia;sithqx;application/mac-binhex40;sit;application/x-stuffit" WebServer.Port=81 WebServer.RootPath=C:\www\Labview\data WebServer.TcpAccess="c+*" WebServer.ViAccess="+*" WebServer.Enabled=True DebugServerEnabled=False DebugServerWaitOnLaunch=False
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN"> <HTML> <HEAD> <TITLE>Contrôle à distance du VI Labview</TITLE> </HEAD> <BODY > <H1>Contrôle à distance du VI Labview</H1> <P> <TABLE BORDER = 1 BORDERCOLOR = #000000><TR><TD> <SCRIPT language="JavaScript"><!-- var lng; if (navigator.userLanguage) { lng = navigator.userLanguage; }; if (navigator.language) { lng = navigator.language.toLowerCase(); }; var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=384 HEIGHT=525 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0'; if (lng.indexOf("fr") != -1) { obj = obj + '/French'; } else if (lng.indexOf("de") != -1) { obj = obj + '/German'; } else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; } obj = obj + '/LVRunTimeEng.exe">'; document.write(obj); // --></SCRIPT> <PARAM name="LVFPPVINAME" value="RS.vi"> <PARAM name="REQCTRL" value=true> <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi" REQCTRL=true TYPE="application/x-labviewrpvi80" WIDTH=384 HEIGHT=525 PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=exck2m&"></EMBED> </OBJECT> </TD></TR></TABLE> <P> </BODY> </HTML>
Le fichier RS.html contient quoi ? En gros, quelle est la différence entre RS.html et ce nouveau fichier HTML ?
Il sert à quoi le paramètre server.tcp.paranoid ?
Le fichier RS.html est le suivant:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN"> <HTML> <HEAD> <TITLE>Contrôle à distance du VI Labview</TITLE> </HEAD> <BODY > <H1>Contrôle à distance du VI Labview</H1> <P> <TABLE BORDER = 1 BORDERCOLOR = #000000><TR><TD> <SCRIPT language="JavaScript"><!-- var lng; if (navigator.userLanguage) { lng = navigator.userLanguage; }; if (navigator.language) { lng = navigator.language.toLowerCase(); }; var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=384 HEIGHT=525 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0'; if (lng.indexOf("fr") != -1) { obj = obj + '/French'; } else if (lng.indexOf("de") != -1) { obj = obj + '/German'; } else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; } obj = obj + '/LVRunTimeEng.exe">'; document.write(obj); // --></SCRIPT> <PARAM name="LVFPPVINAME" value="RS.vi"> <PARAM name="REQCTRL" value=true> <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi" REQCTRL=true TYPE="application/x-labviewrpvi80" WIDTH=384 HEIGHT=525 PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=exck2m&"></EMBED> </OBJECT> </TD></TR></TABLE> <P> </BODY> </HTML>
La différence du fichier html ce situe à ce niveau.
Fichier html:
Fichier html modifié:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <PARAM name="LVFPPVINAME" value="RS.vi"> <PARAM name="REQCTRL" value=true> <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi"
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 <PARAM name="LVFPPVINAME" value="RS.vi"> <PARAM name="server" value=http://serveur-l9skch9.home:81> <EMBED SRC="http://serveur-l9skch9.home:81/.LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi"
Je ne c'est pas à quoi sert le paramètre server.tcp.paranoid, le fichier est généré par Labview et j'ai modifié uniquement les lignes qui sont mentionnées dans le tuto (http://digital.ni.com/public.nsf/all...25710E000068E1). Je vais me renseigner auprès du service technique Labview et je te tiens au courant dans le début de semaine.
Salut,
J'ai eu la réponse de Labview, il me renvoi sur un de leur lien, le paramètre server.tcp.paranoid sert :
This line refers to the VI Server TCP access setting for strict checking of hostnames.
In the below paragraph a server.tcp.paranoid setting of:
* TRUE = Checked
* FALSE = Unchecked
Donc a priori ce n'est pas le paranoid qui pose problème. Je n'ai aucune idée pourquoi ça ne fonctionne pas, désolé
Okay.
Merci quand même.
Si jamais je trouve, je te tiendrais au courant.
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité, merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager