NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get names of types in palette file

Solved!
Go to solution

Hi,

 

How can I programmatically get the names of all the step types in a palette file?

 

I feel it should be possible, but I tried different approaches using the API reference poster and couldn't find a way.

 

Thanks and regards,

Aditya

TestStand 4.2.1

LabVIEW 2009 SP1

0 Kudos
Message 1 of 3
(3,232 Views)
Solution
Accepted by topic author Changi

propertyObjFile.TypeUsageList.NumTypes

propertyObjFile.TypeUsageList.GetTypeDefinition()

typeaspropobj.TypeCategory == TypeCategory_StepTypes

 

 

Hope this helps,

-Doug

Message 2 of 3
(3,226 Views)

Thanks Doug.

 

I was actually looking for a solution for this. After your tip, I managed to resolve it! 🙂

 

Cheers,

Aditya

TestStand4.2.1

LabVIEW 2009 SP1

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