Resource Center

Videos and Tutorials

Using subroutines in a CRBasic program to improve program function and simplify editing

CRBasic in the Real World Part 3: Subroutines

Overview

In this third video, I will add a subroutine with a retries argument to the program. Adding the subroutine allows one SDI12Recorder() instruction to be used in multiple places in the program. The retries argument of the subroutine allows a customized number of measurement retries, depending on where the subroutine is called in the program.

Connect With Us

phone icon
Phone Number
General: (435) 227-9000
location icon
Corporate Address
815 W 1800 N
Logan, UT 84321
send icon
Email Address
sales@campbellsci.com

As a trusted leader in measurement systems for more than 50 years, our top priority at Campbell Scientific has always been to provide the most accurate, reliable data for research and industry.