07-27-2016 06:03 PM
Hi,
Ignore the ActiveX message payload in your UI message. Get a reference to Thread from the uiMsg reference. Then use the Thread reference to return SequenceContext reference. (Use properties or maybe methods) Now you have a handle to the entire execution and you can use GetValue numeric array to read the array directly from the execution without "passing" any data to the UI. Sorry I'm not near TestStand or I;d post a snippet.
cc
07-28-2016 07:07 AM
Thanks for all the Help! This works great now
08-16-2016 09:36 AM
Thanks very much to everyone for your help, that saved months of search.
Is it possible to post a cluster in the same way from a teststand sequence to the simple OI user interface. The TestStand Get Property Value doesn't have cluster in its polimorphic Vi slector list. Therefore using Thread get sequencecontext properties is not applicable in case of a cluster.
08-16-2016 10:51 AM
Hi,
Reading and writing to a cluster/container in TestStand is an issue that is independent from the UIMessage issue. You are right the Get Property Value doesn't have cluster because cluster is a custom type.
You have to read the subproperties within the cluster, like GetValueNumeric(cluster.number) then GetValueString(cluster.string), etc. Or you can also get GetPropertyObject(cluster) and use that reference to read subproperties. Basically you just have to write a little extra code to do it. But after you have that code, then you **can** use Thread get sequencecontext properties to read it.
cc