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.

Two Programs running at the same time on CR1000


SoilResearcher Dec 11, 2008 03:51 PM

Dear Forum

I recently bought a CR1000 and I would like to improve my code. For one application I have in princple two time loops: With the first time loop I make mesauremnts of different devices. The other loop is used to make some controlling of valves. Both loops differ in scan time. And both loop take too much time to be processes in sequential order. Thus my question is, if CRBASIC offers a possibility to run two loops with different execution and different scan time in parallel.

Thanks for any hints.


jra Dec 11, 2008 05:19 PM

Hello SoilResearcher,

Take a look at your CR1000 manual, sections 9.10 and 9.11 on page 9-20.

I think what you want to do is a SlowSequence scan. Take a look at CRBasic's help and Example for that instruction.

Post again if you need clarification or that doesn't solve your problem.

Regards,
Janet

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