Displaying 1 - 20 of 23 articles tagged with: CRBasic
Author: Jacob Davis | Last Updated: 09/10/2024 | Comments: 2
The Campbell Scientific Learning Center is launching as a third training option, bringing self-paced learning to our customers. I am excited for this opportunity to expand our training availability beyond our current offerings: live, in-person training and live, online training. I hope you can take advantage... read moreAuthor: Gary Roberts | Last Updated: 02/21/2018 | Comments: 3
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 moreAuthor: Janet Albers | Last Updated: 10/25/2017 | Comments: 2
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 moreAuthor: Gary Roberts | Last Updated: 05/31/2017 | Comments: 2
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 moreAuthor: Gary Roberts | Last Updated: 03/23/2017 | Comments: 2
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 moreAuthor: Jacob Davis | Last Updated: 02/22/2017 | Comments: 6
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 moreAuthor: Dana Worley | Last Updated: 01/25/2017 | Comments: 19
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 moreAuthor: Dana Worley | Last Updated: 12/07/2016 | Comments: 2
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 moreAuthor: Paul Smart | Last Updated: 09/02/2016 | Comments: 1
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 moreAuthor: Carolyn Ivans | Last Updated: 06/22/2016 | Comments: 7
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 moreAuthor: Jacob Davis | Last Updated: 04/21/2016 | Comments: 0
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 moreAuthor: Paul Smart | Last Updated: 04/07/2016 | Comments: 23
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 moreAuthor: Sam Utley | Last Updated: 03/23/2016 | Comments: 10
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 moreAuthor: Gary Roberts | Last Updated: 03/02/2016 | Comments: 1
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 moreAuthor: Paul Smart | Last Updated: 01/20/2016 | Comments: 0
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 moreAuthor: Jacob Davis | Last Updated: 01/06/2016 | Comments: 2
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 moreAuthor: Gary Roberts | Last Updated: 12/09/2015 | Comments: 1
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 moreAuthor: Janet Albers | Last Updated: 10/07/2015 | Comments: 2
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 moreAuthor: Janet Albers | Last Updated: 07/21/2015 | Comments: 0
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 moreAuthor: Janet Albers | Last Updated: 07/01/2015 | Comments: 0
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