I'm a newbie on CRbasic programming.
I have a CR3000 micrologger and sensors for Open Path Eddy Covariance system. For those sensors I separate it into 2 different scan intervals:
1. 10Hz scan interval (CSAT3 and LI-7500)
2. 1 second scan interval and averaged every 30 minutes (HMP45C, TCAV, CNR-2)
The problem occur when I want to make 2 different scan interval on a pipeline mode using SUB. I put the 1 second interval into main program and the 10Hz into SUB. The program compiled successfully.
When I'm trying to collect the data, it seems the program only running for the SUB program. The main program only running at the beginning.
Is there any correction for my program?
Thank you very much.
Best regards
Can you try SlowSequence for your items in #2?
Thank you very much, it works!!!
But I have another problem about the SlowSequence. The CS-616 (soil moisture sensor) doesn't allowed to put on the SlowSequence.
Moreover, there's a warning appears:
Warning: Time Slicing Conflict in Slow Seq 1, Scan 1, with Scan 1.
How can I fix that problem?
Thank you
* Last updated by: bramshaggy on 5/2/2011 @ 4:34 AM *
Not sure how often you need to measure the CS-616 but you might be able to put it in the main scan with
If IfTime (0,15,Sec) Then
CS616 (Dest,1,1,1,1,1.0,0)
Endif
Yes, put the CS616 into the main sequence.
And if you want to stay running in pipeline mode (which is best for Eddy covariance) do not put an IF statement around the CS616 instruction - you need to make the measurement unconditionally.