Appendix C. CVF4 Ventilation Unit
C-10
TABLE C-3. Wiring for Program Controlling CVF4 Heater
Function
CMP11
Wire
Color
109
Wire
Color
CVF4
Wire
Color
Relay
Power
Supply
Terminal
CR1000X
Terminal
109 Shield
Shield
⏚
CVF4 Ventilator Power
Red
12V
CVF4 Heater Power
White
2
CVF4 Power Ground
Black
G
CVF4 Tachometer Signal
Green
P1
CVF4 Shield
Clear
⏚
Relay Control
3
C1
Relay Ground
4
G
Relay Power
1
12V
Data Logger Power
12V
12V
Data Logger Power Ground
G
G
CRBasic Example C-1. CVF4 Example Program
'CR1000X Series Data Logger
'Example program for CVF4
'Declare Public Variables
Public
PTemp, batt_volt
Public
GH_Irradiance_CMP11
Public
CVF4_Tach
Public
SolarPos(5)
Public
Airtemp
Public
TimeArray(9)
'Declare Constants
Const
CMP11_Sensitivity = 12.5
Const
Latitude = 41.767561
Const
Longitude = -111.85592
Const
Altitude = 1358
'Define Aliases
Alias
SolarPos(1) = SolarAzimuth
Alias
SolarPos(2) = SunElevation
Alias
SolarPos(3) = HourAngle
Alias
SolarPos(4) = Declination
Alias
SolarPos(5) = AirMass
'Define Data Tables
DataTable
(Ten_Min,1,-1)
DataInterval
(0,10,Min,10)
Minimum
(1,batt_volt,FP2,0,False)
Sample
(1,PTemp,FP2)
Average
(1,GH_Irradiance_CMP11,IEEE4,False)
StdDev
(1,GH_Irradiance_CMP11,IEEE4,False)
Average
(1,CVF4_Tach,IEEE4,False)
EndTable