LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Panel/VI Server Bug?

Here's a fun one.

Can anyone tell me why the attached VI generates an error (my favorite error code, too - error #1) when a user releases control of it in a web browser? This is a very straightforward example, so I'm hoping I'm missing something obvious or that it's machine-dependent. Otherwise the web server's going to be pretty useless for me in my application...

How to set up this problem:
1) Start labview and make sure the web browser is enabled ("Tools" menu)
2) Place the "WebServerError.html" file into the "...Labview x.x\www" directory
3) Run "WebServerError.vi"
4) Open your browser and go to http://[your_machine's_IP]/WebServerError.html
5) Right-click on the panel in the web browser and select "Release Control of VI"

This generates error #1 on my machine (running WinXP and LV8.2).

I'd like to know if others can generate the same problem. Just as a disclaimer: yes, I know there are other ways to write this code, but this strategy is representative of one used in a much larger, much more flexible application.

I appreciate any help the experts might have!
0 Kudos
Message 1 of 8
(3,705 Views)

hmm...seems the forum doesn't like the ".html" extension (with good reason, I suppose).

Here are the files in a .zip --

0 Kudos
Message 2 of 8
(3,695 Views)
Works perfectly on my computer (also WinXP, LV8.2 and using IE7) without any error. (= I can request and release control several times.)
But I had to modify your html file as you did not include the LabVIEW project in your zip file and your html file's PARAM and EMBED tags referred to your project. (See the attached file.)
Regards, Guenter

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

Whoops.  You're right about the project reference (sorry).

Hm.  I will attempt to run this on another machine here in the office to see if that makes any difference...

0 Kudos
Message 4 of 8
(3,676 Views)
OK - I ran the application on another machine (still XP, LVRTE8.2) and opened a remote panel through a browser on my own machine.  Same problem - the application generates an error as soon as I release control.
 
Anyone have any other ideas?
0 Kudos
Message 5 of 8
(3,665 Views)
HI xactixbcl
There was no problem running your program in LabVIEW 8. However, I noticed the error message in LV 8.20. I will have to spend some more time further investigating the issue. I will get back to you once I have an answer.
In the meantime, use LabVIEW 8 if you have it.
Best regards,
Kalin T.
0 Kudos
Message 6 of 8
(3,650 Views)

I do NOT have labview 8.0, so this is not an option for me.

Please let me know when you hear anything - I would like to use remote panels on an application I'm currently working on.   If it is a bug, it would be nice to know if it will be fixed in 8.2.1, or if it not, if there is a viable workaround.

Thanks.

0 Kudos
Message 7 of 8
(3,618 Views)
We are having the exact same issue.  When a user using the remote panels released control it generates the Error 1.  It only occurs
when the users release control.
 
We are currently using LabView 8.2.1.  The same code was on LabView 7.0 and did not have this problem.  I believe there is a bug
in the remote panel software somewhere.
 
Steve
0 Kudos
Message 8 of 8
(3,499 Views)