LabVIEW开发LED滚动显示程序

简介: LabVIEW开发LED滚动显示程序

LabVIEW开发LED滚动显示程序


一个LED滚动显示的程序,允许用户在LED阵列中写入和旋转一行文本。可以改变速度,旋转方向,文本颜色和背景。


旋转可以通过以下方式启动:通过直接作用于前面板的切换开关按钮“rotate”,按Enter,双击显示屏,单击显示屏并松开按钮到初始位置的左侧或右侧,以便也建立文本的旋转方向。操作“inverse”按钮可反转旋转方向。滑动开关“reset view”允许恢复输入的文本字符串。使用的字母表仅包含大写字母、数字和标点符号。

064991d5c29cff1e6af71a093367a89f.png



Changingthe Color of Blinking LED on LabVIEW Front Panel


Aftersetting the on/off state for my LED indicator in LabVIEW, I used a propertynode on my block diagram to set the LED's Blinking property to TRUE. When theVI runs, however, the LED always blinks in yellow regardless of the colorsetting I used. How can I change the blinking color of my LED indicator?


Solution


Theblinking color of a LED indicator is set independently from the on/off statecolor of LED under the property node.


Theon/off state color of LED can be set by either right-clicking the object on thefront panel and changing its properties or through the Color[] property in aproperty node for the object.


Tomodify the blinking color, open the Tools>>Options window in LabVIEW 8.xand select the Colors category. Yellow is the default blinking color forcontrol or indicator in LabVIEW. Modify the colors defined for Blink Foregroundand Blink Background to change the blinking color of the LED.


c37d5c85b0d91a1af8185a15fb3b93fb.png


InLabVIEW 2009 and later, the Colors option has been moved to the bottom of theEnvironment section as seen below.


1b20b22e0fdadc16622b20dc2d99ae2e.png



需要说明的是,上述的例程和文档,都是可以下载的,双击即可打开,其中压缩文件是可以采用粘贴复制的方式,拷贝到硬盘上。这不是图片,各位小伙伴看到后尝试一下,这个问题就不用加微信咨询了。有关LabVIEW编程、LabVIEW开发等相关项目,可联系们。附件中的资料这里无法上传,可去公司网站搜索下载。


LabVIEW程序,如下附件所示。

相关文章
|
20天前
|
存储 机器学习/深度学习 人工智能
Qt魔法书:打造自定义鼠标键盘脚本(二)
Qt魔法书:打造自定义鼠标键盘脚本
46 0
|
8月前
|
存储
串口助手(布局,图标,串口号,隐藏界面,显示实时时间)
串口助手(布局,图标,串口号,隐藏界面,显示实时时间)
123 0
|
调度
MacBookPro外接显示器程序全屏状态,另一个显示器就黑屏
MacBookPro外接显示器程序全屏状态,另一个显示器就黑屏
627 0
MacBookPro外接显示器程序全屏状态,另一个显示器就黑屏
|
20天前
|
存储 缓存
LabVIEW显示缓冲区分配窗口
LabVIEW显示缓冲区分配窗口
22 2
|
20天前
|
监控 Linux iOS开发
LabVIEW监控操纵杆,键盘或鼠标
LabVIEW监控操纵杆,键盘或鼠标
16 0
|
20天前
|
开发框架 Linux API
Qt魔法书:打造自定义鼠标键盘脚本(一)
Qt魔法书:打造自定义鼠标键盘脚本
28 0
|
8月前
STM32 触摸屏移植GUI控制控件
STM32 触摸屏移植GUI控制控件
STM32 触摸屏移植GUI控制控件
STM32:GPIO控制LED闪烁代码部分(内含配置图+代码+代码注释)
STM32:GPIO控制LED闪烁代码部分(内含配置图+代码+代码注释)
436 0
STM32:GPIO控制LED闪烁代码部分(内含配置图+代码+代码注释)
|
12月前
|
搜索推荐
LabVIEW设计自定义指示灯和按钮控件
LabVIEW中提供了很多内置的指示灯和按钮控件,可以实现状态的切换和控制,效果如下图所示:
LabVIEW修改应用程序窗口外观
LabVIEW修改应用程序窗口外观