LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I get two parallel state machines to run faster?

I would use the notifier.  I don't know why you'd need to use both.  A local variable can work.  But you have to be careful about race conditions.  Generally, race conditions are more of a problem when you might have multiple writers.  Or if you want to pass all the data along without losing any data, or if there is a risk that the reader has a problem with getting stale data.  If you have a single writer, and you don't care about all data coming through, for instance a boolean that says On or Off, and you care about the latest value, a local variable should be okay.

Message 11 of 12
(237 Views)

Okay great. I'll work on it tonight and see if there's any progress. Thanks for all your help so far. 

0 Kudos
Message 12 of 12
(218 Views)