• Products
  • Solutions
  • Support
  • About
Campbell Scientific logo Campbell Scientific logo Campbell Scientific logo
  • Home
  • Products
  • Solutions
  • Support
  • About
  • Quote List
  • Contact
  • Regional Websites
    • Regional Websites
    • Africa
    • Australia
    • Brasil
    • Canada
    • Centro Caribe
    • Deutschland
    • España
    • Europe
    • France
    • India
    • Japan
    • United States
    • ภาษาไทย
    • 中国
    • Country Directory
  • Log In

        CRBasic in the Real World Part 3: Subroutines Using subroutines in a CRBasic program to improve program function and simplify editing

        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.

        Length: 6:31
        Visit the Video Library

        Related Videos

        • CRBasic in the Real World Part 1: Adding a Water Level Measurement (8:28)
        • CRBasic in the Real World Part 2: Triggering Real-Time Measurements During a Site Visit (10:41)
        • CRBasic in the Real World Part 4: Offsets (7:24)
        • CRBasic in the Real World Part 5: Changing the Sensor Used in a Program and Program Versioning (5:42)

        Related Products

        • CR310 - Datalogger with Ethernet
        • CR350 - Measurement and Control Datalogger
        • CR6 - Automated Monitoring Platform
        • GRANITE10 - Measurement and Control Data-Acquisition System
        • GRANITE9 - Measurement and Control Data-Acquisition System
        • CR1000X - Measurement and Control Datalogger(retired)
        • CR300 - Datalogger(retired)
        • CR800 - Measurement and Control Datalogger(retired)
        • CR850 - Measurement and Control Datalogger with Built-in Keyboard and Display(retired)
        • Granite 6 - Measurement and Control Data-Acquisition System(retired)

        CAMPBELL SCIENTIFIC CENTRO CARIBE

        • Home
        • Products
        • Solutions
        • Support
        • About
        • Partners
        • Corporate Blog
        • User Forum
        • Videos & Tutorials
        • Contact us
        • Careers
        • Customer Center
        • Feedback
        • Site Map

        country map

        Barrio Los Yoses, San Pedro de Montes de Oca.
        San José, Costa Rica
        COSTA RICA

        Campbell Scientific Logo


        Realimentación? Realimentación? © 2025 Campbell Scientific Centro Caribe
        Cookie Settings

        This website uses cookies in order to offer you the most relevant information. Please accept cookies for optimal performance.

        Cookies expire 30 days from acceptance.

        Please note that we also leverage third-party tools, such as Google Analytics, which may use cookies to collect information about your browsing activities. We cannot block these cookies, but we ensure that any third-party tools we use are GDPR-compliant and do not collect any personally identifiable information.

        View our privacy policy