LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use active X buttons and dynamic events in a remote pannel?

I am using an active-X toolbar in my LabVIEW 7.0 application. A callback vi is used to trigger a dynamic value change event which is registered to a control on my front panel, (when a button on the toolbar is pressed, the callback vi picks it up and writes the button value to a value (signaling) property node which is referenced to a control on the main front panel. A value change event for that control is picked up in the main vi and the proper action takes place). This all works fine when I run it locally. My problem is that this event is not generated when I use the web server to publish the front panel to a web page, then go to that web page using Internet Explorer and try to interact with the vi u
sing the toolbar. All other events work as they should - everything but the dynamic events. Any help would be greatly appreciated.
0 Kudos
Message 1 of 3
(2,759 Views)
Hello,

Thank you for contacting National Instruments.

I believe the reason you are experiencing problems is because ActiveX controls embedded on a front panel draw and operate almost completely independent of LabVIEW. In fact, unless you have the same ActiveX object installed on a remote client, an ActiveX control embedded on a front panel will not even display on the remote client's browser.

When you manipulate the ActiveX control in the web browser, it is physically changing the ActiveX object installed on that remote computer, rather than the same ActiveX object installed on the local machine. The rest of your program is expecting the object on your local machine to change, but it is not.

I am not sure that you will be able to generate value change
events off an ActiveX control via a remote browser. I will look into it a little more, and if I find out otherwise, I will let you know.

Matthew C
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,759 Views)
> events work as they should - everything but the dynamic events. Any
> help would be greatly appreciated.

As the other post pointed out, remote panels are an effective
client-server solution when using LV objects. Since they are native to
LV, they can be split into UI and execution portions and remoted. The
activeX controls cannot do this, at least not using the remote panel
protocol.

If you build a slightly more complicated client piece, and that directly
uses explicit VI Server or TCP, you can have the client ActiveX
control's value changes transmitted to the server machine, but it can't
happen automatically, at least not at this point.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,759 Views)