Table Of Contents

Customizing Test Reports with JupyterHub

Last Modified: November 7, 2019

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.
  1. In Test Monitor, click Reports.
  2. Select the report you want to customize in JupyterHub.
  3. Click Download Source to save the .ipynb file to your local machine.
  4. On the toolbar, click and click Jupyter.
  5. Create a new folder and name it reports.
  6. In the reports folder, upload the .ipynb file you saved.
    spd-note-note
    Note  

    You can also find the reports installed at C:\ProgramData\National Instruments\Skyline\JupyterHub\notebooks\_shared\reports.

  7. 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.
    spd-note-note
    Note  

    You may need to install additional modules if you want to import data from different sources.

  8. Save the notebook.
In Test Monitor, click Reports to ensure your changes work correctly.

Recently Viewed Topics