NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting TestStand arrays in LV via SequenceContext and PropertyObject

Solved!
Go to solution

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?

 

 

0 Kudos
Message 1 of 3
(3,057 Views)
Solution
Accepted by topic author CoastalLabVIEWER

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,

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(3,051 Views)

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.

0 Kudos
Message 3 of 3
(3,032 Views)