Programming Topics Your source for programming-related articles

Sobre o Blog

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


Pesquisar o Blog


Inscrever-se para o Blog

Receber e-mail quando um novo artigo é publicado. Escolha os temas de seu interesse.


Area / Application

Product Category

Activity

Corporate / News

Insira o seu endereço de email:



Sugerir um artigo

Existe um tópico que você gostaria de saber mais à respeito? Nos informe.

Leave this field empty

Displaying 21 - 39 of 39 articles

How to Access Live Measurement Data Using Modbus

Autor: Paul Smart | Ultima atualização: 04/07/2016 | Comentários: 18

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 server? Do you know why that’s a good idea? Campbell Scientific data loggers are commonly used as Modbus server devices. This means that the data logger is configured to... Leia mais

5 Steps to Post Your CR6 Data to Weather Underground

Autor: Sam Utley | Ultima atualização: 03/23/2016 | Comentários: 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... Leia mais

6 Steps to Easily Parse Data from a Trusted Source

Autor: Gary Roberts | Ultima atualização: 03/02/2016 | Comentários: 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... Leia mais

Getting to Know DNP3

Autor: Paul Smart | Ultima atualização: 01/20/2016 | Comentários: 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... Leia mais

How to Programmatically Access Stored Data Values

Autor: Janet Albers | Ultima atualização: 01/13/2016 | Comentários: 16

how to programmatically access stored data values

After you store measurements and other data in your data logger’s tables, how do you access that data to perform operations in your CRBasic program? Where can you get an all-access pass to your data? This article will explain how you can use a special... Leia mais

How to Convert Wind Directions in Degrees to Compass Directions

Autor: Jacob Davis | Ultima atualização: 01/06/2016 | Comentários: 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... Leia mais

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

Autor: Janet Albers | Ultima atualização: 12/30/2015 | Comentários: 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... Leia mais

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

Autor: Gary Roberts | Ultima atualização: 12/09/2015 | Comentários: 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... Leia mais

How to Rename Field Names for Easier Data Identification

Autor: Janet Albers | Ultima atualização: 11/11/2015 | Comentários: 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... Leia mais

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

Autor: Janet Albers | Ultima atualização: 10/07/2015 | Comentários: 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... Leia mais

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

Autor: Janet Albers | Ultima atualização: 09/09/2015 | Comentários: 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... Leia mais

5 Things to Know before Discussing Your Data Logger Programming Issue

Autor: Janet Albers | Ultima atualização: 08/26/2015 | Comentários: 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,... Leia mais

CRBasic Tips to Simplify Data Post-Processing

Autor: Barbra Utley | Ultima atualização: 08/12/2015 | Comentários: 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... Leia mais

The Benefits of Using Constants in CRBasic

Autor: Janet Albers | Ultima atualização: 08/05/2015 | Comentários: 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;... Leia mais

4 New Ways to Use Array Notation: Copying or Transposing

Autor: Janet Albers | Ultima atualização: 07/21/2015 | Comentários: 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... Leia mais

4 New Ways to Use Array Notation: Complex Scaling

Autor: Janet Albers | Ultima atualização: 07/01/2015 | Comentários: 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... Leia mais

How to Prevent Skipped Scans and a Sunburn

Autor: Jacob Davis | Ultima atualização: 06/17/2015 | Comentários: 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... Leia mais

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

Autor: Janet Albers | Ultima atualização: 06/10/2015 | Comentários: 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:... Leia mais

4 New Ways to Use Array Notation: Simple Scaling

Autor: Janet Albers | Ultima atualização: 05/29/2015 | Comentários: 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... Leia mais