03-31-2014 03:01 AM
Hi all
In TestStand I have a container of objects that are the hardware on this test system. Ideally I would like to pass this container into the LabVIEW steps via the sequence context. However I am struggling to achieve this. Does anyone have any ideas?
Many thanks
Dave B
03-31-2014 09:20 AM
You have to get each subproperty programmatically using the PropertyObject TestStand API.
For example:
double mynum = SequenceContext.Locals.GetValNumber("mylocalVariable.subproperty1", 0)
string mystring = SequenceContext.Locals.GetValString("mylocalVariable.subproperty2", 0)
If you want teststand to convert a teststand data structure into a cluster, then you need to use parameter passing rather than the sequence context. Create an control on your front panel for your cluster and make that an input on your connector pane.
Hope this helps,
-Doug