11-05-2010 09:22 PM
Hello Everyone!
I wanted to show a problem I have. I'm trying to make an algorithm in LabView 8.0 that every time I triggered a toggle button it is saved in a string the time (hour, minute, second) in which the trigger was made, and that if it is operated several times, in the same string write one after another to finally have a string with all the times that has been triggered the button. I hope I’ve explained myself correctly… If anyone could send me a VI I will thank him a lot because it’s very important for my project!!!
Thanks a lot for your time,
G.
11-06-2010 12:02 AM
I would suggest using an event structure. Just use the concantanate string function with a shift register in a value change event. The way without an event structure is the Boolean connected to a case statement with the same concantanate string/shift register as in the event structure.
11-06-2010 02:49 PM
I’m sorry, but this does not work, because when I have the boolean set to "true", althoug it lasts a very short time, It adds many variables, so I have more “times” to those who truly are ... if you could send me some VI with your idea, it would be great. Thank you very much.
G.
11-06-2010 02:55 PM
You just need to set the correct mechanical action of the Boolean. Right click on the control and change it to "Latch When Released'.