beautypg.com

Campbell Scientific AVW200-series Vibrating Wire Interfaces User Manual

Page 92

background image

Appendix G. CR10X Programming Example

10: Z=X (P31)

;Write Decay Ratio to inlocs 65-80

1: 95

X Loc [ DcayRatio ]

2: 65

-- Z Loc [ Decay_1 ]

11: Z=X (P31)

;Write Thermister resistance to inlocs 81-96

1: 96

X Loc [ Thrmister ]

2: 81

-- Z Loc [ Therm_1 ]

12: Z=X*F (P37)

1: 76

-- X Loc [ Therm_1 ]

2: .001

F

3: 76

-- Z Loc [ Therm_1 ]

13: End (P95)

14: Do (P86)

1: 52

Set Port 2 Low

15: Do (P86)

1: 10

Set Output Flag High (Flag 0)

16: Real Time (P77)^25459

1: 1220

Year,Day,Hour/Minute (midnight = 2400)

17: Sample (P70)^326

1: 96

Reps

2: 1

Loc [ Freq_1 ]

*Table 2 Program

02: 0.0000

Execution Interval (seconds)

*Table 3 Subroutines

End Program

G-2