07-14-2015 09:03 AM - edited 07-14-2015 09:17 AM
I am using Teststand 2010.
I created some custom data types which is container. I defined the order of elements as well as default values. I use this as enum since TS 2010 does not support enum.
There are two problem I would like to verify. When I create variable from these custom data types. The order of the elements is changed. The default value also changed. The default value of variable are not set to 0 but to a random number. I can set this to specific value at setup but I still don't like that the value are messed up. But more importance is the order of element. I created these container to use in TS only not to pass data between TS and LabView. I tried to set "Allow Objects of this Type to be Passed as LabVIEW Clusters" but the order of element still changes.
Regards,
Thang Nguyen
07-23-2015 10:25 AM
One of the solution I found to fix the problem with default value change is delete the current variable and recreate it again.