CONTACT US SEARCH
L Cubed Solutions

Valued Independent Programmers, AMX Certified Experts

Data Logger Information

Home
Module Listings

Back to Corporate

General:

This module is used to log information, events, data to a file and email that file as an attachment to an email address at midnight. The old log file will be kept for twenty-four hours. It is assumed a valid internet connection is present and the email settings have properly been made.

Prerequisites:

This module uses the include file: i!-EquipmentMonitorOut.axi and it assumes that any setup for sending email has been done prior to sending a log file.

Module Header:

TypeNameDescription
DevvdvVirtual device for the module
DevdvSmtpSocketMaster port used for email
Char[]DirectoryDefault directory where log file is stored
Char[]EmailToEmail address to send log to
Char[]EmailFromEmail address in the 'From' field
Char[]SmtpServerURL or Domain Name of email server (SMTP)

Send_Commands:

  •  '?' - This causes the module to display all supported commands via messages to the master.
  • 'Ver' - Displays the compilation and version information for the module.
  • 'Debug <0|1>' - Set debug state off or on.
  • 'Email <0|1>' - Set email off or on.
  • 'EmailFrom <string>' - Temporarily set email FROM address.
  • 'EmailTo <string>' - Temporarily set email TO address.
  • 'Filename <string>' - Temporarily set the log file name.
  • 'Get EF' - Get the current email FROM address.
  • 'Get ET' - Get the current email TO address.
  • 'Get FN' - Get the current log file name.
  • 'Reset Email' - Reset the email TO and FROM addresses.
  • 'Reset Filename' - Reset the log file name.
  • 'SendNow' - Send the log file now.

API Calls Supported:

See supplied include file for APIs predefined. All commands must be sent to the virtual device.

'L3SendToLog' (Dev vdv, Char SentStr[])

API Calls Returned:

None

 

Last Modified: 05/16/2008 08:20:14 PM