beautypg.com

Program examples – Campbell Scientific LLAC4 Four-channel, Low-Level AC Conversion Module User Manual

Page 10

background image

LLAC4 Four-Channel, Low-Level AC Conversion Module

5. Program Examples

Using the CR1000, let's measure four different wind speed sensors that produce
low-level AC signals. These will include the RM Young 05103, 05106, 05305,
propeller type anemometers, and RM Young 03101 cup anemometer. Program
examples are provided for both the CR1000 and the CR200(X).

Wiring

Sensor LLAC4

CR1000

CR200(X)

05103-L Sig

+ Red P1

Ref

Black

Drain

Clear

05106-L Sig

+ Red P2

Ref

Black

Drain

Clear

05305-L Sig

+ Red P3

Ref

Black

Drain

Clear

03101-L Sig

+ Black P4

Ref

White

Drain

Clear

12 V

Red

12 V

Battery +

G

Black

G

G

D1

White

C5

PLL

D2

Green

C6

C1/SDI-12

D3

Yellow

C7

C2

D4

Blue

C8

P_SW

G

Clear

G

G

CR1000 Example Program

'CR1000 Series Datalogger
'LLAC4 Sample Program
'Record 10-minute average wind speed in m/s for:
'1 RM Young 05103-L Wind Monitor Anemometer
'1 RM Young 05106-L Marine Wind Monitor Anemometer
'1 RM Young 05305-L AQ Wind Monitor Anemometer
'1 RM Young 03101-L Wind Sentry Anemometer

'Declare Public Variables
Public RMY05103WS
Public RMY05106WS
Public RMY05305WS
Public RMY03101WS

'Define Data Tables
DataTable (WindSpd,1,-1)
DataInterval

(0,10,min,0)

Average

(1,RMY05103WS,FP2,False)

Average

(1,RMY05106WS,FP2,False)

Average

(1,RMY05305WS,FP2,False)

Average

(1,RMY03101WS,FP2,False)

EndTable

4