Programming Topics Your source for programming-related articles

About the Blog

These articles provide information to help you understand and write datalogger programs.


Search the Blog


Subscribe to the Blog

Get an email when a new article is posted. Choose the topics that interest you most.


Area / Application

Product Category

Activity

Corporate / News

Enter your email address:



Suggest an Article

Is there a topic you would like to learn more about? Let us know.

Leave this field empty

Displaying 1 - 20 of 28 articles

New Product Support: Kipp & Zonen’s RaZON+

Author: Matt Perry | Last Updated: 01/17/2018 | Comments: 0

new product support: kipp & zonen’s razon+

During 2017, I was asked several times for a data logger program to retrieve data from Kipp & Zonen’s new RaZON+, a compact-sized dual-axis sun tracker with integrated GPS, smart pyrheliometer, and shaded smart pyranometer. The RaZON+ touts a higher accuracy approach to obtaining solar... read more

Understanding CRBasic Program Compile Modes: Sequential and Pipeline

Author: Janet Albers | Last Updated: 10/25/2017 | Comments: 2

understanding crbasic program compile modes: sequential and pipeline

Have you ever noticed a message saying that your CRBasic program compiled in PipelineMode or SequentialMode? What does it mean? And, when does it matter? In this article, we’ll look at these two modes. Sequential Mode Let’s start with the more straightforward mode: SequentialMode. The CRBasic Editor... read more

Replacing Your CR1000 Datalogger with a CR1000X: What You Should Know

Author: Timothy Jeppsen | Last Updated: 10/11/2017 | Comments: 4

replacing your cr1000 datalogger with a cr1000x: what you should know

As soon as people learned that we were replacing the CR1000 datalogger with the CR1000X datalogger, they asked us these questions: “Can I load a program I wrote for my CR1000 into a CR1000X?” and “Will the CR1000X fit in the same space as my... read more

Do You Use R? Here's a Tool for Importing Campbell Scientific Data

Author: Dirk Baker | Last Updated: 10/03/2017 | Comments: 3

do you use r? here's a tool for importing campbell scientific data

You may be familiar with R for data processing and analysis. But do you know how to easily import data that is in Campbell Scientific’s TOA5 format into R? In this article, I’ll briefly discuss R and TOA5, and then share a function to create... read more

Using Loops in CRBasic to Prevent Unnecessary Skipped Scans

Author: Gary Roberts | Last Updated: 05/31/2017 | Comments: 0

using loops in crbasic to prevent unnecessary skipped scans

Maybe you’re like me when it comes to skipped scans. I have always disliked seeing skipped scans in my data loggers. I have been trained to watch out for them and do my best to write my CRBasic programs in a way that makes them... read more

Use Pointers to Make Your CRBasic Programs More Efficient

Author: Gary Roberts | Last Updated: 03/23/2017 | Comments: 2

use pointers to make your crbasic programs more efficient

