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

Search the Blog


Subscribe to the Blog

Set up your preferences for receiving email notifications when new blog articles are posted that match your areas of interest.


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. Please be as specific as possible.

Leave this field empty

Displaying 1 - 20 of 32 articles tagged with: CRBasic

What You Should Know: Improvements to SMSSend()

Author: Dana Worley | Last Updated: 04/09/2021 | Comments: 0

what you should know: improvements to smssend()

Do you currently use SMSSend() in a CRBasic data logger program to send SMS messages through a Campbell Scientific CELL2XX internal or external cellular module? There are some things you should know about the recent improvements we made that affect how SMSSend() works. With the release... read more

7 Things You Should Know about New Cellular Options for Data Loggers

Author: Gary Roberts | Last Updated: 02/21/2018 | Comments: 3

7 things you should know about new cellular options for data loggers

You may have heard about the new integrated cellular modem gateways available as options on some of our data loggers. But, do you know what these options really offer, and how they can help your data communication needs now and for decades to come? In... 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

Using Loops in CRBasic to Prevent Unnecessary Skipped Scans

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

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 Callback Capability So Your Data Logger Initiates Data Retrieval

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

how to use callback 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: 19

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

Available Security Measures for Internet-Connected Data Loggers

Author: Dana Worley | Last Updated: 12/07/2016 | Comments: 2

available security measures for internet-connected data loggers

The Internet of Things offers a lot of advantages in today’s culture. There are consumer devices that let you monitor and control mood lighting and music in your home, keep track of last week’s leftover dinner in your refrigerator, and help you brew a cup... 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

How to Store Data Logger Data to a Memory Card

Author: Carolyn Ivans | Last Updated: 06/22/2016 | Comments: 7

how to store data logger data to a memory card

You may have identified the need to add external data storage to your data logger with flash-memory cards. But do you know which CRBasic instruction to use to do it? In this article, I’ll help you choose the most suitable instruction for your application. In a... 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: 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... 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

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

Helpful Hints for Updating Your Data Logger's OS

Author: Janet Albers | Last Updated: 02/10/2016 | Comments: 0

helpful hints for updating your data logger's os

Periodically we release new operating systems (OSs) that include new functions and instructions, as well as enhancements or bug fixes for existing functions and instructions. If you are asked to update your OS or need a newly added feature for your application, this article provides... 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 Programmatically Access Stored Data Values

Author: Janet Albers | Last Updated: 01/13/2016 | Comments: 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... 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

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

We're active on social media!
Stay informed with our latest updates by following us on these platforms: