Creating time mark output

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times
Contact:

Creating time mark output

Post by jadiflow »

Hi,

I need to create a time mark pulse at around 1mSec intervals, but not constant, it varies a bit.
I was planning to use a timer int to increment a counter. So far so good, but I also use several delays in the program. The time mark int should occur even during a delay.
I don't know which timers Flowcode uses to set a delay. How do I make sure that it doesn't touch my timer that I use for the time marks (for instance TNR0)? Can I specify which timer it should use for delays?

TIA,

Jan Didden

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Creating time mark output

Post by Steve »

Simple answer - Flowcode does not use a timer to generate a delay using the Delay icon.

jadiflow
Flowcode v5 User
Posts: 273
Joined: Thu Apr 17, 2008 9:59 am
Has thanked: 19 times
Been thanked: 16 times
Contact:

Re: Creating time mark output

Post by jadiflow »

OK, clear. So, while in a delay, I continue to receive interrupts (if they are enabled, of course)?

Thanks,

Jan Didden

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Creating time mark output

Post by Steve »

Hi Jan,

Yes - that is correct.

Post Reply