From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-02-2018 03:41 PM
@amkamyab wrote:
i want to record time of each data in array that i can see delay between pushing buttons.
Maybe the attached example can give you some ideas. The possibilities are endless!
08-03-2018 12:16 AM
Thanks again for your help. it is very useful.
what i want to see is duration time between two true value in array as i showed in picture. my program attached also here.
Thanks again
08-03-2018 03:59 AM - edited 08-03-2018 11:13 AM
@amkamyab wrote:what i want to see is duration time between two true value in array as i showed in picture. my program attached also here.
My earlier code should have enough hints for you to do that, but your case is even simpler, because the time increment are multiples of the loop time.
Maybe all you need is an output array that contains the durations. The booleans are all the same, so that's not worth storing.
(btw, it is difficult to program if the front panel is maximized to the screen. Why do you do that??? Is there a reason you are using "built array" and "insert into array" to do the same thing? Why are your feedback nodes initialized differently?)
08-03-2018 04:17 AM
may i ask you give me your email that i send real program that i have, that you can see what is it exactly?
08-03-2018 04:03 PM
@amkamyab wrote:
may i ask you give me your email that i send real program that i have, that you can see what is it exactly?
(No, that's not how the forum works and you could not afford me as a private consultant. 🐵
Simplify your code to a minimal example that still shows the problem, attach it here, and give everyone a chance to help.