Questions regarding time #192
-
|
Question asked by e-mail: I am currently writing my diploma thesis and I am using the TcUnit application you developed. I really like what you have created, I will make great use of it! 2: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
|
For 1: For 2: The only two ways are |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I have a similar problem with timer and am also working on my master thesis :) I have a function block that has a part with TON timer and after timer is finished, output variable receives some value. |
Beta Was this translation helpful? Give feedback.
For 1:
Simply create a
TONand once theTONhas triggered, simply evaluate (assert) the output.So simply something like
For 2: The only two ways are
RUN_IN_SEQUENCE()or by using this way.You could also run
TEST_ORDERED()and simply add a TON at the end of the test to delay the output of the test. Please see this.