キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

store data in array just when there is data.

解決済み
解決策を見る

@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!

 

 

0 件の賞賛
メッセージ11/15
860件の閲覧回数

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

すべてをダウンロード
0 件の賞賛
メッセージ12/15
849件の閲覧回数

@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?)

0 件の賞賛
メッセージ13/15
841件の閲覧回数

may i ask you give me your email that i send real program that i have, that you can see what is it exactly?

 

0 件の賞賛
メッセージ14/15
834件の閲覧回数

@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.

0 件の賞賛
メッセージ15/15
823件の閲覧回数