From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

LabVIEW 小技巧

LabVIEW 小技巧

                       

 

 

在按钮上加图标

 

邹重基

 

1. 加工图标:

双击 Front Panel 右上角的图标,打开 Icon Editor

 

将选定的图标贴入。

 

诀窍:将背景涂成白色(255,255,255),白色的背景是透明色

2.除去背景:

拷贝:Ctrl + C, 或用 menu =>Edit =>Copy

诀窍:千万别选一个区域!!!

 

 

 

无选区时,LabVIEW 自动将背景除去。

 

 

3.Customize 按钮:如图,右击按钮选 Advanced =>Customize

 

 

4.加图标:

诀窍:Import image as Decal

 

 

 

5. 整理图标位置:

如图,先 Release Text,然后将 Boolean Text 拖至一旁,并给予适当名称,最后将图标拖至适当位置。

 

 

 

 

 

George Zou
0 项奖励
1 条消息(共 17 条)
12,849 次查看

Switch between the old and the new icon editor:

untitled.png

 

 

The attached VI set to run when open, and close afterward.

To see the diagram, drop it onto a diagram, and double click it.

 

George Zou
0 项奖励
2 条消息(共 17 条)
12,846 次查看
3 条消息(共 17 条)
12,804 次查看

判定用户是否拥有管理员的权限:(WinXP Only)

 

 

George Zou
0 项奖励
4 条消息(共 17 条)
12,789 次查看

A splash screen demo.

 

George Zou
0 项奖励
5 条消息(共 17 条)
12,650 次查看

Combo box

自动下拉菜单 when mouse hover

 

in LabVIEW 2011

George Zou
0 项奖励
6 条消息(共 17 条)
12,591 次查看

拖放图片 in picture 控件.

 

George Zou
0 项奖励
7 条消息(共 17 条)
12,310 次查看

Add text to Numeric control:

Untitled.png

 

Change display format:

Untitled1.png

 

George Zou
0 项奖励
8 条消息(共 17 条)
12,183 次查看
9 条消息(共 17 条)
7,872 次查看

HexagonRing.JPG 

详见付件.

 

George Zou
0 项奖励
10 条消息(共 17 条)
7,102 次查看