当前位置:网站首页>LabVIEW学习笔记五:按钮按下后无法返回原状
LabVIEW学习笔记五:按钮按下后无法返回原状
2022-07-27 18:08:00 【Gutie_bartholomew】
图是这个样子的

按钮是这个属性

点了执行之后,串口顺利的发出了这串指令,但是这个按钮一直是按下状态,无法返回原状态。

后来发觉是没有把按钮的控件放到while循环里,放进去过后就能还原了

重点在于labview是否读取到控件值
控件?
| 控件(control) | 以交互方式向VI输入数据或以编程方式向子VI输入数据的前面板对象,如旋纽、按钮或转盘。 |
| 控件选板(Controls palette) | 包含前面板中输入控件、显示控件和修饰型对象的选板。 |
使用控件选板的输入控件和显示控件创建用于LabVIEW VI的前面板。输入控件和显示控件提供了向程序框图发送输入数据和接收输出数据的途径。 单击查看»控件选板或右键单击前面板工作区,显示控件选板。
布尔控件的机械动作?
布尔控件的机械动作用于创建与真实仪器(如示波器和万用表等)类似的前面板行为。切换和触发动作的相同之处在于它们都改变布尔控件的值,不同之处在于它们如何恢复控件原值。
- 切换动作—如希望只能由用户将控件值恢复到前一个值时,使用该动作。
- 触发动作—如希望由读取控件的VI将控件值恢复到前一个值时,使用该动作。此时用户也可将控件值恢复上前一个值,但必须在VI读取控件之前进行。
| 注: 触发动作与局部变量不兼容,且在事件结构中使用触发动作时,通常将布尔控件接线端置于“值改变”事件结构内。 |
边栏推荐
- 2022-07-19 advanced network engineering (XX) BGP route optimization, route optimization analysis one by one
- antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key
- Redis basic understanding, five basic data types
- EasyCVR平台关闭录像为何还会有TS切片文件生成?
- Clickhouse implements materializedpostgresql
- How to improve the picture transmission speed and success rate in the development of IM instant messaging under the mobile network
- Nailing development document
- 软件测试面试题:已知一个数字为1,如何输出“0001
- Jetpack compose performance optimization guide - compilation metrics
- JVs privatization deployment start failure handling scheme
猜你喜欢
![[efficiency] abandon notepad++, this open source substitute is more awesome!](/img/41/495bbe4d1e6d953ba5c4d8984f81e7.jpg)
[efficiency] abandon notepad++, this open source substitute is more awesome!

在字节干了两年离职后,一口气拿到15家Offer

A new UI testing method: visual perception test

MySQL驱动jar包的下载--保姆教程

When adding RTSP devices to easycvr platform, what is the reason for the phenomenon that they are all connected by TCP?

antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key

Oracle +JDBC

Analysis on the optimization of login request in IM development of instant messaging mobile terminal

Data warehouse construction - DWD floor

一个程序员的水平能差到什么程度?
随机推荐
Ten year test old bird talk about mobile terminal compatibility test
软件测试面试题:已知一个数字为1,如何输出“0001
用户和权限创建普通用户
技术博客及教程
greedy
Mongodb learning notes: bson structure analysis
Software test interview question: how to output "0001" when a number is known to be 1
How bad can a programmer be?
What are the apps of regular futures trading platforms in 2022, and are they safe?
C language POW function (how to play exponential function in C language)
A recently summarized universal violent cracking method
2022.07.11
MediaTek releases Helio g80, a mid-range game phone chip
[hierarchical reinforcement learning] HAC paper and code
access control
JVs basic framework function list
EasyCVR平台添加RTSP设备时,出现均以TCP方式连接的现象是什么原因?
【毕设教程】YOLOv7 目标检测网络解读
In 2019, the global semiconductor market revenue was $418.3 billion, a year-on-year decrease of 11.9%
[rctf2015]easysql-1 | SQL injection