07-01-2009 01:28 AM
Hi,
I wonder if it is possible to dynamically load step types from C#
Suppose the following, I have 100 different custom step types defined and I have 5 different test systems. If I select one of the test systems I should see a subset of the available step types, Ex only 20 of the available step types. This behavior should be dynamic, if I select another test system (initiated by executing some C# code from a Teststand menu item), the previous selected step types should be unloaded and other step types from my 100 predefined step types loaded.
Does anyone know if this is possible?
Best regards
Pccds
07-01-2009 09:29 AM
Hi
I'd suggest to do it with GetTypePaletteFileList and SetTypePaletteFileList. With that methods you can load different typepalettes with
different step types on it. But unfortunately there is a bug that the insertion palette is not updated automatically when you change
the type palettes with TestStand API.
07-02-2009 01:15 AM
Thanks a lot DianaS
I will try your suggested solution!