LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using a boolean network-shared variable to trigger event case

I'm trying to trigger an event structure by using a boolean network-shared variable. Ideally, what I would like is for the variable 'Trigger' to change value on computer X, pass the value to comptuer Y, triggering the program to enter a specific case in an event structure. I think I've figured out the network-shared part, because I can turn an indicator light on and off on Y by changing 'Trigger' on X. I've tried handling the event case with and without the 'user event' vi's but I can't get my program to enter the case in my event structure. I'm hoping I'm just making a rookie mistake, because I've never used shared variables or the user event vi's. help?
0 Kudos
Message 1 of 3
(5,827 Views)

Take a look at this thread, it should answer your question.

 

Rich

NI | UK

0 Kudos
Message 2 of 3
(5,823 Views)

Thanks for posting that thread; I tried using the property node method but ran into one of two things: (1) as mentioned in the thread, the signal value node would trigger a value change every time a value was read, i.e. not useful so I (2) tried implementing a case structure & shift registers to tell if the value changed from one read to the next and then wired to the sig. val. property node if the value had actually changed. The second method didn't result in sucess.

 

Is it maybe a problem with data binding with the shared variable? should I somehow bind the property node to the network shared variable? (is this possible)?

0 Kudos
Message 3 of 3
(5,802 Views)