cbutcher wrote:
Jarrold wrote:Is it possible for you to show me an example so that i can better relate and learn from it, cbutcher?
Yes. I'm attaching your VI (possibly you've made improvements since this copy, but hopefully you can see the idea and just implement it in your code if you have) with a cluster for Time and Temp measurements. The cluster is defined in the case that measures the temperature (but it probably shouldn't be!) and then a Linked Input Tunnel is used to ensure the wire is passed by default through other cases.
The reset case wires empty arrays to both in the Bundle By Name node we discussed.
You should make the cluster a typedef (right click on the little pink box and click Make Type Def.) and add it to your project. You can do similar things for the readings on other panels, hopefully allowing you to reclaim some of your screen space ![Smiley Happy Smiley Happy]()
I also removed the confusing (to me) loop for the Time Array. Hopefully it still does what you want, if not, just use what you already have. I use a Build Array with only one input to make a 2D array if you want that display - I didn't really understand what you meant in your recent post about the 1D/2D indicator, so I wasn't sure which you wanted.
Hi cbutcher,
Firstly, I would like to thank you for all your help. I am really really thankful for the kind guidance and advice you gave me. Without your assistance, I wouldn't have been able to complete it.
So back to the project, I am actually very curious because initially, I right-click the small box and selected "Use default if unwired" but it didn't work the right way. Then i tried to connect up all the boxes individually and it worked. What is the logic behind it? Visually, I can see that the little box is different but I do not understand what is the difference. Care to share? ![Smiley Happy Smiley Happy]()
Meanwhile, I will try to implement it on other panels as well. Anyway, with regards to your query as to why I need to convert it into 2D, it is for report generation purpose. In my report generation VI, it requires a 2D array as input that's why.
Once again , thank you and hopefully you will not stop here cause I still have many things i could perfect on.
Yours sincerely,
Jarrold