LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Panel: how to load a vi into memory without showing it on the screen

Hi,

I'm using the remote panel facility of LabView 6.1 to allow any user
to control my instruments from within a web browser. However, in order
for this to work, labview has to be running and the vi opened on the
server, which i want to avoid.

Is there a possibilily to enable the labview web server and load a vi
into memory in the background, whithout showing it on the screen?

thanks
0 Kudos
Message 1 of 4
(2,996 Views)
You could use a Win32 API call to hide the VI's window. It won't bother the web server, but it will get it off of your server's screen. I can't remember where to find the Win32 library online, but I've got one that I like to use. I can send it if you drop me an email.

There may be a more elegent way to do what you want, but the RFP functions are rather rigid about having the host VI's panel open.

Daniel L. Press
PrimeTest Corp.
www.primetest.com
dan.press@primetest.com
0 Kudos
Message 2 of 4
(2,996 Views)
> Is there a possibilily to enable the labview web server and load a vi
> into memory in the background, whithout showing it on the screen?
>


Not at the moment. The VI truly is running on the server and simply
displaying on the remote machine(s). At the moment it also needs to
have a display on the server. You probably could write a small VI to
periodically look for open LV windows that have connections to them and
minimize them. Then run that VI on the server.

Greg McKaskle
0 Kudos
Message 3 of 4
(2,996 Views)
goto www.ni.com and search for
windows api function
0 Kudos
Message 4 of 4
(2,996 Views)