Campbell Scientific CR200X CR200/CR200X-series Dataloggers - Page 78

Settings via CRBASIC, Settings via Terminal Emulator

Page 78 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208

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