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.

CR3000 different scan interval


bramshaggy Apr 29, 2011 11:58 AM

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


IslandMan May 1, 2011 09:56 AM

Can you try SlowSequence for your items in #2?


bramshaggy May 2, 2011 10:01 AM

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 *


IslandMan May 2, 2011 10:43 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


eddycov1 May 20, 2011 09:19 PM

Yes, put the CS616 into the main sequence.


aps May 23, 2011 01:00 PM

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.

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