Table Of Contents

Customizing Asset Reports with JupyterHub

Version:
    Last Modified: November 7, 2019

    Edit the Python notebooks that install with Asset Module to customize your asset reports.

    To edit code in asset report notebooks, first install NI SystemLink Asset Module and JupyterHub Module. Refer to Jupyter Notebooks and Scrapbook documentation for details about programming with JupyterHub.
    1. In Asset Manager, select one of the reports on the dashboard.
    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 Asset Manager, click Reports to ensure your changes work correctly.

    Recently Viewed Topics