11-21-2005 08:53 AM
11-21-2005 10:21 AM
11-21-2005 10:39 AM
11-21-2005 10:48 AM
11-22-2005 10:35 AM
I found the View::Type Palette area and selected Customize. I also read in the TestStand Reference Manual ch 11, describes how to do this somewhat. It mentions there that “You must prefix the file names of the type palettes you install with Install_. At startup, TestStand searches the TypePalettes directory for type palette files with the Install_ prefix. When TestStand finds a type palette file to install whose base file name is not the same as any existing type palette, TestStand removes the Install_ prefix and adds the type palette to the type palette list.
So, I created a Install_MyTypes.ini file, but it's not clear how I add a new type to it.
I found this in the VEE example "Step, Instance of Type 'VB_VEE_NumericLimitTest", but when I enter this it says it already exists.
And how is the VEE icon created. Help!
11-22-2005 11:00 AM
11-22-2005 02:58 PM
11-22-2005 03:20 PM
1) It's not required, but I would recommend either only modifying the MyTypes.ini file or creating your own types document in addition to this one. For example, if you plan on distributing a subset of your steps to another developer, it would make sense to create a new types document for this purpose.
2) If you are copying MyTypes.ini to another machine, you would be usually replacing a file that is already in the TypePallettes List. So be careful in doing this, as there may be types defined in that document that will now be overwritten. If you named the document Install_MyNewTypes.ini and opened Teststand, it would add MyNewTypes.ini to the list, and replace the file with one of that name.
3) The names are arbitrary and were chosen by the developer who made these step types. They represent two step types for calling VEE code. Each has a different behavior, and are based on the default NI Step Types (Numeric Limit Test and Pass/Fail Test). If you want to add your own type, you can call it whatever you want (although a unique name is best, since you can only load one type of a given name in memory at any time). The Step Type Properties are much more useful in terms of defining what the step does and how it behaves.
Allen P.
NI