Specifications
Section 9. Program Control Instructions
9-16
SetSecurity (security1, security2, security3)
Used to implement up to three levels of security in the datalogger.
The SetSecurity instruction is executed only at compile time. Up to three levels
of security can be set in the datalogger. Level 1 must be set before Level 2 can
be set, and Level 2 must be set before Level 3 can be set. If a level is set to 0,
any level greater than it will also be set to 0 (e.g., if Level 2 is 0, Level 3 is 0).
Valid security codes are 1 through 65535 (0 is no security). Each level must
have a unique code.
Software access functions affected by each level of security are:
Parameter
& Data Type
Enter
Security1
Integer
When this level is set, collecting data, setting the clock, and setting variables
in the Public table are unrestricted, requiring no security code. If the user
enters the Security1 code, the datalogger program can be changed or
retrieved or variables can be set in the Status table.
Security2
Integer
When this level is set, data collection is unrestricted, requiring no security
code. If the user enters the Security2 code, the datalogger clock can be
changed and variables in the public table can be changed. If the user enters
the Security1 code, non-read-only values in the status table can be changed
and the datalogger program can be changed or retrieved.
Security3
Integer
When this level is set, all communication with the datalogger is prohibited if
no security code is entered. If the user enters the Security3 code, data can be
collected from the datalogger. If the user enters the Security2 code, data can
be collected, public variables can be set, and the clock can be set. If the user
enters the Security 1 code, all functions are unrestricted.
SetStatus ("FieldName", Value)
Used to change the value for a setting in the datalogger's Status table.
Syntax
SetStatus ( "FieldName", Value )
Remarks
The FieldName parameter is the name of the setting to be changed; the name
must be enclosed in quotes. The Value parameter is the value to which that
field should be set. If the value being set is a string (such as in Messages or
StationName), it must be enclosed in quotes. The following settings can be
changed:
FieldName Description
Low12VCount An error counter indicating the number of times
the 12V supply has dropped below the allowable
level.
Low5VCount An error counter indicating the number of times
the 5V supply has dropped below the allowable
level.