From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

Content Type
Programming Language
Current manual

Moving and Copying Function Panels

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.

  1. Open multclass.fp in the Function Tree Editor.
  2. Select Function 1.
  3. Select Edit»Cut. The function disappears from the tree and is stored on the clipboard.
  4. Select Function 2.
  5. 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.

  1. Select Function 1.
  2. Select Edit»Copy.
  3. Select Class 1.
  4. 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.

  1. Select File»New»Function Tree (*.fp). A new blank Function Tree Editor appears on the screen.
  2. Select Create»Instrument.
  3. Name the instrument New Instrument and type new in the prefix box. Click OK.
  4. Select Window»Function Tree and select the file called multclass.
  5. Select Class 1.
  6. Select Edit»Copy.
  7. Return to the New Instrument file through the Window menu.
  8. 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.

Was this information helpful?

Help us improve your future ni.com experience.

What are you trying to do?

Submit