09-16-2011 05:40 AM
Hello,
Here is the .vi. Very much appreciate your help. Could you explain the new things you do to it. Thanks,
Nevica
09-16-2011 05:47 AM
I am using LV 2010. Please save it to previous version and send
09-16-2011 06:09 AM
I also use LV2010. Maybe exchange the stacked sequency to a flattened one and have a look at the wiring; I am quite sure that you will immediately see some wires that you did not intend to be like that...
The upper box I was using was an error cluster constant, the other one is the "merge error.vi" you will find it in your functions palette.
09-16-2011 08:43 AM
A rather simple way to get rid of the sequence and avoid the multi connectors is to replace it with a For/While loop and Case structure connected to 'i'. Then you can send your error out to a shift register and use the same connection on all.
Even better is to change the case connection with a enum with a descriptive name, then each case will describe what it does.
Then you can bundle up the functionality in each case/sequence frame into a sub-vi of it's own and simply wire them together. 🙂
/Y
09-16-2011 09:07 AM
@Yamaeda wrote:
A rather simple way to get rid of the sequence and avoid the multi connectors is to replace it with a For/While loop and Case structure connected to 'i'. Then you can send your error out to a shift register and use the same connection on all.
Even better is to change the case connection with a enum with a descriptive name, then each case will describe what it does.
Then you can bundle up the functionality in each case/sequence frame into a sub-vi of it's own and simply wire them together. 🙂
/Y
Kind of like a machine with... states??? Brilliant!
09-16-2011 09:18 AM
Kind of like a machine with... states??? Brilliant!
😉 Sneak the idea onto them.
/Y