04-12-2013 07:35 AM
Hi,
is there a way to add custom StepTypes, no only on a folder in the InsertionPalette, but all together (grouped) in a subfolder ?
Currently, I'm able to add my custom StepTypes in a 'MenuGroupName' on the root level of the Insertion Palette (see 'MY GROUP1'and 'MY GROUP2'), but I'd like to add all my StepTypes in a common folder ('MY STEPTYPES').
And I want to achieve this from code (C#).
Anyone ?
INSERTION PALETTE
- Tests
|- Pass/Fail Test
|-....
- LavVIEW Utility
|-Check..
- MY_STEPTYPES
|-MY_GROUP1
|-Action1
|-Action2
|-MY_GROUP2
|-Action3
|-Action4
TIA
Franky
04-15-2013 08:47 AM
Right-click on the control and choose customize. A dialog will help you make more complex settings. Resave all type palettes with your types before redistributing them. The insertion palette menu settings are saved with every type palette and when you then move the type palette to another machine it will try to place the step types in a best fit match given the types on the other machine (as long as your types have never been on the machine before). The settings are also saved in testexec.ini. If a type exists in the settings in testexec.ini that is used instead of the settings in the type palette. so to reset things you need to delete or remove the menu settings from testexec.ini
Hope this helps,
-Doug
04-15-2013 08:51 AM
Thanks Doug,
but I want to achieve this from code (C#).
Any idea ?
04-16-2013 07:54 AM
why do you want to achieve this from C#? Are you programmatically creating your step types?
-Doug
04-16-2013 08:14 AM
Hi Doug,
yes, indeed, the step types are created programmatically and that works fine.
The problem is that the new Step Types are just added to the Insertion Palette, each in his own menu group, on the root level.
We want to add our Step types not on the root level, but in a common folder (all automatic, without user-interaction).
In other words: I want to add a new Group in the Insertion Palette and adding then all my Step Types into that Group.
All this must be done programmatically (C#).
Any idea ?
TIA
Franky
04-19-2013 09:18 AM
There is no supported way to do what you are asking that I am aware of.
-Doug