SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Populating Test results into SystemLink from CSV files using Python

I have a collection of CSV files saved to my SystemLink server that contain measurement data for various tests. I want to take the data from these CSVs and create test results on the server.

 

Is there a way to do this in Python without using TDMS/DataFinder? If so, which API would work best for this task?

 

Thanks in advance fine people.

0 Kudos
Message 1 of 3
(1,191 Views)

The API (systemlink.clients.nifile.models.upload_response module) should get you the uploaded file to python for further processing. 

 

Refer: https:// <your  server address here> /niapis/python/modules/systemlink.clients.nifile.models.upload_response.html?#module-systemlink.clients.nifile.models.upload_response

 

Thanks,

Ajay

--
Ajay MV


0 Kudos
Message 2 of 3
(1,154 Views)
So, this example should get you started with querying for files on your server: https://github.com/ni/systemlink-server-examples/blob/master/jupyter/FileServiceExample.ipynb The example here should get you started with the APIs for creating tests: https://github.com/ni/systemlink-server-examples/blob/master/python/testmonitor/results/results.py
Cheers!

TJ G
0 Kudos
Message 3 of 3
(1,138 Views)