NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Data Type Question

Solved!
Go to solution

I am using TestStand for the first time in several years, so I don't remember the best way to do a lot of things. Currently I am writing sequences to test a variety of different UUTs all using the same PXIe chassis. Each UUT has its own top-level sequence, and several subsequences. The PXI chassis has several instruments in it, so I created a custom data type to hold the instrument handles which get passed into the subsequences, so I don't have to keep reinitializing them. I have a custom data type in the the sequence file, and that works fine, except I have to make copies of it for each sequence. I tried creating a station global, but it doesn't show up in the list of containers when I try to create a local variable with it.

 

How do I define a custom variable so that I can access it from any of the sequences?

0 Kudos
Message 1 of 3
(2,537 Views)
Solution
Accepted by topic author Jo-Jo

You need to put your custom data type in a type palette file such as mytypes.ini.

 

Hope this helps,

-Doug

0 Kudos
Message 2 of 3
(2,497 Views)

That's seems to have done the trick.

 

Thanks for the help.

0 Kudos
Message 3 of 3
(2,461 Views)