05-19-2020 06:17 AM
05-22-2020 02:14 AM - edited 05-22-2020 02:18 AM
Hiiii everybody
Finally I did it 🙂
Thanks you all and Mr GerdW.
I have attached my VI for every one that may have the same problem in the future
Also again I m keen to get any advice for improvement
Thanks
05-22-2020 04:35 AM - edited 05-22-2020 04:39 AM
Hi Laian,
I strongly suggest to improve your VI.
Ideas:
1. Replacement to your conversion from string to your boolean cluster. No need to set an iteration count for the loop, no need to create a 2D boolean array, no need for ReshapeArray…
2.
Why do you need so much code to convert the boolean cluster into a string again? Why do you use a while loop when you need a FOR loop? Why does that button had no label? Why does that loop(s) spin as fast as possible just to burn one CPU core?
On your overall VI: you really should implement a state machine!
I also think there will be a better UX when you would present those 160 switches in a different way to the user…
05-27-2020 05:23 AM
Hi Mr GerdW
as you said I have used state machine. but it is for another device and has a little bit change
Is there any advice for improvement?
Thanks