LabVIEW Embedded Development Module Target Distribution Guide Manual

LabVIEW Embedded Development Module Target Distribution Guide Manual
Pages 35
Views 294
Downloads : 3 times
PDF Size : 290.7 KiB

Summary of Contents

LabVIEW Embedded Development Module Target Distribution Guide Manual

  • Chapter 3Creating Icons and Palettes 1,Target Distribution 1,Guide3-2ni.comCustomizing a Palette Set for Your TargetNational Instruments strongly recommends that you remove VIs and functions from the default palette set for your target that your target cannot support. Custom palette sets help end users quickly find the VIs and functions they need for an application and help end users avoid using VIs and functions that your target cannot support.TipYou might want to create your target-specific palette based on the palette set for the Embedded Development Module because the Embedded Development Module palette set already removes VIs and functions that embedded targets do not support. Copy the menu files located in Targets\NI\Embedded\common\TargetInfo\menus to the menu directory for your target. You specify the menu directory for your target in the Target Properties dialog box in the Target Editor, available by selecting Tools»Embedded Tools»Target Editor.National Instruments also strongly recommends you create subpalettes for the target-specific VIs you create. Otherwise, end users must access your VIs by clicking Select a VI on the Functions palette and browsing to the directory containing the VI.Complete the following steps to edit a palette set for a specific target.1.Create a blank VI or open an existing VI under the target whose palette set you want to modify.2.Select Tools»Advanced»Edit Palette Set to display the Edit Controls and Functions Palette Set dialog box.3.Right-click the Controls or Functions palette and select from the options on the shortcut menu.Right-click an open area on the palette to insert an object, row, or column and toggle the standard menu view. Right-click an icon to move a subpalette, delete a subpalette, copy an icon, edit a subpalette icon, rename a subpalette, or edit an icon short name. To move an object, drag it to a new location on the palette. 4.After you edit the palettes, click the Save Changes button on the Edit Controls and Functions Palette Set dialog box. Click the Cancel button to cancel any changes you made in this editing session and close the dialog box.If you edit the palettes, LabVIEW saves the edits in a copy of the original palette. LabVIEW puts the copy in the Palettes folder in the default data directory—for example, My Documents\LabVIEW Data\8.2\Palettes. The protection of the original palettes ensures that you can