the Mechanical Action of a Boolean Object in labview
2007-08-27 16:14
621 查看
Source: http://www.dinga.cn/default.asp?CateID=16&page=2
the Mechanical Action of a Boolean Object
Complete the following steps to change the mechanical action of a Boolean control.
Place a Boolean control on the front panel.
Right-click the Boolean control and select Properties from the shortcut menu to display the Boolean Properties dialog box.
Click the Operation tab of the Boolean Properties dialog box.
Select a button behavior appropriate to the application from the Button behavior list. An explanation of the behavior appears in the Behavior Explanation section, and you can test the selected behavior in the Preview Selected Behavior section.
In the icons that appear in the Behavior Explanation section, M represents the motion of the mouse button when you operate the control, V represents the output value of the control, and RD represents the point in time the VI reads the control.
You can select from the following button behaviors:
Switch when pressed—Changes the control value each time you click it with the Operating tool, similar to a light switch. This behavior is not affected by how often the VI reads the control. (按下鼠标时改变值,并且新值一直保持到下一次按下鼠标为止)
Switch when released—Changes the control value only after you release the mouse button during a mouse click within the graphical boundary of the control. This behavior is not affected by how often the VI reads the control. (按下鼠标时改不变,释放鼠标时改变值,并且新值一直保持到下一次释放鼠标为止)
Switch until released—Changes the control value when you click it and retains the new value until you release the mouse button. At this time, the control reverts to its default value, similar to the operation of a door buzzer. This behavior is not affected by how often the VI reads the control. You cannot select this behavior for a radio buttons control. (按下鼠标时改变值,保持新值一直到释放鼠标为止)
Latch when pressed—Changes the control value when you click it and retains the new value until the VI reads it once. At this point, the control reverts to its default value even if you keep pressing the mouse button. This behavior is similar to a circuit breaker and is useful for stopping a While Loop or for getting the VI to perform an action only once each time you set the control. You cannot select this behavior for a radio buttons control. (按下鼠标时改变值,并且新值一直到被VI读取一次为止)
Latch when released—Changes the control value only after you release the mouse button within the graphical boundary of the control. When the VI reads it once, the control reverts to its default value. This behavior works in the same manner as dialog box buttons and system buttons. You cannot select this behavior for a radio buttons control. (释放鼠标时改变值,并且新值一直到被VI读取一次为止)
Latch until released—Changes the control value when you click it and retains the value until the VI reads it once or you release the mouse button, depending on which one occurs last. You cannot select this behavior for a radio buttons control. (按下鼠标时改变值,保持新值一直到释放鼠标并被VI读取一次为止)
相关文章推荐
- Rails Web App Learning in action (1)--the basic version of students selective courses
- 跟踪算法基准--Tracking the Trackers: An Analysis of the State of the Art in Multiple Object Tracking
- The role of an object storage system in the cloud
- Question: About the five types of action of Node in jBPM
- Rails Web App Learning in action (2)--the basic version of students selective courses
- [Javascript] A function works like 'print_r()' in PHP to print out the details of an object for JS debugging
- General Object Initiating Function by the Example of $injector.instantiate Implementation in angular
- Part 68 - What is the use of NonAction attribute in mvc
- const at the end of function and passing const object in a function call
- A Demonstration of the SIFT algorithm in action
- Some of the continuous-integration tools that work with Ant (From Ant in Action 2nd Edition)
- How one VBA project can use an object declared in the class module of another project
- Spring in Action 3 - the startup lifecycle of a typical bean
- In C++, which of the following syntax can be used for instantiating an object named arr of the vecto
- jspx页面初始化时将View Object中SQL的变量赋bindings中的值 bind variable of the sql in vo
- The method below converts an array of objects to a DataTable object in C#.
- Error occurred in deployment step ‘Activate Features’: Operation is not valid due to the current state of the object
- Rails Web App Learning in action (3) ---the basic version of students selective courses Contents
- webview使用遇到 It is possible that this object was over-released, or is in the process of deallocation错误的解决办法