LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register For Events between executables

Is it possible to "register for events" from another LV 7.1 executable.

I have two LV executables A and B.

A has a front panel with buttons to press. B is only waiting for the buttons in A to be pressed using the dynamic Event Structure (value Change). I am using the VI Server to get the specific Control refnums from A.

The Code works in the LV environment, but after compiling both into executables I get a Error code 1001 in the "Register for Events" node. I do not get an error in my VI Server nodes.

I was just curious if the Run-Time environment supported this or not.

Thanks
0 Kudos
Message 1 of 2
(2,209 Views)
Hi,

Each executable runs in it's own memory, and the events are references to
this memory. Because they use there own memory, the executables cannot
access events registered by the other executable.

You have to think of something else...

Regards,

Wiebe.


"essal" wrote in message
news:5065000000080000000FF40000-1079395200000@exchange.ni.com...
> Is it possible to "register for events" from another LV 7.1
> executable.
>
> I have two LV executables A and B.
>
> A has a front panel with buttons to press. B is only waiting for the
> buttons in A to be pressed using the dynamic Event Structure (value
> Change). I am using the VI Server to get the specific Control refnums
> from A.
>
> The Code works in the LV environment, but after compiling both in
to
> executables I get a Error code 1001 in the "Register for Events" node.
> I do not get an error in my VI Server nodes.
>
> I was just curious if the Run-Time environment supported this or not.
>
> Thanks
0 Kudos
Message 2 of 2
(2,209 Views)