数据记录仪pro CR1000X系列数据记录仪的例子gram for Apogee Instruments analog amplified quantum sensors (models SQ-212/222/512/515/622/625/642/645) 'date: July 17, 2013 'revised: Dec 21 2020 'program author: Jacob Bingham / John Huber 'Wiring: 'White -> Single ended chanel 1 (analog in) 'Black -> Ground (Signal and power ground) 'Red -> Power (5 - 24 VDC) 'Clear -> Ground (Shield) 'Note for non-Campbell Scientific systems: If the power supply ground is not shared with the signal ground on the datalogger, a bridge wire connecting the two grounds will be needed. 'Explanation of Constants and Variables Used in Datalogger Program 'BattV = datalogger battery voltage 'PanelT = datalogger panel temperature 'OutputmV = Detector millivolt signal 'Quantum = Calibrated Sensor output (micromoles per square meter per second) 'CalFac = Sensor calibration factor (Sensor model specific. Consult your sensor's manual or specification sheet). 'Declare Public Variables Public BattV, PanelT Public Quantum, OutputmV Const CalFac = 1.6 'Change this value to match your sensor model's calibration factor 'Define Data Tables DataTable (Intensity,True,-1) DataInterval (0,1,Min,10) Minimum(1,BattV,IEEE4,0,False) Sample(1,PanelT,IEEE4) Average(1,Quantum,IEEE4,False) EndTable 'Main Program BeginProg Scan(1,Sec,0,0) Battery(BattV) PanelTemp(PanelT,_60Hz) 'Measure sensor raw output VoltSe(OutputmV,1,mV5000,1,True,0,_60Hz,0,0) 'Apply calibration factor Quantum = OutputmV * CalFac 'Call Output Tables CallTable Intensity NextScan EndProg