LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Web Server Problem

I have made my application and build it, but then the .snap?
and .monitor? options of the web server doesn't work. Do you know why?
0 Kudos
Message 1 of 8
(4,254 Views)
Go into the preferences of the built application and check the web server
settings.
The Web Server must be enabled. LabVIEW must not be running at the same time
with its Web Server enabled at the same port. In "Visible VIs" you must
provide a list of VIs that can be accessed. Enter * to access all.

If your application does not have the preference menu enabled, copy from the
labview.ini file the web related items to your app.ini file.

You can also use the application Web Server property nodes to set the
properties at run-time.

Regards,

Jean-Pierre Drolet

Francisco Picatto a écrit dans le message :
39874bf0@newsgroups.ni.com...
>
> I have made my application and build it, but then the .snap?
> and .monitor? options of the web server
doesn't work. Do you know why?
0 Kudos
Message 2 of 8
(4,254 Views)
Thank you very much for your answer, but I have already done that. My server is
working, but the snap and monitor don't...
Thanks anyway

Jean-Pierre Drolet wrote:

> Go into the preferences of the built application and check the web server
> settings.
> The Web Server must be enabled. LabVIEW must not be running at the same time
> with its Web Server enabled at the same port. In "Visible VIs" you must
> provide a list of VIs that can be accessed. Enter * to access all.
>
> If your application does not have the preference menu enabled, copy from the
> labview.ini file the web related items to your app.ini file.
>
> You can also use the application Web Server property nodes to set the
> properties at run-time.
>
> Regards,
>
> Jean-Pierre
Drolet
>
> Francisco Picatto a écrit dans le message :
> 39874bf0@newsgroups.ni.com...
> >
> > I have made my application and build it, but then the .snap?
> > and .monitor? options of the web server doesn't work. Do you know why?
0 Kudos
Message 3 of 8
(4,254 Views)
Did you check that the VIs front panels have been saved with (or removed
from) the built application? They have been obviously saved if you can open
the front panels in the built application but otherwise you have to check in
the VI built settings in the application builder, "Remove Panel" case.

Does the Web Server work to browse other files?


a écrit dans le message news:
39888344.D996B99D@com.uncor.edu...
> Thank you very much for your answer, but I have already done that. My
server is
> working, but the snap and monitor don't...
> Thanks anyway
>
> Jean-Pierre Drolet wrote:
>
> > Go into the preferences of the built application and check the web
server
> > settings.
> > The Web Server must be enabl
ed. LabVIEW must not be running at the same
time
> > with its Web Server enabled at the same port. In "Visible VIs" you must
> > provide a list of VIs that can be accessed. Enter * to access all.
> >
> > If your application does not have the preference menu enabled, copy from
the
> > labview.ini file the web related items to your app.ini file.
> >
> > You can also use the application Web Server property nodes to set the
> > properties at run-time.
> >
> > Regards,
> >
> > Jean-Pierre Drolet
> >
> > Francisco Picatto a écrit dans le message :
> > 39874bf0@newsgroups.ni.com...
> > >
> > > I have made my application and build it, but then the .snap?
> > > and .monitor? options of the web server doesn't work. Do you know why?
>
0 Kudos
Message 4 of 8
(4,254 Views)
The web server browse ok, (I aready know that it has some problems with Intenet
Explorer, so I proved with Nescape 4.7), the problem is with snap and monitor..
It seems like some library wasn't copied...
I didn't remove a panel in the remove panel case...
Thanks

Jean-Pierre Drolet wrote:

> Did you check that the VIs front panels have been saved with (or removed
> from) the built application? They have been obviously saved if you can open
> the front panels in the built application but otherwise you have to check in
> the VI built settings in the application builder, "Remove Panel" case.
>
> Does the Web Server work to browse other files?
>
> a écrit dans le message news:
> 39888344.D996B99D@com.uncor.
edu...
> > Thank you very much for your answer, but I have already done that. My
> server is
> > working, but the snap and monitor don't...
> > Thanks anyway
> >
> > Jean-Pierre Drolet wrote:
> >
> > > Go into the preferences of the built application and check the web
> server
> > > settings.
> > > The Web Server must be enabled. LabVIEW must not be running at the same
> time
> > > with its Web Server enabled at the same port. In "Visible VIs" you must
> > > provide a list of VIs that can be accessed. Enter * to access all.
> > >
> > > If your application does not have the preference menu enabled, copy from
> the
> > > labview.ini file the web related items to your app.ini file.
> > >
> > > You can also use the application Web Server property nodes to set the
> > > properties at run-time.
> > >
> > > Regards,
> > >
> > > Jean-Pierre Drolet
> > >
> > > Francisco Picatto a écrit dans le message :
> > > 39874bf0@newsgroups.ni.com...
> > > >
> > > >
I have made my application and build it, but then the .snap?
> > > > and .monitor? options of the web server doesn't work. Do you know why?
> >
0 Kudos
Message 5 of 8
(4,254 Views)
You must include lvpng.dll and lvjpeg.dll from the RESOURCE directory in the
application directory
If you already did, I give up... 😞


