01-23-2007 09:26 AM
01-23-2007
12:45 PM
- last edited on
11-26-2025
11:49 AM
by
Content Cleaner
You should try working with standard events before using dynamic events.
As for your questions:
The dynamic events available in the event structure are determined by the dynamic event terminal (inside the right red square in the image below). When you change the Mouse Move event, it is no longer available and you have to configure the event structure to use another event.
The Mouse Up and Mouse Down? events are registered for all the controls (left red square), so clicking on any control would generate those events.

There should be a tutorial on this site about using dynamic events. You can use the search engine to find it. Also, reading the LabVIEW help on this is a good idea.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
01-23-2007 02:27 PM
01-23-2007 02:52 PM
01-24-2007 09:06 AM - edited 01-24-2007 09:06 AM
Message Edited by trout00 on 01-24-2007 09:07 AM
01-24-2007 09:14 AM
A couple of suggestions:
The easy way is to create a property node for your boolean and use the Value (Signaling) property. This property will cause Value Change events to fire whenever you write to it. Note that you will have to change the mechanical action of the boolean to a switch one and use a local variable to reset it.
A better way is to create a state machine. There are some examples under the Design Patterns section of the File>>New dialog.
In this case, you will create a Stop Compressor state and simply call it from both places.
01-24-2007 09:49 AM
01-24-2007 09:56 AM
You can use an event structure in a state machine in one of two ways:
You really should look at those templates I mentioned, as they show how to do this.
02-20-2008 10:56 AM