Discussion:
How can I disable messages generated by Remote Panel?
(too old to reply)
Klein
2008-08-06 18:10:07 UTC
Permalink
I created an application (EXE) to server its panel to other network clients.
 
I used the Tools > Web Publishing Tool to generate a HTML code to create two different web pages to access this application using Web server:
 
- Embedded (for some users who need visualize the panel in real time).
- Monitor (to display panel snapshots to users updated every 1 second).
 
I don't need anyone controlling the remote panel, so I used this option:
Tools > Options > Web Server: Browser Access and checked Allow Viewing (not controlling) for every client connected.
 
Ok, both are working fine. But it a user try to Request control of VI on the Embedded page (right click in the remote panel), the application running in the server displays a message: Denied control request from XXX: Check permissions.
 
The embedded page stills working fine, but in the Monitor page that message appears in a box (see attached picture below)..
 
<img src="Loading Image...">
&nbsp;
Is there a way to disable&nbsp;all messages in the remote panel? I realized that I need to&nbsp;access the computer where the application EXE is running to close the message.
&nbsp;
I'm thinking in&nbsp;two solutions:
- Unable the right click menu in the&nbsp;embedded page to avoid clients request control of the remote panel.
- Run a code in the application to erase messages generated.
&nbsp;
Has anyone an idea how to solve this?
&nbsp;
Thanks in advance,
&nbsp;
KleinMessage Edited by Klein on 08-06-2008 12:54 PM


Remote Panel message.jpg:
http://forums.ni.com/attachments/ni/170/347209/1/Remote Panel message.jpg
Klein
2008-08-07 01:40:05 UTC
Permalink
Could I programmatically disable messages generated in remote panels?
Or simulate a mouse click to erase the message box created when someone try request control of the remote panel?
&nbsp;
Thanks,
Klein
dpcamargo
2008-08-07 17:40:06 UTC
Permalink
Klein,
I don't think there is a way to disable this message from LabVIEW.
You could either use the Monitor option, wich would send&nbsp;images of your&nbsp;front panel&nbsp;but would not be able to monitor in real time (2-3 secs delay), or try to find a way&nbsp;to disable right clicking your webpage with java embedded on your html code.
Dario Camargo
NI Brazil
#1215811
Klein
2008-08-07 23:40:05 UTC
Permalink
Hi Dpcamargo,
&nbsp;
I'm already using monitor with a delay of 1 second and this doesn't seems real time like remote panel visualization.
&nbsp;
But you sent me a good tip: use java code to cancel right clicks at all....
&nbsp;
I will try this solution.&nbsp;
Hey, we are both brazilians! So, thank you so much,&nbsp;Dpcamargo.
&nbsp;
&nbsp;
&nbsp;

Continue reading on narkive:
Loading...