LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Control - Event Structure

Hi,

I am trying to remote control an application via the VI-Server. Especially I would like to press a button to stop an application in a normal way - via Control Value - Set [Variant]. My problem is that the button is pressed but the event which shell be done isn't executed (based on a while loop with an event structure). Without the event-structure my test application stops in a normal way.

Is there a way to stop the application which is based on an event structure.

Kind Regards,

Joachim
0 Kudos
Message 1 of 2
(2,514 Views)

Hi Joachim,


Is there a way to stop the application which is based on an event structure.[?]

Yes!  As you've described the application, there's a VI with a stop-button, and an event structure registered for the stop-button value-change(?)  To programmatically set the value of the stop-button so that it creates a value-change event, you'll want to change the value of the stop-button by writing to its "value (signalling)" property.

Attached is a [LV8.2.1] VI to help the remote-controller find the right control-reference (on callee) so that it can write to the "value (signalling)" property. Smiley Happy

Cheers.

Message Edited by tbd on 08-17-2007 02:12 AM

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Download All
Message 2 of 2
(2,510 Views)