09-26-2014 11:02 PM
I am learning object oriented in labview, and I have serveral questions.
1. If my class data has 10 data members, do I create one accessor VI for each data members or do I create only one accessor VI and create a cluster for the data members?
2. One advantage of using a class is to eliminate cluster. If that's the case, does that mean method vi in a class should not have a cluster as an input or ouput (except for the error cluster)?
3. Sometimes, a class vi would have additional inputs besides an object. If that's the case, should these additional input become data members of the object's class? This way, a method VI will always have 2 inputs, object and error cluster.
09-26-2014 11:26 PM