LabVIEW开发LED滚动显示程序 点击:208 | 回复:0



fjczd

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:552帖 | 36回
  • 年度积分:703
  • 历史总积分:1294
  • 注册:2008年8月14日
发表于:2023-04-17 19:53:58
楼主

LabVIEW开发LED滚动显示程序

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

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

 

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.

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

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

LabVIEW程序,如下附件所示。




楼主最近还看过


热门招聘
相关主题

官方公众号

智造工程师