Edit the Python notebooks that install with Test Module to customize your test reports.
To edit code in test report notebooks, first install NI SystemLink Test Module and JupyterHub Module. Refer to Jupyter Notebooks and Papermill documentation for details about programming with JupyterHub.
In Test Monitor, click Reports.
Select the report you want to customize in JupyterHub.
Click Download Source to save the .ipynb file to your local machine.
On the toolbar, click
and click Jupyter.
Create a new folder and name it reports.
In the reports folder, upload the .ipynb file you saved.
You can also find the reports installed at C:\ProgramData\National Instruments\Skyline\JupyterHub\notebooks\_shared\reports.
Open the notebook and modify it using Python code. You can use the SystemLink JupyterHub Python API to import data from different data sources, such as tags, test results, or TDMS files. Refer to the Python API examples in GitHub or the Python API document on your server for more information.
You may need to install additional modules if you want to import data from different sources.
Save the notebook.
to ensure your changes work correctly.