当前位置:网站首页>LabVIEW learning note 5: you cannot return to the original state after pressing the button
LabVIEW learning note 5: you cannot return to the original state after pressing the button
2022-07-27 21:14:00 【Gutie_ bartholomew】
The picture is like this

The button is this attribute

Click execute , The serial port successfully issued this series of instructions , But this button is always pressed , Unable to return to the original state .

Later, I found that I didn't put the button control in while In circulation , After putting it in, it can be restored

The point is labview Whether to read the control value
Control ?
| Control (control) | Interactively to VI Input data or programmatically transfer to sub VI Front panel object for input data , Like a knob 、 Button or turntable . |
| Control palette (Controls palette) | Contains input controls in the front panel 、 Palette for displaying controls and decorative objects . |
Use Control palette The input control and display control of are created for LabVIEW VI Front panel . Input controls and display controls provide a way to send input data to the program block diagram and receive output data . single click see » Control palette Or right click the front panel workspace , Show Control palette .
Mechanical action of Boolean control ?
The mechanical actions of Boolean controls are used to create real instruments ( Such as oscilloscope and multimeter ) Similar front panel behavior . The same thing about switching and triggering actions is that they both change the value of Boolean controls , The difference lies in how they restore the original value of the control .
- Switch action — If you want the control value to be restored to the previous value only by the user , Use this action .
- Trigger action — If you want to read the control's VI When restoring the control value to the previous value , Use this action . At this time, the user can also restore the control value to the previous value , But it must be in VI Before reading the control .
| notes : Trigger action is incompatible with local variables , And when trigger action is used in the event structure , Usually place the Boolean control terminal at “ Value change ” Within the event structure . |
边栏推荐
- 论文赏析[AAAI18]面向序列建模的元多任务学习
- Set up discuz forum and break the stolen database
- Digital leading planning first, focusing on the construction of intelligent planning information platform and the exploration and practice of application projects
- JS closure knowledge
- Leetcode daily practice - 203. remove linked list elements
- Custom learning rate
- redis cook book.notes.
- Qt 链接MSSQL
- Ipv4/ipv6, DHCP, gateway, routing
- R language uses t The test function performs a t-test to verify whether the population mean is a specific value (inferring the population mean from the sample set)
猜你喜欢

MAPGIS 3D scene rendering technology and Application

Leetcode daily practice - 876. Intermediate node of linked list

Leetcode-209- subarray with the smallest length

mysql 最大建议行数2000w,靠谱吗?

AIRIOT答疑第6期|如何使用二次开发引擎?

Feixin died in 2022: a good hand of China Mobile was broken, and 500million users became "zombies"

NATAPP内网穿透工具外网访问个人项目

LeetCode-209-长度最小的子数组

基于文件上传漏洞获得网站 shell 权限

How to talk to CIO / CTO
随机推荐
[R language] [1] beginners learn the grammar of R language and edit it with rstudio
Brand list cases
Command line PDF Converter::: fcoder 2PDF
PG 之 Free Space Map & Visibility Map
实名认证在文旅出行行业的应用场景有哪些?
14 day Hongmeng device development practice - Chapter 7 device networking cloud learning notes
基于文件上传漏洞获得网站 shell 权限
访问共享文件夹时提示“因为文件共享不安全 SMB1协议”请使用SMB2协议
MapGIS三维管线建模,唤醒城市地下管线脉搏
redis cook book.notes.
激光雷达中国前装大幕开启,数百万颗产能待消化
Understanding network model overview of network model
用伪元素before实现元素的等比例缩放
Differences among native objects, built-in objects, and host objects
自动化测试----selenium(二)
AIRIOT答疑第6期|如何使用二次开发引擎?
QT OpenGL makes objects move under care to form animation
Natapp intranet penetration tool Internet access personal projects
redis cook book.notes.
MAPGIS 3D scene rendering technology and Application