10-28-2020 08:02 AM - edited 10-28-2020 08:03 AM
Hello again,
I reply to you so late because I tried and tried to understand how the "In place element structure" works...well, I didn't understand, but I adopted your method and this is what I managed to do:
1. create the array
2. Used "In Place Element Structure" to manipulate data inside the cluster
3. Tacking the index from inside the for, I update the cluster at the end of InPlaceElementStructure inside the For that loops through the cluster array
Questions:
1. Should I create a subVI with everything inside InPlaceElementStructure?
2. When updating back the cluster is there a way to do it dynamically, not like I've done it?
3. How do I create an executable/installer to run it on a computer that doesn't have LabView installed?
4. How can I make sure that if you exit by accident the executable, when you run it again, it keeps the last values that have been updated before leaving the app?
Thanks again for your replies and be safe all of you!
Ovidiu
10-28-2020 09:21 AM
"3. Tacking the index from inside the for, I update the cluster at the end of InPlaceElementStructure inside the For that loops through the cluster array "
In Place Structure works ... In Place. It'll affect the data directly, so no need to make an extra 'data update'
10-28-2020 10:06 AM
@BalajO wrote:
Hello again,
I reply to you so late because I tried and tried to understand how the "In place element structure" works...well, I didn't understand, but I adopted your method and this is what I managed to do:
1. create the array
This:
Is not the right tool.
This is the right one:
https://zone.ni.com/reference/en-XX/help/371361R-01/glang/initialize_array/
Questions:
1. Should I create a subVI with everything inside InPlaceElementStructure?
2. When updating back the cluster is there a way to do it dynamically, not like I've done it?
3. How do I create an executable/installer to run it on a computer that doesn't have LabView installed?
4. How can I make sure that if you exit by accident the executable, when you run it again, it keeps the last values that have been updated before leaving the app?
Thanks again for your replies and be safe all of you!
Ovidiu