we newly bought the WebDAQ 904 for our R&D Team and right now I have some questions regarding the functionality of the device.
My Questions: 1) Get temperature values from a thermistor
We thought it should be possible to connect a thermistor (e.g. ntc) to one of the channels of the device and retrieve the temperature data from that kind of sensor.
Thus, where are looking for a “Job Editor” functionality where we can enter the specifications of our thermistor to retrieve the correctly calculated temperature values. In such a provided job configuration mask we would enter the thermistor variables “beta”, e.g. 3988, “design resistance”, e. g. 10 kOhm and the “design temperature”, e. g. 25°C.
Question 1:
Is it possible to directly retrieve temperature data from a ntc thermistor, as described above?
2) Getting latest recorded logging sample via REST API
I’ve partly studied your sample programs “read_data_wait_for_start.py” and “read_data.py” (both written for python, found here: https://files.digilent.com/#downloads/WebDAQ/REST-API/).
Pulling the data samples via REST API in this code is done by sending e. g. the command GET /mywebdaq.local/api/v1.0/schedule/jobs/job1/samples/123/1000/bin ;
where 123 is standing for the logged sample, with the index 123, that way I‘m fetching sample 123;
1000 is standing for the amount of samples which shall be fetched at a time.
Question 2:
Is it possible to pull only the latest sample by sending a corresponding URI via REST API?
This URI could be:
GET /mywebdaq.local/api/v1.0/schedule/jobs/job1/samples/latest_sample/bin
The idea is to write a loop in python that only fetches the latest single sample within one loop iteration, and it should not fetch an accumulated data block.
Question
JoTop
Dear Ladies and Gentlemen,
we newly bought the WebDAQ 904 for our R&D Team and right now I have some questions regarding the functionality of the device.
My Questions:
1) Get temperature values from a thermistor
We thought it should be possible to connect a thermistor (e.g. ntc) to one of the channels of the device and retrieve the temperature data from that kind of sensor.
Thus, where are looking for a “Job Editor” functionality where we can enter the specifications of our thermistor to retrieve the correctly calculated temperature values. In such a provided job configuration mask we would enter the thermistor variables “beta”, e.g. 3988, “design resistance”, e. g. 10 kOhm and the “design temperature”, e. g. 25°C.
Question 1:
Is it possible to directly retrieve temperature data from a ntc thermistor, as described above?
2) Getting latest recorded logging sample via REST API
I’ve partly studied your sample programs “read_data_wait_for_start.py” and “read_data.py” (both written for python, found here: https://files.digilent.com/#downloads/WebDAQ/REST-API/).
Pulling the data samples via REST API in this code is done by sending e. g. the command GET /mywebdaq.local/api/v1.0/schedule/jobs/job1/samples/123/1000/bin ;
where 123 is standing for the logged sample, with the index 123, that way I‘m fetching sample 123;
1000 is standing for the amount of samples which shall be fetched at a time.
Question 2:
Is it possible to pull only the latest sample by sending a corresponding URI via REST API?
This URI could be:
GET /mywebdaq.local/api/v1.0/schedule/jobs/job1/samples/latest_sample/bin
The idea is to write a loop in python that only fetches the latest single sample within one loop iteration, and it should not fetch an accumulated data block.
Thank You for Your effort,
JoTop
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now