beautypg.com

Figure 46: "include file" settings via pakbusgraph – Campbell Scientific CR3000 Micrologger User Manual

Page 110

background image

Section 7. Installation

110 

 

 

Figure 46: "Include File" settings via PakBusGraph

CRBasic Example 1.

Using an "Include File" to Control SW12V‐1 

'Assumes that the Include file in CRBasic example

"Include File" to Control SW12V-1

(p. 111)

'is loaded onto the CR3000 CPU: Drive.

'The Include file will control power to the cellular phone modem.

Public

PTemp, batt_volt

DataTable

(Test,1,-1)

DataInterval

(0,15,Sec,10)

Minimum

(1,batt_volt,FP2,0,False)

Sample

(1,PTemp,FP2)

EndTable

BeginProg

Scan

(1,Sec,0,0)

PanelTemp

(PTemp,250)

Battery

(Batt_volt)

CallTable

Test

NextScan

'<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"Include File" Code Executed Here

EndProg