01-09-2006 12:05 PM
01-09-2006 12:26 PM
Are you sure you don't have that backwards?
If memory serves, the Colors[4] property is settable when the VI is running and the bounds properties are the ones which aren't.
01-09-2006 01:09 PM
01-10-2006 11:47 PM
Hiii,
Thanks for such a wonderful reply, tell me is there any option to change the time for the mechenical action of the button?? I am using the Switch until released action of the button, but in that time case is not executing the whole procedure, but suppose if i will select the Latch until released action it will do it for me, so i want to know that is there any option to change the mechenical action time?
Thanks,
Rujuta
01-11-2006 12:55 AM
Hi Rujuta,
Well you cannot really 'change' the mechanical action time for latch actions.
you have mentioned that your concern is that "case is not executing the whole procedure".
Are you not using a case structure(that is controlled by a bolean button) for executing the selected section of the code?
regards
Dev
01-11-2006 01:22 AM
Hiii, Dev
Thanks, ya i was using it, but it was happening because if the initialisation action which i ve done, so i had forgot to attach the wire to the other structures, and thats why i think problems were there, so its OK now, but i think that we cant really change the time of the boolean action?
Thanks,
Rujuta
01-11-2006 02:15 AM
@Ruju wrote:
but i think that we cant really change the time of the boolean action?
A latched boolean is only returned to its previous value when its terminal is "read" in the diagram. That means that if your code is running in one loop and you click the button which is in another loop, it will not be read until you actually get to that loop. That's the main reason why it is important to place the terminal of a boolean inside its event case.
Switched booleans can be controlled through locals, where you can control the time precisely.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. 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-11-2006 07:09 AM
With the introduction of event driven programming, especially dynamic registration, you can emulate more complex latch actions and can use buttons with a greater degree of fine control. I find myself using a latch less and registering for the button change value event and handle the switching action programatically more and more.
Paul
02-20-2006 09:53 AM
OK, here's an alpha version of the independent blinking program (7.0).
The demo VI shows an example.
I would like to hear some comments and suggestions from any interested parties.
05-23-2008 04:57 AM