Pointers are a great tool for CRBasic programs. If you use them carefully, pointers can reduce the amount of program code you need to write, thereby increasing your program’s efficiency and enabling you to use less memory. (Your program can run faster because it does... read more

How to Use Call-back Capability so Your Data Logger Initiates Data Retrieval

Author: Jacob Davis | Last Updated: 02/22/2017 | Comments: 2

how to use call-back capability so your data logger initiates data retrieval

Have you come across situations where you want your data logger to initiate data retrieval, rather than your PC? For example, do you have an environmental condition that you want to transmit alarm data for? Although IP-based communication is prevalent, sometimes you may need data-logger-initiated communication... read more

Sending Email from Your Data Logger Just Got Easier!

Author: Dana Worley | Last Updated: 01/25/2017 | Comments: 10

sending email from your data logger just got easier!

Have you had problems finding an SMTP server to use to send emails from your data logger? Are compatibility issues causing you to look for a work-around? Keep reading for a solution that may be just what you need. Some Background In 2006, we added the ability... read more

How to Prevent a Program Update from Causing a Loss of Communication

Author: Robert Hyatt | Last Updated: 11/10/2016 | Comments: 5

how to prevent a program update from causing a loss of communication

Imagine that you have a data logger station three hours away that gathers your measurement data. To physically get to your station, not only do you have to drive for three hours, but then you have to hike for an hour up a snow-covered mountain. A... read more

How to Access Your Measurement Data Using DNP3

Author: Paul Smart | Last Updated: 09/02/2016 | Comments: 1

how to access your measurement data using dnp3

Turning your Campbell Scientific data logger into a DNP3 outstation is a great way to allow systems that use the DNP3 protocol to have access to your live measurement data, as well as historical data. When you use your data logger as a DNP3 outstation, the... read more

The Best Way to Edit Input Locations in Edlog Programs

Author: Janet Albers | Last Updated: 06/08/2016 | Comments: 0

the best way to edit input locations in edlog programs

If you have one of our retired data loggers that uses the Edlog programming language, do you know the best way to change an Input Location name? It’s possible that you may want to use a different name or insert a name where one is... read more

How to Select the Correct Pulse Type for Your Measurements

Author: Jacob Davis | Last Updated: 04/21/2016 | Comments: 0

how to select the correct pulse type for your measurements

Have you ever had a sensor work on a P (pulse) data logger terminal, but not on a C (control) terminal? Is the list of choices for the PConfig parameter in the PulseCount() instruction daunting? Campbell Scientific data loggers offer several options for measuring pulse... read more

How to Access Live Measurement Data Using Modbus

Author: Paul Smart | Last Updated: 04/07/2016 | Comments: 8

how to access live measurement data using modbus

Did you know that you can turn your Campbell Scientific data logger into a Modbus TCP/IP slave? Do you know why that’s a good idea? Campbell Scientific data loggers are commonly used as Modbus slave devices. This means that the data logger is configured to... read more

5 Steps to Post Your CR6 Data to Weather Underground

Author: Sam Utley | Last Updated: 03/23/2016 | Comments: 10

5 steps to post your cr6 data to weather underground

Over the years, you may have seen a number of Weather Underground PWS (personal weather station) discussions and solutions posted on the Campbell Scientific User Forum. In this article, I’ll show you how to post your data directly from an Internet-connected CR6 Measurement and Control Datalogger... read more

6 Steps to Easily Parse Data from a Trusted Source

Author: Gary Roberts | Last Updated: 03/02/2016 | Comments: 1

6 steps to easily parse data from a trusted source

Would it be helpful to include data from a reputable source with your own data? If you have permission to use another source’s data for free or by agreement, how can you easily extract the specific data you want to use without doing a lot... read more

How to Create Custom Sensors in Short Cut

Author: Jason Ritter | Last Updated: 02/24/2016 | Comments: 0

how to create custom sensors in short cut

Have you ever wanted Short Cut to support more sensors? Although Short Cut supports many sensors, you may have found that the sensor you want to measure is not on the list. What do you do then? How do you add that sensor to your... read more

Getting to Know DNP3

Author: Paul Smart | Last Updated: 01/20/2016 | Comments: 0

getting to know dnp3

Have you heard of DNP3 but been unsure of what it is or what it’s used for? In this brief article, I’ll introduce you to this communications protocol, its role in SCADA applications, and how you can use it with your Campbell Scientific equipment and... read more

How to Convert Wind Directions in Degrees to Compass Directions

Author: Jacob Davis | Last Updated: 01/06/2016 | Comments: 2

how to convert wind directions in degrees to compass directions

Do you feel lost when sifting through wind direction data that is listed in degrees? For example, can you picture in your mind what direction 195 degrees is? Would it be easier if your data logger could put your data in compass directions instead? In... read more

How to Access and Control Your Raven Modem via TCP/IP

Author: Gary Roberts | Last Updated: 12/09/2015 | Comments: 1

how to access and control your raven modem via tcp/ip

Have you ever wanted the ability to control your Raven cellular modem with your data logger? Would it be nice to be able to get data on the health of your cellular modem and its data network? Maybe you even want to reset your Raven... read more

Making Sense of an Edlog Program File for Your Retired Data Logger

Author: Janet Albers | Last Updated: 09/09/2015 | Comments: 0

making sense of an edlog program file for your retired data logger

Our retired data loggers are still in use, and some of them use the Edlog programming language. Do you have an Edlog data logger with a .dld compiled program file that you don’t know how to read? Does your .dld file have codes that you... read more