02-01-2012 07:51 AM
Solved! Go to Solution.
02-01-2012 07:55 AM
Do you want to have a single cluster to have different UUT config values or different clusters?.. Please elaborate your question that would be helpful.
02-01-2012 07:58 AM
02-01-2012 08:01 AM
That still doesn't explain things. A cluster is a datatype. It's not an object. Maybe you're thinking of LVOOP (read the LabVIEW Help on this)?
02-01-2012 08:04 AM
02-01-2012 08:09 AM
Given that you haven't described what you're actually putting into the cluster, I don't know how you can expect anybody to say whether it's "efficient" (definition still to be determined). For example, does the cluster datatype have huge 3D arrays of EXTs? Or does it have a string, some Booleans, and a few numbers? Or does it hold the contents of a 100MB binary file? You can be all over the map.
02-01-2012 08:12 AM
02-01-2012 08:16 AM
You are not saying the "magic words" we want to hear so I'l throw out an idea for you to dismiss.
Find one instance of teh cluster.
1) right-click adnavced customize
2) In the control editor change the drop down from "control" to type def.
3) Save the type definition.
4) Close the control editor and say yes when LV asks to replace the original with the type def.
5) Go through the rest of your code and replace the non-type-def'd with your new type def.
Any time you have to make changes to the data type edit the control type def and let it update all instances.
Now if you data type changes at run time... then you will ave to go to LVOOP.
Trying to help,
Ben
02-01-2012 08:21 AM
You can have a huge number of data inside a cluster and clusters of clusters but the basic question is:
For Eg. You have 10 elements in the cluster and you have 10 UUT so do you want to give these 10 values to your UUT's individually?.
Or try explaining bit more your actual scenario.
02-01-2012 08:27 AM
I have a system containing 12 items that are similar but may have differences. I want to use the clusters to store information about each item so when i come to control the system I can act appropriatly according to this setup informstion. The data will include what signals are present, comms digital IO etc...
I would like each cluster to be specific to a UUT,
hope its a bit clearer
thanks for your time