04-11-2006 12:35 PM
04-12-2006 04:22 PM
Elaine,
Where would your tool be called from? In most cases where I would consider using such a tool, I would either expect to have an Operator Interface-type application, or a tool that would be called by an interface that is already displaying the sequence.
In the case of a Tools Menu Item, you can always examine the contents of RunState.InitialSelection.SelectedSteps to see what steps the user had selected prior to calling your Tool. This assumes you are calling the tool from an envrionment that is displaying the sequence already.
If the sequence is called from an environment that doesn't display a sequence, it seems to make sense to start with an OI-type design that has editing capabilities. In that case, you would need a minimal amount of code normally found in an OI (such as AppMgr Start and Shutdown) in order to connect the SequenceView Control to the Manager Controls.
As for other TS UI Controls, the Expression Edit Controls is fairly widely used outside of OI situations, but I don't think it applies in your case.
If I am misunderstanding how your tool would be used, let me know how you plan on using it and I can see if I can think of any other ideas for you.
Allen P.
NI
04-12-2006 04:46 PM