This is want I want to do:
After INITIALIZING boards,
1) Click on a BUTTON
2) Send a "5V" wave to Pulse generator
3) Acquire data from another board
4) Send "0V" to Pulse generator (without close it)
5) Analyze DATA
Repeate 1) to 5)
I now use a CASE structure to sense the button.
When clicked (true:) it sends '5V' to generator,
then it send a 'true' to another CASE structure
for DATA Acquisition; (false:) sends a '0V'.
It work fine. BUT as the data analysis takes time.
It only sends '0V' after data is analyzed.
I would like to turn 'OFF' the wave form as soon as
the Acquisition is done, which takes ms (Analysis takes seconds).
I would like to use the sequence structure for this task.
As you can see, t
he step 4 breaks 3&5.
How do I pass the acuired data from 3
to 5 for analyzing after step 4?
Thanks.