Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.

Log in or register to post/reply in the forum.

Running command after certain period of time (CR1000X)

Waq Dec 11, 2018 03:31 PM

Hey everyone,

Is there a way to run a command after a certain period of time relative to its place in the program as opposed to the start of the scan rate. I'm looking for something similar to the TimeIsBetween function in CRBasic but not relative to the Beginning of the Program Scan.

To elaborate more here's some pseudocode for what I'm trying to do:

//*Program Instructions*




//*Continue Running Program*

//When Timer = 100 msec (some kind of check to see if 100ms has passed yet)


The Delay command would be similar to what we are looking for (i.e. placing a 100ms Delay after the first I2CWrite) but I don't want to hold up the program's processing or measuring instructions. 


EDIT: Using a Timer works, Admin can delete this question now. Thanks

Log in or register to post/reply in the forum.