Moving and Copying Function Panels
- Updated2023-02-21
- 2 minute(s) read
Moving and Copying Function Panels
You can move a function and its associated function panel in a function tree to a new position within the function tree. To move a function, drag the function and drop it into a new position. You also can cut a function and paste it into a new position.
Complete the following steps to cut and paste a function within a function tree.
- Open multclass.fp in the Function Tree Editor.
- Select Function 1.
- Select Edit»Cut. The function disappears from the tree and is stored on the clipboard.
- Select Function 2.
- Select Edit»Paste Below. The function now appears under Class 1.
Instead of moving a function, you can replicate it. Complete the following steps to copy a function within a tree.
- Select Function 1.
- Select Edit»Copy.
- Select Class 1.
- Select Edit»Paste Above. The name Function 1 now appears at the top of the tree and under Class 1.
![]() |
Note Pasting functions and classes within the Function Tree Editor copies all items associated with the function or class, including controls and function panel help. |
Using Existing Function Panels in a New Instrument Driver
Complete the following steps to copy function panels from an existing instrument driver to a new instrument driver.
- Select File»New»Function Tree (*.fp). A new blank Function Tree Editor appears on the screen.
- Select Create»Instrument.
- Name the instrument New Instrument and type new in the prefix box. Click OK.
- Select Window»Function Tree and select the file called multclass.
- Select Class 1.
- Select Edit»Copy.
- Return to the New Instrument file through the Window menu.
- Select Edit»Paste Below. Class 1 and its associated functions appear in the new tree.
When you paste a class into a new tree, all information associated with the class and the functions of the class is retained.