09-05-2017 01:33 PM
thanks for all your notes. thank you!
09-05-2017 01:39 PM
@crossrulz wrote:
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products
For dataflow concepts in particular, LabVIEW Basics --> Dataflow Programming Basics. Probably the most important concept to grasp out of that whole section is: "Remember that a node executes only when data is available at all of its input terminals and supplies data to the output terminals only when the node finishes execution." (This applies to structures as well as nodes. Turn the structure into a subVI and it becomes obvious as to why this is the case.)
Taken to heart, this mantra will guide you towards good LabVIEW coding practices.
09-05-2017 01:43 PM
thanks for the details. I will study that for sure. But plz, plz allow me ask this again. I think I understand that "
but I still don't understand why 2nd state machine can not run until 1st one stop (they are dependent)?
09-05-2017 01:58 PM
@sunson29 wrote:
ill don't understand why 2nd state machine can not run until 1st one stop (they are dependent)?
As I said, because if the green wire (did you read my entire message?)
The green wire coming out of the first loop will only have data once the first loop stops (rule 2). The case structure around the second loop (and anything in it!) cannot start until the green wire contains data (rule 1).
Are you familiar with execution highlighting mode? Try it! It will get you a better understanding.
09-05-2017 02:09 PM
I think I got it! Thank you!
The true or false wire will NOT have any data unless the 1st(left) loop stoped.
09-05-2017 02:58 PM
Hi alterbach,
I am going to make a new question. It's relate to this one. Could you help me check it?
I really really need those 2 state machine to run decently. Because the simulation I am doing with 2 usrp rio, there are 2 state machine here, one for receiving, one for sending. I have to make it like one state machine keep running, and 2nd will run after a condition from 1st one (the true or false wire). Thank you.