beautypg.com

3 short cut settings, 1 program security, 2 datalogger id – Campbell Scientific LoggerNet Datalogger Support Software User Manual

Page 236: 3 power-up settings, Short cut settings -18, Program security -18, Datalogger id -18, Power-up settings -18

background image

Section 7. Creating and Editing Datalogger Programs

The Summary tab displays the information in the DEF file as described above.

The Advanced tab (for CRBasic dataloggers) displays the CRBasic program

that was generated. It includes a CRBasic Editor button which opens the

program for editing in the CRBasic Editor. Note that any changes made to the

generated program in the CRBasic Editor will not be reflected in Short Cut or

future programs generated by Short Cut.

Note that, while Short Cut can generate a program file for the datalogger, you

must use datalogger communication software to transmit that program to the

datalogger. (This is true even when pressing the “Send Program” button from

Short Cut’s Finish screen. Short Cut relies on the datalogger communication

software to transmit the program.)

7.2.3 Short Cut Settings

The Program and Tools menus on the Short Cut menu offer several settings

that may prove useful.

7.2.3.1 Program Security

Some dataloggers allow you to set security by entering one or more numbers

into their security fields. You can allow different levels of access (e.g.; only

allow data retrieval, or also allow monitoring of values, or also allow sending a

new program or setting the clock) by entering multiple levels.

Datalogger security is not meant to be extremely tight. Rather, it is designed to

prevent honest people from making mistakes.

Notwithstanding its intention, one mistake you can make is to set security and

then forget the values. If you send a program with security set, you will then

need to add that security setting to LoggerNet's Setup Screen or RTDAQ or

PC400’s EZSetup Wizard for that datalogger. If you don’t, you may find that

you can no longer communicate with the datalogger. Should this happen and

you forget the security code and have lost the Short Cut program file, you may

have to visit the datalogger site and cycle power on the datalogger to be able to

communicate with it. Most dataloggers that offer security will communicate

over their CS I/O port directly with a keyboard/display or PC in the first few

seconds of powering up. See the datalogger manual for a full description of the

security features.

7.2.3.2 Datalogger ID

Mixed-array dataloggers keep a memory location available for a datalogger ID

value. This is typically an integer that you can read from within the program

and store into final storage to keep track of the identity of the datalogger that

created the data. Valid Datalogger IDs are 1 through 12 and 14 through 254.

Use the Datalogger ID instruction in Short Cut (found under Miscellaneous

Sensors) to use the ID in the datalogger program.

7.2.3.3 Power-up Settings

Some dataloggers offer the option to retain interim measurements or

calculations or the states of flags or ports when they power-up from a low

battery or loss of power condition. This may be useful when calculations are

used to control devices. You may, for example, want to ensure that pumps or

7-18