Paragon-neo/100G: Automation - Generating CAT and PFV Reports

Paragon-neo/100G: Automation - Generating CAT and PFV Reports

Python wrapper: Yes TCL wrapper: No

Functions to generate PDF reports for CAT and PFV and transfer the report to the local PC.

calnexCatGenerateReport(report_name: str, dest_folder="./", with_charts=True)

calnexPfvGenerateReport(report_name: str, dest_folder="./", with_charts=True)

calnexCatGenerateReport()

Generate a report in the CAT and then download it to the local PC The measurement must have been stopped before a report can be generated Arguments: reportName: (str) The name of the report to be generated destFolder: (str), optional The name of the folder on the local PC where the report will be saved. The path to the folder will be created if required. If destFolder is not specified then the report will be saved in the current working directory (i.e. where the script is executing) withCharts: bool, optional If True (the default), then charts will be included in the report. Returns: None Raises: None

Examples:

calnexCatGenerateReport("my_report.pdf", dest_folder="./my_report_folder", with_charts=True)

Creates a CAT PDF report with containing rendered charts and filename “my_report.pdf” on the instrument then transfers the report to the local PC into the folder “my_report_folder” that exists in the current working folder.

 

calnexPfvGenerateReport("my_report.pdf", dest_folder="./my_report_folder", with_charts=True)

Creates a PFV PDF report with containing rendered charts and filename “my_report.pdf” on the instrument then transfers the report to the local PC into the folder “my_report_folder” that exists in the current working folder.