LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

outputting digital data from parallel loops

Solved!
Go to solution

I have created a state machine that  will select a case from 0-23 with a forward and backward button.  in each case i am trying to output a 6 bit word which will be different for each case. however the the data in each case will only be outputed to the DIgital write function once the stop button is pressed. i unde stand that i have 2 parallel loops but im not sure how to get around this. ive attached my vi

Download All
Message 1 of 2
(2,256 Views)
Solution
Accepted by topic author l_m_s

LabVIEW follows data flow, so your second loop will wait for your data from your stop button. Look for Producer / Consumer Events examples using queues which is a much better way to solve your problem.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 2 of 2
(2,247 Views)