NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Type Files from Excel

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

 

0 Kudos
Message 1 of 3
(3,059 Views)

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

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

Thanks, I'll have to look into it.  I was hoping there was an easier way...

 

Mike

 

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