10-15-2012 11:11 AM
I have several thousand enumerations that I need to enter (add to an existing file) into a TestStand "Type Pallette" file (i.e.: MyTypes.ini).
Is there any existing tool to import the enumerations from Excel or an XML file into a Type Pallette file?
I'm hoping that I don't have to enter them by hand.
Mike
10-16-2012 09:50 AM
Enumerations are not something that is natively supported by TestStand, so I'm not entirely sure how you plan on representing them. You can however create types programmatically using the TestStand API. Since you have several thousand, it's probably worth writing a program which uses the TestStand API to create the corresponding types. See the API help for the PropertyObject interface. You can get a reference to the MyTypes.ini file via Engine.GetTypePaletteFileList. Creating types programmatically this way is not trivial, but it's doable. You might want to find someone with more experience doing things like this to help you with it.
-Doug
10-17-2012 07:20 AM
Thanks, I'll have to look into it. I was hoping there was an easier way...
Mike