Campbell Scientific SS100 Sensor Simulator User Manual
Page 6
![background image](/manuals/416107/6/background.png)
SS100 Sensor Simulator
CRBasic Measurement Instruction:
VoltSe
(WindDir,1,mv2500C,1,1,0,_60Hz,360/2200,0)
Wind Speed (Use SS100 High Frequency Pulse Output)
Range:
0-50
m/s
Accuracy: +/- 5% > 5 m/s or 0.2 m/s < 5 m/s
Resolution: 0.1 m/s
Wind Speed Output: Linear, Calm = 3Hz, 50 m/s = 140 Hz
Wiring
SS100
CR1000
P P1
G
Multiplier and offset calculation:
Using the equation of a line with two known points (0,3) and (50,140):
y=mx + b; m = (50-0) / (140-3) = 0.365 m/s / Hz
b=y-mx; 50 - .365(140) = -1.095 m/s
CRBasic measurement instruction:
PulseCount (WS_ms,1,1 ,0,1,.365,-1.095) 'configured for high frequency
CR1000 Wind Speed and Wind Direction Example
'CR1000 Series Datalogger
'Declare Public Variables
Public WS_ms, WindDir
'Define Data Tables
DataTable (SS100,true,-1)
DataInterval
(0,60,Sec,10)
WindVector
(1,WS_ms,WindDir,FP2,False,0,0,0)
FieldNames
("WS_ms,WindDir,WindDir_SD1")
EndTable
'Main Program
BeginProg
Scan
(1,Sec,0,0)
'Analog Output - Simulated Wind Direction
VoltSe
(WindDir,1,mv2500C,1,1,0,_60Hz,360/2200,0)
'Pulse Output - Simulated Wind Speed
PulseCount
(WS_ms,1,1
,0,1,.365,-1.095)
'high frequency Hz
'Call
Output
Tables
CallTable
SS100
NextScan
EndProg
2