09-04-2014 05:53 AM
Hello. I have an array of clusters and iam using clusters elements for read data from a file and calculating vs.
But when i try use cluster no:1 elements other clusters elements changing too. How can i fix it?
09-04-2014 06:08 AM
By "use cluster no.1 elements", do you mean that you're changing a property of the element or the value? Each element in an array has the same properties, so changing one cluster will affect all array elements. If the values are changing, you've got something else going on. Share your code and we can tell better.
09-04-2014 06:10 AM
Need to see some code.
I'm left to assume that you are setting the values using a property node. That will not work since all of the elements of an array must have the same properties. They can have different values, but you can't just set the value of a single element in an array. You have to update the array and write the entire array to the control/indicator.
09-04-2014 07:00 AM - edited 09-04-2014 07:01 AM
http://www.dosya.tc/server34/3eDRhV/NewFolder.zip.html
My project link.
I need control all clusters free from others. But now when i change a clusters element value others clusters elements changing too.
09-04-2014 07:04 AM
09-04-2014 07:09 AM
Asking for help in PMs is not going to get you far. What's wrong with just keeping the discussion here?
And post your code here. I am not going to go to another site that I don't trust just to download your code. Not to mention my work's firewall blocks most of those file storing sites.
09-04-2014 07:24 AM
Thanks for your reply. I mofieded but its still updating other clusters elements too.
09-04-2014 07:32 AM
Sorry crossrulz You right.
Now I upload my file to here.
09-04-2014 08:17 AM
Why are you using the IPE structure? Not that it is a bad thing but generally the unbundle by name, and bundle by name give you more flexibility in what you are reading, and writing.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-04-2014 08:34 AM
My problem its not about IPE structure or reading and writing data. Just when i want change some value (ex: ullage for first cluster) other clusters value changing too. I think i need different control for all clusters.I added Case Structre for that but its still changing other clusters elements.