Programming Topics Your source for programming-related articles

About the Blog


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 21 - 34 of 34 articles

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

Note: It appears that after this blog article was written, Weather Underground has been phasing out the “PWS – Upload Protocol.” The following tutorial may or may not work currently or in the future. However, it continues to offer some insight into structuring a CRBasic... 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

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

5 Things to Know before Discussing Your Data Logger Programming Issue

Author: Janet Albers | Last Updated: 08/26/2015 | Comments: 0

5 things to know before discussing your data logger programming issue

If you need help programming a Campbell Scientific data logger, here are some things you can do to have a more productive conversation with a Customer Support and Implementation Engineer. At a minimum you’ll want to know: What data logger you’re working with—such as a CR6, CR1000,... read more

CRBasic Tips to Simplify Data Post-Processing

Author: Barbra Utley | Last Updated: 08/12/2015 | Comments: 3

crbasic tips to simplify data post-processing

You’ve collected your measurement data, but how do you easily make sense out of it? How can you simplify the post-processing of your data and start analyzing it sooner? In this article, I’ll explain how adding some code to your CRBasic program can save you... read more

The Benefits of Using Constants in CRBasic

Author: Janet Albers | Last Updated: 08/05/2015 | Comments: 0

the benefits of using constants in crbasic

Why should you use a Constant declaration in your CRBasic program? What is a Constant anyway? In a previous article ("Going Public with Your Variables in CRBasic"), we talked about the Public and Dim variable declarations. Variables are just that—variable; they change. Constants, on the other hand, don’t change;... read more

4 New Ways to Use Array Notation: Copying or Transposing

Author: Janet Albers | Last Updated: 07/21/2015 | Comments: 0

4 new ways to use array notation: copying or transposing

Copying or transposing has become easier with OS 28 (CR6 OS 1). This new operating system enables you to copy portions of an array to a new location, such as when transposing rows and columns. In this example we start with A(3,2) (3 rows, 2 columns) initialized as... read more

4 New Ways to Use Array Notation: Complex Scaling

Author: Janet Albers | Last Updated: 07/01/2015 | Comments: 0

4 new ways to use array notation: complex scaling

You can perform more complex scaling in an array without needing a For/Next loop. To take advantage of this feature, use OS 28 (CR6 OS 01) or later.   In this example program, a unique set of multipliers and offsets is applied to the column of an... read more

How to Prevent Skipped Scans and a Sunburn

Author: Jacob Davis | Last Updated: 06/17/2015 | Comments: 3

how to prevent skipped scans and a sunburn

Through programming, relatively slow SDI-12 measurements can coexist, without problems, alongside fast measurements. To illustrate the need for accommodations in your data logger program, I will share the story of the worst sunburn I ever got. Southern Peru is near the Pacific Ocean, yet is... read more

4 New Ways to Use Array Notation: Initializing Multi-Dimensional Arrays

Author: Janet Albers | Last Updated: 06/10/2015 | Comments: 0

4 new ways to use array notation: initializing multi-dimensional arrays

Initializing variables within an array is more flexible than ever with OS 28 (CR6 OS 1). You can think of a single dimensioned array as numbers in a column. Two dimensions, in comparison, puts numbers in rows and columns. The third dimension is a page. For example:... read more

4 New Ways to Use Array Notation: Simple Scaling

Author: Janet Albers | Last Updated: 05/29/2015 | Comments: 0

4 new ways to use array notation: simple scaling

The newest operating system released by Campbell Scientific for its data loggers is OS 28 for the CR800, CR1000, and CR3000. (The comparable operating system version for the CR6 datalogger is OS 01.) This powerful data logger OS has been enhanced so that you can... read more