02-08-2012 01:40 PM
I apologize if this has been asked before (it likely has) but TestStand, array, PropertyObject, and LabVIEW are common search terms that generate a ton of results and I didn't find any thread or KnowledgeBase info.
I've passed along the SequenceContext from TestStand to a vi. From there I pull out the AsPropertyObject property. I can see all the nice GetValX methods but none that say to get an array of those. Am I missing something obvious or is the technique to Call GetNumElements and then iterate using GetValXByOffset to reconstruct the array into LabVIEW?
Solved! Go to Solution.
02-08-2012 08:43 PM
Hey SmokeMonster,
Why don't you just use the TestStand Set Property.vi? I have a picture of it.
If you can't use that then the proper way is to use SetValVariant. If you open that TestStand Set Property.vi you will see how they do it.
Hope this helps,
02-09-2012 05:01 PM
Oh dear...the code I was using as a reference was using the property node method and it just never dawned on me to see what was available on the pallette.
Thanks so much for keeping me from essentially re-writing what NI has already delivered.