The Command Line Print to File feature allows other tools to
command SERVOsoft to generate print reports of existing project
files. Supported file formats are PDF and TXT.
- Command Line Print to File is available in the PRO version
- This feature is not designed to be a high performance
optimization interface. The Command Line
Interface is designed for high performance optimization.
|
The Command Line uses a pipe “|” delimiter in the form:
SERVOsoft.exe CommandType |
VisibleState | ProjectFile |
ReportFormat |
ProductNotInDatabaseRule |
Betriebsmodus
- CommandType
- Value: 10 (Print to File interface type)
- VisibleState
- Values:
- 0 (Minimized)
- 1 (Visible)
- The program runs minimized [0] or visible [1]
- Visible can be used for debugging. Otherwise, run minimized for
better performance, where GUI updates are not called.
- ProjectFile
- Path\FileName.ssp3/4
- The report is generated in the same folder as the source
project file
- ReportFormat
- ProductNotInDatabaseRule
- Values:
- 0 (AutoAdd)
- 1 (PromptPopUp)
- 2 (DoNotAdd)
- Specifies what happen when a product used in the project file
does not exist in the database
- Note that storing product data in project files was added in
v2.9. So very old v2 projects may not contain the product data in
the project file.
- Eg. A gearbox used in the project file does not exist in the
database. When ProductNotInDatabaseRule = 0 (AutoAdd), then the
product data is automatically added to the database before creating
the report.
- Betriebsmodus
- Values:
- 0 (Normal)
- 1 (Max-Stop)
- 2 (Notstrom)
Example Command Line Print to File
- SERVOsoft.exe 10|0|C:\Test.ssp4|7|0|0
- Program runs minimized
- Loads the project at C:\Test.ssp4
- Automatically adds product data to the database if needed
- Creates a text report at C:\Test.txt
- Program shuts down
Verwandte Themen