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

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

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: 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: 12

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 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: 5

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: 10

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

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

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

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