EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #87 background imageLoading...
Page #87 background image
Report Commands SECTION 6 Functions and Methods
86
Typical Example
UploadRecipe("recipe1",done)
The recipe 'recipe1' is uploaded, and point 'done' is set True when the upload
is complete.
References
Refer to the CX-Supervisor User Manual for details of recipes.
6-11 Report Commands
6-11-1 GenerateReport
Syntax
returnstate =
GenerateReport(ReportTemplateFile,ReportOutputFile)
Remarks
Typical Example
GenerateReport("report3.txt","output.txt")
The ReportTemplateFile report3.txt contains a predefined set of point names
and text laid out exactly as the report reader likes to view them. The point
names contained within enclosing characters are the CX-Supervisor names
for the data that is required in the report.
The enclosing characters can be changed in the Project/Runtime Setting/
Report setting dialog box, but once set must be fixed for all reports generated
by the project.
The template file can be written using any ASCII text editor, for instance a Text
file (.TXT), a Rich Text file (.RTF) or a Hypertext file (.HTML).
The report template is processed, dynamically replacing the point names with
current values, and saved as output.txt.
6-11-2 PrintReport
Syntax
returnstate = Printreport(ReportTemplateFile)
Remarks
recipename string The name of the recipe to be uploaded.
processed bool Flag set to true when operation has been
completed.
Argument Type Description
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
ReportTemplateFil
e
string Pathname of the report template file.
ReportOutputFile string Pathname of the report output file.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals