10-04-2006 04:48 PM
10-04-2006 04:58 PM
To change the value of a control in more than one place you would usually use a local variable (right click the control and select Create>>Local Variable. You can then write a value to that local and it will be written to the control. Note that a latched boolean control can not have locals, so you will need to change its mechanical action (right click the control).
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).
10-04-2006 05:54 PM
10-05-2006 01:30 AM
@heepofajeep wrote:
If I have it at latch when pressed, it does not stay latched in a while loop, which is what I need. switch when pressed does the job, it just stays 'switched' even after the program ends.
Actually, "latched" means that the control is changed back to its previous value (think for example of the keys in your keyboard - you click one (change it to T) and as soon as you release it it jumps back to F. That's a "Latch when released" action.
In LV, the value is changed back after the terminal is read in the diagram.
10-05-2006 01:49 AM
10-05-2006 02:06 AM