11-28-2007 08:23 AM
11-28-2007 08:48 AM
Hi Peter,
What version of TestStand are you using? When I lay down an Expression Step in TS 4.0 and set Locals.myArray = RunState.Engine.GetTypeNames() Then I get 140 elements in Locals.myArray. It looks like all the types in my type pallettes are in the list. I am doing this from the Sequence Editor.
What are you seeing if you do something similar? How many elements get returned for you?
Regards,
11-28-2007 08:52 AM
11-28-2007 09:02 AM
So I passed the Sequence Context to a LV VI and grabbed the engine and then called the GetTypeNames() method from an invoke node. Then I get that returned as a Variant. I converted that to an array of strings and passed it back to my sequence and it looks the same as calling RunState.Engine.GetTypeNames().
Just a little more from my end.
12-13-2007 08:07 AM