“Products manufactured by CSI are warranted by CSI to be free from defects in
materials and workmanship under normal use and service for twelve months
from the date of shipment unless otherwise specified in the corresponding
product manual. (Product manuals are available for review online at
www.campbellsci.com.) Products not manufactured by CSI, but that are resold
by CSI, are warranted only to the limits extended by the original manufacturer.
Batteries, fine-wire thermocouples, desiccant, and other consumables have no
warranty. CSI’s obligation under this warranty is limited to repairing or
replacing (at CSI’s option) defective Products, which shall be the sole and
exclusive remedy under this warranty. The Customer assumes all costs of
removing, reinstalling, and shipping defective Products to CSI. CSI will return
such Products by surface carrier prepaid within the continental United States of
America. To all other locations, CSI will return such Products best way CIP
(port of entry) per Incoterms ® 2010. This warranty shall not apply to any
Products which have been subjected to modification, misuse, neglect, improper
service, accidents of nature, or shipping damage. This warranty is in lieu of all
other warranties, expressed or implied. The warranty for installation services
performed by CSI such as programming to customer specifications, electrical
connections to Products manufactured by CSI, and Product specific training, is
part of CSI's product warranty. CSI EXPRESSLY DISCLAIMS AND
EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE. CSI hereby disclaims,
to the fullest extent allowed by applicable law, any and all warranties and
conditions with respect to the Products, whether express, implied or
statutory, other than those expressly provided herein.”
Assistance
Products may not be returned without prior authorization. The following
contact information is for US and international customers residing in countries
served by Campbell Scientific, Inc. directly. Affiliate companies handle
repairs for customers within their territories. Please visit
www.campbellsci.com to determine which Campbell Scientific company serves
your country.
To obtain a Returned Materials Authorization (RMA), contact CAMPBELL
SCIENTIFIC, INC., phone (435) 227-9000. After an application engineer
determines the nature of the problem, an RMA number will be issued. Please
write this number clearly on the outside of the shipping container. Campbell
Scientific’s shipping address is:
CAMPBELL SCIENTIFIC, INC.
RMA#_____
815 West 1800 North
Logan, Utah 84321-1784
For all returns, the customer must fill out a “Statement of Product Cleanliness
and Decontamination” form and comply with the requirements specified in it.
The form is available from our web site at www.campbellsci.com/repair. A
completed form must be either emailed to repair@campbellsci.com or faxed to
(435) 227-9106. Campbell Scientific is unable to process any returns until we
receive this form. If the form is not received within three days of product
receipt or is incomplete, the product will be returned to the customer at the
customer’s expense. Campbell Scientific reserves the right to refuse service on
products that were exposed to contaminants that may cause health or safety
concerns for our employees.
Table of Contents
PDF viewers: These page numbers refer to the printed version of this document. Use the
PDF reader bookmarks tab for links to specific sections.
8-2. Temperature Calculation ................................................................... 11
C-1. Voltage Ratio, Resistance, and Temperature ................................... C-1
ii
Model 107 Temperature Probe
1. Introduction
The 107 Temperature Probe uses a thermistor to measure temperature in air,
soil, and water. It is compatible with all Edlog and CRBasic dataloggers
except the CR200(X) and CR9000(X). See Section 6, Specifications, for a
complete list of compatible dataloggers.
2. Cautionary Statements
Santoprene® rubber, which composes the black outer jacket of the 107 cable,
will support combustion in air. It is used because of its resistance to
temperature extremes, moisture, and UV degradation. It is rated as slow
burning when tested according to U.L. 94 H.B. and passes FMVSS302.
However, local fire codes may preclude its use inside buildings.
3. Initial Inspection
•Check the packaging and contents of the shipment. If damage occurred
during transport, immediately file a claim with the carrier. Contact
Campbell Scientific to facilitate repair or replacement.
4. Quickstart
•Check model information against the shipping documents to ensure the
expected products and the correct lengths of cable are received. Model
numbers are found on each product. On cables and cabled items, the
model number is usually found at the connection end of the cable. Report
any shortages immediately to Campbell Scientific.
Short Cut is an easy way to program your datalogger to measure the 107 probe
and assign datalogger wiring terminals. Use the following procedure to get
started.
1. Install Short Cut by clicking on the install file icon. Get the install file
from either www.campbellsci.com, the ResourceDVD, or find it in
installations of LoggerNet, PC200W, PC400, or RTDAQ software.
1
Model 107 Temperature Probe
2. The Short Cut installation should place a shortcut icon on the desktop
of your computer. To open Short Cut, click on this icon.
3. When Short Cut opens, select New Program.
4. Select Datalogger Model and Scan Interval (default of 5 seconds is
OK for most applications). Click Next.
2
Model 107 Temperature Probe
5.Under the Available Sensors and Devices list, select the Sensors |
Temperature folder. Select 107 Temperature Probe. Click to
move the selection to the Selected device window. Data defaults to
degree Celsius. This can be changed by clicking the Deg C box and
selecting Deg F, for degrees Fahrenheit, or K for Kelvin.
6. After selecting the sensor, click at the left of the screen on Wiring
Diagram to see how the sensor is to be wired to the datalogger. The
wiring diagram can be printed out now or after more sensors are
added.
7. Select any other sensors you have, then finish the remaining Short Cut
steps to complete the program. The remaining steps are outlined in
Short CutHelp, which is accessed by clicking on Help | Contents |
Programming Steps.
3
Model 107 Temperature Probe
5. Overview
The 107 is a rugged probe that accurately measures air, soil, or water
temperature in a variety of applications. The sensor consists of a thermistor
encapsulated in an epoxy-filled aluminum housing. This design allows the
probe to be buried or submerged in water to 15 m (50 ft) or 21 psi. When
measuring air temperature, a 41303-5A radiation shield is normally used to
mount the 107 and limit solar radiation loading. See Specifications for a
complete list of compatible dataloggers.
6. Specifications
8. If LoggerNet, PC400, RTDAQ, or PC200W is running on your PC,
and the PC to datalogger connection is active, you can click Finish in
Short Cut and you will be prompted to send the program just created
to the datalogger.
9. If the sensor is connected to the datalogger, as shown in the wiring
diagram in step 6, check the output of the sensor in the datalogger
support software data display to make sure it is making reasonable
measurements.
Features
• Measures air, soil, or water temperature
• Compatible with AM16/32-series multiplexers
• Easy to install or remove
• Durable
• Compatible with Campbell Scientific CRBasic dataloggers CR800
series, CR1000, CR3000, and CR5000. Also compatible with Edlog
dataloggers CR10(X), CR500, CR510, CR23X, 21X, and CR7(X).
Sensor Element: Measurement Specialties 100K6A1iA
thermistor
Survival Range: –50 to 100 °C
Measurement Range: –35 to 50 °C
Time Constant in Air: 30 to 60 s in a wind speed of 5 m/s
Maximum Cable Length: 1000 ft
Accuracy1
Worst case: ±0.4 °C (–24 to 48 °C) ±0.9 °C (–35 to 50 °C)
Interchangeability Error: ±0.10 °C (0 to 50 °C)
±0.20 °C at –10 °C
±0.30 °C at –20 °C
±0.40 °C at –30 °C
±0.50 °C at –40 °C
4
CRBasic Therm107()
Steinhart-Hart
Equation Error: ≤±0.01 °C (–35 to 50 °C)
Model 107 Temperature Probe
Edlog Temp (107) (P11)
Polynomial
Linearization Error: <±0.1 °C (–24 to 48 °C)
<±0.5 °C (–35 to 50 °C)
7. Installation
FIGURE 6-1. Linearization error, where error is the difference between
actual and datalogger computed temperature.
1
The overall probe accuracy is a combination of the thermistor interchangeability specification, the
precision of the bridge resistors, and the error of the Steinhart-Hart equation used in CRBasic
instruction Therm107() (CRBasic dataloggers), or the error of the polynomial fit used in Edlog
instruction Temp (107) (P11) (Edlog dataloggers). The major error component is the
interchangeability specification of the thermistor. For the range of 0 to 50 °C, the
interchangeability error is predominantly offset and can be determined with a single point
calibration. The offset can be entered in the measurement instruction Offset parameter. Bridge
resistors have 0.1% tolerance with a 10 ppm temperature coefficient.
Probe Length: 10.4 cm (4.1 in)
Probe Diameter: 0.762 cm (0.3 in)
Weight with 10 ft Cable: 136 g (5 oz)
If you are programming your datalogger with Short Cut, skip Section 7.1,
Wiring to Datalogger, and Section 7.2, Datalogger Programming. Short Cut
does this work for you. See Section 4, Quickstart, for a Short Cut tutorial.
5
Model 107 Temperature Probe
TABLE 7-1. Wire Color, Function, and Datalogger Connection
NOTE
7.1 Wiring to Datalogger
Wire Color Wire Function
Black Voltage-excitation input
Red Analog-voltage output
Purple Bridge-resistor lead
Clear EMF shield
7.2 Datalogger Programming
Short Cut is the best source for up-to-date datalogger programming code.
Programming code is needed,
• when creating a program for a new datalogger installation.
• when adding sensors to an existing datalogger program.
If your data acquisition requirements are simple, you can probably create and
maintain a datalogger program exclusively with Short Cut. If your data
acquisition needs are more complex, the files that Short Cut creates are a great
source for programming code to start a new program or add to an existing
custom program.
Datalogger Connection
Terminal
EX, VX
(voltage excitation)
SE
(single-ended,
analog-voltage input)
AG or
(analog ground)
G
(power ground)
Short Cut cannot edit programs after they are imported and edited
in CRBasic Editor.
A Short Cut tutorial is available in Section 4, Quickstart. If you wish to import
Short Cut code into either Edlog or CRBasic Editor to create or add to a
customized program, follow the procedure in Appendix B.1, Importing Short Cut Code into a Program Editor. Programming basics for CRBasic and Edlog
dataloggers are provided in the following sections. Complete program
examples for select dataloggers can be found in Appendix B, Example Programs.
If the 107 probe is to be used with long cable lengths or in electrically noisy
environments, consider employing the measurement programming techniques
outlined in Section 8.3, Electrically Noisy Environments, and Section 8.4, Long Cable Lengths.
Details of 107 probe measurement and linearization of the thermistor output
are provided in Section 8.2, Measurement and Output Linearization.
6
7.2.1 CRBasic
NOTE
7.2.2 Edlog
Model 107 Temperature Probe
The Therm107() measurement instruction programs CRBasic dataloggers
(CR800-series, CR1000, CR3000, CR5000) to measure the 107 probe. It
supplies a 2500 mV excitation, makes a half-bridge resistance measurement,
and converts the result to temperature using the Steinhart-Hart equation (see
Section 8.2, Measurement and Output Linearization, for more information):
• Temperature reported as °C — set Mult to 1 and Offset to 0
• Temperature reported as °F — set Mult to 1.8 and Offset to 32
• Ac mains noise filtering — set Integ to _60Hz or _50Hz (see Section
8.3, Electrically Noisy Environments)
•Compensate for long cable lengths — Set SettlingTime to 20000 (see
Section 8.4, Long Cable Lengths)
The Temp(107) (P11) measurement instruction programs Edlog dataloggers
(CR10(X), CR510, CR500, CR23X, 21X, and CR7(X)) to measure the 107
probe. It makes a half-bridge resistance measurement and converts the result
to temperature using a fifth-order polynomial (see Section 8.2, Measurement and Output Linearization, for more information):
1: Temp (107) (P11)
1:1 Reps
2:1 SE Channel
3:21 Excite all reps w/E1, 60Hz, 10ms delay
4:1 Loc [ T107_C ]
5:1.0 Multiplier
6:0.0 Offset
Parameter 3: Ex Channel Option specifies the excitation channel
to be used for the measurement. Option 21, which applies a 60 Hz
noise filter to the measurement, is normally used. See the Edlog
help system for information about other options.
Variations:
• Temperature reported as °C — set Multiplier to 1 and Offset to 0
• Temperature reported as °F — set Multiplier to 1.8 and Offset to 32
• Ac mains noise filtering — see Section 8.3, Electrically Noisy
Environments
•Compensate for long cable lengths — see Section 8.4, Long Cable
Lengths
7.3 Air Temperature Installation
For air temperature measurements, locate probes over an open level area at
least 9 m (EPA) in diameter. The surface should be covered by short grass or
the natural earth surface where grass does not grow. Probes should be located
at a distance of at least four times the height of any nearby obstruction, and at
least 30 m (EPA) from large paved areas. Sensors should be protected from
thermal radiation, and adequately ventilated.
7
Model 107 Temperature Probe
41303-5A
107
Tripod Mast
or Tower Leg
Standard air temperature measurement heights:
• 1.25 to 2.0 m (WMO)
• 2.0 m (EPA)
• 2.0 m and 10.0 m temperature difference (EPA)
When exposed to sunlight, the 107 should be housed in a 41303-5A or 413035B six-plate solar radiation shield. The louvered construction of the shields
allows air to pass freely through, thereby keeping the probe at or near ambient
temperature. The white shields reflect solar radiation. The 41303-5A attaches
to a crossarm, mast, or user-supplied pipe with a 2.5 to 5.3 cm (1.0 to 2.1 inch)
outer diameter. The 41303-5B attaches to a CM500-series pole or a usersupplied pole with a 5.1 cm (2.4 inch) outer diameter.
Tools required for installing a radiation shield to a tripod or tower include:
• 1/2 inch open end wrench
• small screw driver provided with datalogger
• small Phillips screwdriver
• UV resistant cable ties
• small pair of diagonal-cutting pliers
FIGURE 7-1. 107 and 41303-5A Radiation Shield on a tripod mast
8
Model 107 Temperature Probe
41303-5A
107
Tripod Mast
or Tower Leg
CM200 Series Crossarm
FIGURE 7-2. 107 and 41303-5A Radiation Shield on a
CM200 Series Crossarm
The 107 is held within the radiation shield by a mounting clamp on the bottom
plate of the 41303-5A (FIGURE 7-2). Loosen the two mounting clamp screws,
and insert the probe through the clamp and into the shield. Tighten the screws
to secure the sensor in the shield, and route the sensor cable to the instrument
enclosure. Secure the cable to the tripod or tower using cable ties.
7.4 Water Temperature Installation
107 probes can be submerged to 15 m (50 ft) or 21 psi. The 107 is not
weighted, so a weighting system should be added, or the probe secured to a
fixed submerged object such as a piling.
7.5 Soil Temperature Installation
The 107 tends to measure the average temperature over its length, so it should
generally be buried such that the measurement tip is horizontal to the soil
surface at the desired depth.
One or two coils of cable should also be buried in a shallow installation. Burial
of some cable mitigates the effect of solar heating of the above ground cable on
the temperature measurement.
Placement of the cable inside a rugged conduit may be necessary for long cable
runs, especially in locations subject to digging, mowing, traffic, use of power
tools, or lightning strikes.
The maximum burial depth for soil that could become saturated with water is
dictated by the maximum water pressure allowed for the sensor, which is 21
psi.
9
Model 107 Temperature Probe
8. Operation
8.1 Sensor Schematic
FIGURE 8-1. 107 thermistor probe schematic
8.2 Measurement and Output Linearization
Campbell Scientific dataloggers measure the 107 probe thermistor and convert
the result to temperature. With reference to the previous FIGURE 8-1, 107 thermistor probe schematic, a precise excitation voltage is applied at the Vx
line and the voltage drop across the 1 kΩ resistor is measured at the Vs line.
The ratio of measured voltage (Vs) to excitation voltage (Vx) is related to
thermistor resistance (Rs), and the 1 kΩ ohm and 249 kΩ fixed resistors as
described in the following equations:
Vs/Vx = 1000 / (Rs + 249000 Ω + 1000 Ω)
Solving for Rs:
Rs + 250000 Ω = 1000 • (Vx/Vs)
Rs = 1000 • (Vx/Vs) – 249000
TABLE 8-1, 107 Measurement Details, and TABLE 8-2, 107 Temperature
Calculation, describe how measurement results Vs/Vx and Rs are converted to
temperature by Campbell Scientific dataloggers.
10
Model 107 Temperature Probe
TABLE 8-1. 107 Measurement Details
Equation
CR800
TABLE 8-2. Temperature Calculation
Edlog dataloggers are CR10(X), CR500, CR510, CR23X, 21X, and CR7.
Datalogger
Model
CR1000
CR3000
CR5000
CR10
CR10X
CR500
CR510
CR23X
Measurement
Instruction
CRBasic
Therm107()
Edlog
Temp(107)(P11)
Excite
mV Result Scaling
2000 Vs/Vx
Multiply
by 800
Applied to
Scaled Result
Steinhart-Hart
(automatically
applied)
Fifth-order
polynomial
‡
(automatically
applied)
Fifth-order
21X
CR7(X)
Edlog
Temp(107)(P11)
4000 Vs/Vx
Multiply
by 800
polynomial
‡
(automatically
applied)
†
Fixed series resistance is subtracted before applying Steinhart-Hart.
‡
Multiplier of 800 scales Vs/Vx for the polynomial fit.
CRBasic Dataloggers1
Therm107() instruction measures the ratio Vs/Vx, calculates the thermistor resistance
Rs, and converts Rs to temperature using the Steinhart-Hart equation2:
T = 1 / (A + (B • ln(Rs))) + (C • ((ln(Rs))) ^ 3) – 273.15
where:
T = temperature in Celsius
A = 8.271111E–4
B = 2.088020E–4
C = 8.059200E–8
Edlog Dataloggers
3
Temp(107) (P11) instruction measures the ratio Vs/Vx and coverts it to temperature
using a fifth-order polynomial:
EMF noise emanating from the ac mains power grid can be a significant source
of measurement error. 60 Hz noise is common in the United States. 50 Hz
noise is common in Europe and other regions. Depending on the datalogger
model, this noise can usually be filtered out.
The following code examples filter 60 Hz noise. The key parameters are in
bold type.
CRBasic
Therm107(T107_C,1,1,Vx1,0,_60Hz,1.0,0.0)
Edlog (except CR10, 21X, and CR7)
Edlog (CR10, 21X, and CR7)
CR10, 21X, and CR7 dataloggers do not have 60Hz or 50Hz integration
options for the excitation channel. When using these dataloggers in electrically
noisy environments, use the AC Half Bridge (P5) instruction, which
incorporates ac noise rejection in input voltage range options. After the
measurement, convert the result to temperature using Polynomial (P55). The
following example shows the use of the P5 and P55 instructions:
x: AC Half Bridge (P5)
1: 1 Reps
2: 227.5 mV 60 Hz Rejection Range ;21X,CR7: 50 mV slow range
3: 1 SE Channel
4: 1 Excite all reps w/Exchan 1
5: 2000 mV Excitation ;21X,CR7: 4000 mV
6: 1 Loc [ Air_Temp ]
7: 800 Mult
8: 0 Offset
Long cable lengths may require longer than normal analog measurement
settling times. Settling times are increased by adding a measurement delay to
the datalogger program.
Model 107 Temperature Probe
NOTE
CRBasic
For CRBasic dataloggers, the 60 Hz and 50 Hz integration options include a 3
ms settling time; longer settling times can be entered into the Settling Time
parameter. The following example uses a 20000 µs settling time.
Therm107(T107_C,1,1,1,20000,_60Hz,1.0,0.0)
Edlog
The 60 Hz and 50 Hz rejection options for the CR10X, CR510, and CR23X
include a delay to accommodate long cable lengths.
When using the CR10, 21X, and CR7 dataloggers, if the 107 probe has cable
lengths of more than 300 feet, use the Excite-Delay (SE) (P4) instruction with
a 20 ms delay to measure temperature, as shown in the following Edlog code.
The CR10, 21X, and CR7 dataloggers have no programming provision for
compensating for long cables and filtering 60 Hz or 50 Hz noise
simultaneously.
All factory repairs and recalibrations require a returned material
authorization (RMA) and completion of the “Declaration of
Hazardous Material and Decontamination” form. Refer to the
Assistance page at the beginning of this manual for more
information.
9.1 Troubleshooting
Symptom: Temperature is reported as NAN, -INF, or -9999.
Verify the red wire is connected to the correct single-ended analog input
channel as specified by the measurement instruction, and the purple wire is
connected to datalogger ground.
13
Model 107 Temperature Probe
9.2 Maintenance
Symptom: Temperature is reported as –86 (°C) or –53 (°F).
Verify the black wire is connected to the switched excitation channel as
specified by the measurement instruction.
Symptom: Incorrect temperature is reported.
Verify the multiplier and offset arguments in the measurement instructions
are correct for the desired units (Section 7.2, Datalogger Programming).
Check the cable for signs of damage and possible moisture intrusion.
Symptom: Unstable temperature is reported.
Most likely a result of electromagnetic interference. Try using the 60 or 50
Hz integration options, and/or increasing the settling time as described in
Section 8.3, Electrically Noisy Environments, and Section 8.4, Long Cable Lengths. Make sure the clear shield wire is connected to datalogger
ground, and the datalogger is properly grounded.
The 107 probe requires minimal maintenance. For air temperature
measurements, check the radiation shield monthly to make sure it is clean and
free from debris. Periodically check cabling for signs of damage and possible
moisture intrusion.
9.3 Calibration
Calibration of the 107 probe is not necessary unless the application requires
removal of the thermistor interchangeability offset described in Section 6,
Specifications. If performing the one point calibration with an Edlog
datalogger, be aware of this precaution:
The value of the offset must be chosen so that the probe outputs the
temperature calculated by the polynomial, not the actual calibration
temperature. For example, a 107 probe placed in a calibration chamber at 0 °C
outputs 0.1 °C. An Offset argument of –0.16 is required for Edlog dataloggers
because at 0 °C, the polynomial calculates a temperature of –0.06 °C
(Appendix C, Conversion of Thermistor Resistance or Voltage Ratio to Temperature).
10. Attributions and References
Santoprene® is a registered trademark of Exxon Mobile Corporation.
EPA installation standard: Quality Assurance Handbook for Air Pollution Measurement Systems – Volume IV: Meteorological Measurements Version 2.0
WMO standard: WMO No. 8, Seventh edition, 6 Aug 2008 Guide to Meteorological Instruments and Methods of Observation
14
NOTE
Appendix A. Importing Short Cut Code
This tutorial shows:
•How to import a Short Cut program into a program editor for
additional refinement.
•How to import a wiring diagram from Short Cut into the comments of
a custom program.
A.1 Importing Short Cut Code into a Program Editor
Short Cut creates files that can be imported into either CRBasic Editor or
Edlog program editor. These files normally reside in the
C:\campbellsci\SCWin folder and have the following extensions:
• .DEF (wiring and memory usage information)
• .CR1 (CR1000 datalogger code)
• .CR8 (CR800 datalogger code)
• .CR3 (CR3000 datalogger code)
• .CR5 (CR5000 datalogger code)
• .DLD (contain code for CR10(X), CR23X, CR500, CR510, 21X, or
CR7(X) dataloggers)
The following procedures show how to import these files for editing.
A.1.1 CRBasic Datalogger
Use the following procedure to import Short Cut code into CRBasic Editor
(CR1000, CR800, CR3000, CR5000 dataloggers).
1. Create the Short Cut program following the procedure in Section 4,
Quickstart. Finish the program and exit Short Cut. Make note of the file
name used when saving the Short Cut program.
2. Open CRBasic Editor.
3. Click File | Open. Assuming the default paths were used when Short Cut
was installed, navigate to C:\CampbellSci\SCWin folder. The file of
interest has a “.CR1”, “.CR8”, “.CR3”, or “.CR5” extension, for CR1000,
CR800, CR3000, or CR5000 dataloggers, respectively. Select the file and
click Open.
4. Immediately save the file in a folder different from \Campbellsci\SCWin,
or save the file with a different file name.
Once the file is edited with CRBasic Editor, Short Cut can no
longer be used to edit the datalogger program. Change the name
of the program file or move it, or Short Cut may overwrite it next
time it is used.
5. The program can now be edited, saved, and sent to the datalogger.
A-1
Appendix A. Importing Short Cut Code
NOTE
6. Import wiring information to the program by opening the associated .DEF
file. Copy and paste the section beginning with heading “-Wiring for
CRXXX–” into the CRBasic program, usually at the head of the file.
After pasting, edit the information such that a ' character (single quotation
mark) begins each line. This character instructs the datalogger compiler to
ignore the line when compiling the datalogger code.
A.1.2 Edlog
Use the following procedure to import Short Cut code into the Edlog program
editor (CR10(X), CR500, CR510, CR23X, 21X, and CR7(X) dataloggers).
1. Create the Short Cut program following the procedure in Section 4,
Quickstart. Finish the program and exit Short Cut. Make note of the file
name used when saving the Short Cut program.
2. Open Edlog.
3. Click File | Document DLD File. Assuming the default paths were used
when Short Cut was installed, navigate to C:\CampbellSci\SCWin folder.
The file of interest has a “.DLD” extension. Select the file and click
Open. The .dld file, which is a type of ASCII machine code, is imported,
documented, and, when saved, given a “.CSI” extension.
4. Immediately save the file in a folder different from \Campbellsci\SCWin,
or save the file with a different file name.
Once the file is edited with Edlog, Short Cut can no longer be used
to edit the program. Change the name of the program file or move
it, or Short Cut may overwrite it.
5. The program can now be edited, saved, and sent to the datalogger.
6. Import wiring information to the program by opening the associated .DEF
file. Copy and paste the section beginning with heading “-Wiring for
CRXXX–” into the Edlog program, usually at the head of the file. After
pasting, edit the information such that a ; (semicolon) begins each line,
which instructs the datalogger compiler to ignore the line when compiling
the datalogger code.
A-2
Appendix B. Example Programs
B.1 Example CRBasic Program
This example can be used directly with CR800 series, CR1000, CR3000, and
CR5000 dataloggers.
'Program measures one 107 temperature probe once a second and
'stores the average temperature every 60 minutes.
'Wiring Diagram
'==============
'107 Probe
'
' Wire
' Color Function CR1000
' ----- -------- -----' Black Voltage-excitation input VX1 or EX1
' Red Analog-voltage output SE1
' Purple Bridge-resistor ground AG*
' Clear Shield G*
'*AG = Analog Ground (represented by ground symbol on CR1000 wiring panel
'Declare the variables for the temperature measurement
PublicT107_C
'Define a data table for 60 minute averages:
DataTable(Table1,True,-1)
DataInterval(0,60,Min,0)Average(1,T107_C,IEEE4,0)
EndTable
BeginProg
Scan(1,Sec,1,0)
'Measure the temperature
Therm107(T107_C,1,1,Vx1,0,_60Hz,1.0,0.0)
'Call Data Table
CallTable(Table1)NextScan
EndProg
B.2 Example Edlog Program
This example can be used directly with CR10X dataloggers. With minor
adaptations, it can also be used with CR10, CR500, CR510, CR23X, and
CR7X dataloggers. More adaptation will be needed with the 21X and CR7
dataloggers. Contact a Campbell Scientific application engineer for help with
any datalogger program.
B-1
Appendix B. Example Programs
;{CR10X}
;Program measures one 107 temperature probe once a second
;and stores the average temperature every 60 minutes.
;Wiring Diagram
;==============
;107 Probe
;
; Wire
; Color Function CR10X
; ----- -------- -----; Black Voltage-excitation input E1
; Red Analog-voltage output SE1
; Purple Bridge-resistor ground AG
; Clear Shield G
*Table 1 Program
01: 1.0000 Execution Interval (seconds)