LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ini file LabView 8.0 VI server

Smiley SadI'm sure that is not the first time that some body ask that question, but I canot find the answer.
 
What should be included in the ini file of an application that have been created with LabView 8.0
 
Mine include those thing but I canot make it work. I have included the same thing that was included in a previous version of the application but made with LabView 8.0
 
[Acquisition]
prefDlgTestData=1234
postScriptLevel2=False
server.tcp.paranoid=False
server.tcp.enabled=True
server.tcp.access="+*"
 
Is anyone can help me?
 
Benoit Séguin
 
Benoit Séguin
Software Designer
0 Kudos
Message 1 of 7
(3,817 Views)
I realy need help!!!!!!!!!!!!!!!!
 
Benoit
Benoit Séguin
Software Designer
0 Kudos
Message 2 of 7
(3,796 Views)
Hello -- I'm here to help!

I'm not exactly sure what you are asking though.  I think you have a LabVIEW Exe which uses VI server that has either no ini file or a bad one.  I built an application that makes a call to VI Server in LabVIEW 8, and below is the ini file that was generated:

[Application]
server.app.propertiesEnabled=True
server.ole.enabled=True
server.tcp.paranoid=True
server.tcp.servic="My Computer/VI Server"
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.RootPath=C:\Program Files\National Instruments\LabVIEW 8.0\www
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
DebugServerEnabled=False
DebugServerWaitOnLaunch=False

I'm not sure what else was in your ini file (it really could be anything) but hopefully this will help.  If possible, I would see if you can find a way to re-build the application to regenerate the ini file (the ini file should auto-generate itself but it might not have everything you needed).  You also might want to provide readers of this post some more specific of what exactly the problems are (i.e. error messages, etc...).

Hope this helps!


Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 3 of 7
(3,778 Views)
Here is the error message I got from the client application.
The client application works fine with the Aplication that run VI server with the version 7.1.
The client application is build with LabView 8.0
I canot acces to the Server application that is build with LabView 8.0
I'm sure there is some change in the VI server setting in LabView 8.0
 
Thanks
 
Benoit
Benoit Séguin
Software Designer
0 Kudos
Message 4 of 7
(3,768 Views)

Hello Benoit,

 

I am still unclear of what you are trying to do!  It’s hard to say what the problem is without more information, but the error seems to be a runtime error saying that a reference is invalid.  I don’t know if this is the result of anything in the ini file but I’m beginning to doubt it.  Before I can assess the problem could you provide me with the following information:

 

 

1) What are you attempting to accomplish?  What is the desired functionality of your program?

 

2) Do you have access to the source code of this application?

 

3) What leads you to believe that the problem is a result of ini file settings?

 

You might also consider posting some screen-shots of the code, or posting it (if its simple) so that me and the other community members can take a look at it.

 

I look forward to helping out if possible!

Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 5 of 7
(3,752 Views)
My application is basicaly an aquisition system that act as a server to make other computer to have acces to in live.
 
I'm acquisitionning 48 différent point witch are temprerature, pressure and lots other.
 
The thing is that I just rebuild the application with Labview 8.0 and since that, the client aplication canot acces the server application. It's the reason why I thing it's just about the .ini files. I will try with a test application next week and Try to figure it out.
 
Thanks for your help, and next week I'm gona post the test application if it doesn't work.
 
Benoit
Benoit Séguin
Software Designer
0 Kudos
Message 6 of 7
(3,749 Views)
What ever I try, it's keep doesn't work.
 
Here is the example code.
 
If some body can help me....
 
Thanks.
 
Benoit
Benoit Séguin
Software Designer
0 Kudos
Message 7 of 7
(3,732 Views)