
CS100 Barometric Pressure Sensor
8
Example 2. Sample Program for CR10X (Edlog) Datalogger
;{CR10X}
;
*Table 1 Program
01: 1 Execution Interval (seconds)
;Turn on CS100 one minute before the hour
;
1: If time is (P92)
1: 59 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 48* Set Port 8* High
;Measure CS100 at the top of the hour
;
2: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 30 Then Do
3: Volt (SE) (P1)
1: 1 Reps
2: 15 2500 mV Fast Range
3: 6 SE Channel
4: 1 Loc [ P_mb ]
5: 0.2 Multiplier
6: 600 Offset
;Turn off CS100
;
4: Do (P86)
1: 58* Set Port 8* Low
5: End (P95)
6: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
7: Real Time (P77)
1: 0110 Day,Hour/Minute (midnight = 0000)
;Store in high resolution mode to retain 0.01mb resolution
;
8: Resolution (P78)
1: 1 High Resolution
9: Sample (P70)
1: 1 Reps
2: 1* Loc [ P_mb ]
*Table 2 Program
02: 0.0000 Execution Interval (seconds)
Commentaires sur ces manuels