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