PICARRO G2302 User Manual page 33

Table of Contents

Advertisement

and it should be placed in the same directory as the executable
RemoteAccess.exe. The file has one required section named LOGGING
and three optional sections named NTP, DIALUP and EMAIL. The logging
section has a single key Logfile whose value is the path to the log file.
Once this log file exceeds 64 kbytes in length, it is backed up appending a
numeric extension to the file name and a new file is open. A total of ten
backup log files are kept.
NTP
The NTP section controls querying the Internet time servers using the
SNTP protocol (RFC4330) and the resetting of the clock on the host
computer. If the section is not present, time synchronization is not carried
out. The keys Server1, Server2, etc., are used to specify the URLs of the
timeservers. As many of these timeservers are interrogated as possible,
and the clock offset is computed on using the median of the results
obtained from the available servers. If the UpdateClock key is set to true,
the offset is applied to the host clock. Otherwise, the offset is recorded, but
the host clock is not changed.
Email
The EMAIL section controls the sending of the data files as e-mail
attachments. If the section is not present, e-mail messages are not sent.
The key Directory specifies the directory that contains the data files. When
the program is run, files in this directory are sent to the specified recipients
and the files are deleted. In order to avoid problems with incomplete files,
programs that place files into this directory should do so using an atomic
operation, such as a rename. The Server key is set to the name of an
RFC2821-compliant SMTP server that actually sends the e-mail
messages.
The From key is the e-mail address from which the messages are sent.
Note that some SMTP servers check that the source is permitted to send
mail while others allow any name in this field. The collection of e-mail
addresses to which copies of the e-mail is sent is specified by the keys
To1, To2, etc. The Subject key is used to fill the subject field in the e-mail
header, and may be set to any string. Depending on the SMTP server, it
may be necessary to use authentication before e-mails can be sent, as
described in RFC2554. If such authentication is not needed, the key
UseAuthentication is set to false. If this key is set to true, two additional
keys Username and Password must also be specified for the e-mail
account.
Picarro G2302 Analyzer User's Guide
Rev. B 1/14/11
33

Advertisement

Table of Contents
loading

Table of Contents