beautypg.com

2 settings via crbasic, 3 settings via terminal emulator – Campbell Scientific CR200/CR200X-series Dataloggers User Manual

Page 78

background image

Section 8. CR200(X) Configuration

Clocks in the PC and CR200(X) are checked every second and the

difference displayed. The

System Clock Setting allows entering what

offset, if any, to use with respect to standard time (Local Daylight Time or

UTC, Greenwich mean time). The value selected for this control is

remembered between sessions. Clicking the

Set Clock button will

synchronize the station clock to the current computer system time.

Current Program displays the current program known to be running in the

datalogger. This value is empty if there is no current program.

The

Last Compiled field displays the time when the currently running

program was last compiled by the datalogger. As with the Current Program

field, this value is read from the datalogger if it is available.

Last Compile Results shows the compile results string as reported by the

datalogger.

The

Send Program button presents an open file dialog from which to select

a program file to be sent to the datalogger. The field above the button is

updated as the send operation progresses. When the program has been sent

the Current Program, Last Compiled, and Last Compile Results fields are

filled in.

8.3.2 Settings via CRBASIC

Some variables in the status table can be requested or set during program

execution using the CRBASIC SetStatus () command. Entries can be requested

or set by setting a Public or Dim variable equivalent to the status table entry, as

can be done with variables in any data table. For example, to set a variable, x,

equal to a status table entry, the syntax is,

x = Status.StatusTableEntry

Careful programming is required when changing settings via CRBASIC to

ensure users are not inadvertently blocked from communicating with the

CR200(X), the remedy for which may be a site visit.

8.3.3 Settings via Terminal Emulator

The CR200(X) has a simple terminal interface that can be accessed with a PC

running a terminal emulator such as those available in PC200, PC400, or

LoggerNet.

Terminal mode is entered while the PC is in telecommunications with the

datalogger through a terminal emulator program. It is easily accessed through

Campbell Scientific datalogger support software, but is accessible with terminal

emulator programs such as Windows Hyperterminal. Datalogger keyboards and

displays cannot be used.

The terminal emulator is accessed by navigating to the Datalogger menu in

PC200W, the Datalogger menu in the Connect screen of LoggerNet, or the

Tools menu in PC400. A serial cable must be connected between the

computer/terminal and the CR200(X) in order to establish communications.

66