Author
|
Matrix TSL
|
Version
|
1.0
|
Category
|
Runtime Tools
|
Event Log component
A simulation component designed to create a simple log record of events in your SCADA system. Logs to a file and / or to a console tab including optional automated time stamp.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EventLog.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EventLog.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
LogEvent
|
LogEvent
|
Allows an event string to be logged
|
- STRING
|
LogString
|
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
Log To Console
|
|
|
Log To File
|
|
|
Include Timestamp
|
Controls if a timestamp is appended to the start of the log string. Yes: Add timestamp to log string No: Leave log string as is
|
|
Console Properties
|
|
Console Name
|
|
|
Clear On Init
|
Selects if the contents of the console are maintained or wiped on runtime start. Yes: Console is automatically cleared No: Console is maintained and appended
|
|
File Properties
|
|
Log File
|
File to store the log data. Default: $(srcdir)log.txt $(srcdir) specifies the directory containing your Flowcode project file. log.txt specifies a file named log.txt If the file does not exist then it will be automatically created for you.
|
|
Clear On Init
|
Selects if the contents of the log file are maintained or wiped on runtime start. Yes: Log file is automatically cleared No: Log file is maintained and appended
|
|
Timestamp Properties
|
|
TimeStamp
|
|
|
US Date Format
|
Specifies the format of the date string. No - "DD/MM/YY" Yes - "MM/DD/YY"
|