The Campbell Scientific Blog Your source for useful how-to information and helpful expert advice

Search the Blog


Blog Languages

English
Français (French)


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 - 33 of 33 articles tagged with: CRBasic

Use Time Intervals for More than Storing Data: Decisions and Control

Author: Janet Albers | Last Updated: 12/30/2015 | Comments: 2

use time intervals for more than storing data: decisions and control

We all know that Campbell Scientific data loggers are really good at taking measurements and storing data. But did you know that they can also make decisions and control other devices? Often, device control is done based on a time interval. This article briefly illustrates... 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

How to Rename Field Names for Easier Data Identification

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

how to rename field names for easier data identification

When you view your measurement data in tabular format, such as in View Pro or similar software, are your column headings, or field names, helpful to you? At a glance, do your field names quickly identify the data in the columns? If not, you may... read more

Serving up the RealTime() Instruction with a Side of Alias Declarations

Author: Janet Albers | Last Updated: 10/07/2015 | Comments: 2

serving up the realtime() instruction with a side of alias declarations

CRBasic has a full menu of instructions to help you write or edit your data logger program. This article offers a main course of scheduling your data logger actions using the RealTime() instruction with a side dish of making your program easier to read with... 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

How Safe Is Your LoggerNet Data?

Author: Dana Worley | Last Updated: 05/29/2015 | Comments: 0

how safe is your loggernet data?

When you live in a cold-weather climate like we do here in northern Utah, it’s a welcome reprieve to spend a few days away enjoying someplace sunny and warm. A couple of days ago, as I was uploading photos of sunshine and blue skies from... read more

Going Public with Your Variables in CRBasic

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

going public with your variables in crbasic

When programming your Campbell Scientific data logger, have you ever wondered whether you should be using a Dim variable declaration or a Public one? What is the difference between them, and when is it best to use each one? Dim and Public variables are temporary holding... 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