NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand should realize Labview TypeDef / Strict TypeDefs

Then perhaps I am doing something wrong, because I do just that and TestStand still complains. On LV side I add a simple String and give it "NameA", make the corresponding change to the TestStand type, and it still complains that the defintions don't match. The only way I can fix it is by renaming and clicking the icon to create a custom data type.
0 Kudos
Message 11 of 15
(1,561 Views)

After you make the change to the teststand type, you need to open the properties dialog on the type and update the cluster passing settings for the newly added property. Are you doing this and it's still not working?

 

-Doug

Message 12 of 15
(1,551 Views)

As myself and Doug have mentioned, you need to go to the Type properties (right click on the type, select Properties) and change the Cluster Passing label field in the typedef to match the label of the field in the LabVIEW typedef.

 

For example, if you have added a new numeric called 'Voltage' to your LabVIEW tyepdef, you'll need to add a numeric to your TS typedef (can be called anything, suppose you name it 'Foo' for this example), then go to the properties of the type, Cluster Passing tab, select 'Foo' in the Property dropdown and enter 'Voltage' for the Cluster Item Label. This tells TS how to map the fields of the container to the fields of the LV typedef.

CTA, CLA, MTFBWY
Message 13 of 15
(1,546 Views)

That fixed it guys!  Wish I would have known that a few days ago, would have saved me an hour or so of work.

0 Kudos
Message 14 of 15
(1,540 Views)

Everyone,

 

Please vote for the following feature request:

 

http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Link-Custom-Data-Types-to-LabVIEW-Type-Defs/idi-p...

 

This is something that is long overdue and would be a great addition to the TestStand product.

CLA, CTA
0 Kudos
Message 15 of 15
(1,489 Views)