View Single Post
  #4   Spotlight this post!  
Unread 24-02-2010, 08:11
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 136
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Dashboard Front Panel trouble

There is another sneaky trick you can use to create your own Boolean glyphs. You can draw them in the icon editor (double-click on the icon in the upper right corner of a VI to edit it). I typically use a new Untitled VI to draw my glyphs. Once you have the glyph you want, type Ctrl-c (in the editor) to copy it to the clipboard. You now have a glyph ready to paste when you edit a Boolean indicator.

On a separate VI, drop a Flat Square Button: To do this, right-click on the front panel and go to Classic>>Classic Boolean>>Flat Square Button. Highlight the button and then in the menus click Edit>>Customize Control... A new window will open where you can edit your control. Right-click on the control and choose Import Picture from Clipboard>>True for your T glyph and Import Picture from Clipboard>>False for your F glyph. When you are done, choose File>>Save to save your custom control.

One limitation to this approach is you are limited by the size of the VI icon (32x32), but I find this to be good for most of my custom Booleans.

Attached is a zip that contains an up arrow control and a down arrow control I created using this method.
Attached Files
File Type: zip controls.zip (4.4 KB, 7 views)
Reply With Quote