a �crit dans le message news:
3988B1C5.F7598A86@com.uncor.edu...
> The web server browse ok, (I aready know that it has some problems with
Intenet
> Explorer, so I proved with Nescape 4.7), the problem is with snap and
monitor..
> It seems like some library wasn't copied...
> I didn't remove a panel in the remove panel case...
> Thanks
>
> Jean-Pierre Drolet wrote:
>
> > Did you check that the VIs front panels have been saved with (or removed
> > from) the built application? They have been obviously saved if you can
open
> > the front panels in the built application but otherwise you have to
check in
> > the VI built settings in the application builder, "Remove Panel" case.
> >
> > Does the Web Server work to browse other files?
> >
> > a �crit dans le message news:
> > 39888344.D996B99D@com.uncor.edu...
> > > Thank you very much for your answer, but I have already done that. My
> > server is
> > > working, but the snap and monitor don't...
> > > Thanks anyway
> > >
> > > Jean-Pierre Drolet wrote:
> > >
> > > > Go into the preferences of the built application and check the web
> > server
> > > > settings.
> > > > The Web Server must be enabled. LabVIEW must not be running at the
same
> > time
> > > > with its Web Server enabled at the same port. In "Visible VIs" you
must
> > > > provide a list of VIs that can be accessed. Enter * to access all.
> > > >
> > > > If your application does not have the preference menu enabled, copy
from
> > the
> > > > labview.ini file the web related items to your app.ini file.
> > > >
> > > > You can also use the application Web Server property nodes to set
the
> > > > properties at run-time.
> > > >
> > > > Regards,
> > > >
> > > > Jean-Pierre Drolet
> > > >
> > > > Francisco Picatto a �crit dans le message :
> > > > 39874bf0@newsgroups.ni.com...
> > > > >
> > > > > I have made my application and build it, but then the .snap?
> > > > > and .monitor? options of the web server doesn't work. Do you know
why?
> > >
>
0 Kudos
Message 6 of 8
(4,254 Views)
Yhea, I did it, I put those files everywhere!!!....
Thank you very much for your time
See you
Francisco Picatto

Jean-Pierre Drolet wrote:

> You must include lvpng.dll and lvjpeg.dll from the RESOURCE directory in the
> application directory
> If you already did, I give up... 😞
>
> a �crit dans le message news:
> 3988B1C5.F7598A86@com.uncor.edu...
> > The web server browse ok, (I aready know that it has some problems with
> Intenet
> > Explorer, so I proved with Nescape 4.7), the problem is with snap and
> monitor..
> > It seems like some library wasn't copied...
> > I didn't remove a panel in the remove panel case...
> > Thanks
> >
> > Jean-Pierre Drolet wrote:
> >
> > > Did you check that the VIs front panels have been saved with (or removed
> > > from) the built application? They have been obviously saved if you can
> open
> > > the front panels in the built application but otherwise you have to
> check in
> > > the VI built settings in the application builder, "Remove Panel" case.
> > >
> > > Does the Web Server work to browse other files?
> > >
> > > a �crit dans le message news:
> > > 39888344.D996B99D@com.uncor.edu...
> > > > Thank you very much for your answer, but I have already done that. My
> > > server is
> > > > working, but the snap and monitor don't...
> > > > Thanks anyway
> > > >
> > > > Jean-Pierre Drolet wrote:
> > > >
> > > > > Go into the preferences of the built application and check the web
> > > server
> > > > > settings.
> > > > > The Web Server must be enabled. LabVIEW must not be running at the
> same
> > > time
> > > > > with its Web Server enabled at the same port. In "Visible VIs" you
> must
> > > > > provide a list of VIs that can be accessed. Enter * to access all.
> > > > >
> > > > > If your application does not have the preference menu enabled, copy
> from
> > > the
> > > > > labview.ini file the web related items to your app.ini file.
> > > > >
> > > > > You can also use the application Web Server property nodes to set
> the
> > > > > properties at run-time.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Jean-Pierre Drolet
> > > > >
> > > > > Francisco Picatto a �crit dans le message :
> > > > > 39874bf0@newsgroups.ni.com...
> > > > > >
> > > > > > I have made my application and build it, but then the .snap?
> > > > > > and .monitor? options of the web server doesn't work. Do you know
> why?
> > > >
> >
0 Kudos
Message 7 of 8
(4,254 Views)

I got my to work just now. 

First I created the exact same path to the www directory on the machine where I was running the executables.  On the build machine that was

"C:\Program Files\National Instruments\LabVIEW 8.6\www" so I made this directory and put the html files in there.

Then I created the directory for the log files:

"D:/Program Files/National Instruments/LabVIEW 8.6/resource/webserver/logs/"

 

Then I edited niwebserver.conf and put the path to the www directory on the line that was

DocumentRoot "./../../www"

 

to

DocumentRoot "C:\Program Files\National Instruments\LabVIEW 8.6\www"

 

and above that line I changed the line for

CustomLog "whatever"

 

to

CustomLog "D:/Program Files/National Instruments/LabVIEW 8.6/resource/webserver/logs/:

 

Then I stoped and restarted the .exe file.

 

I opened IE and typed in http://machine.name.with.corporate.domine.and.all.that./Executable.htm

 

Shezam!

0 Kudos
Message 8 of 8
(3,592 Views)