-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Direct Measurement Upload Without Local Storage #48
Comments
Do you mean instead of storing the buffers in
use them directly for uploading:
? |
I believe he is referring to the current implementation. The data can be sent along with the message in the 'Generate Training Data' menu, even if the user has not saved the measurement before. @R-Abbasi |
To address this issue, we need to implement two methods for sending data. Currently, sending data to the FFT API works regardless of whether the data has been saved or not, as the FFT API requires a JSON string. However, the battery API requires a file, necessitating that the data be saved, at least temporarily. The HUB API, on the other hand, accepts both approaches. @R-Abbasi, what are your thoughts on the best approach to handle all of these scenarios? |
The data (measurement values and string literals) are all inserted into a JSNO object in memory and then sent to the server. The object will be destroyed at the end of its block automatically, so nothing is required to be saved on machine's disk using the |
For the HUB API a .csv file is required because this API does not expect a JSON but a .csv file. @R-Abbasi Only the analyze APIs currently require a JSON. Therefore we need to implement two ways to send the data to this different APIs in different formats. I would appreciate your insights on the most effective approach to accomplish this. |
I'm not much experienced in networking but I guess the case is not that complex. If the data itself is sufficient for an API, we can put that data into a container and still use the http POST service to upload it. If an API needs a file in a specific format, that could also be handled using the FTP protocol, supposedly. |
Enable direct measurement upload without the need to save them on the computer first.
The text was updated successfully, but these errors were encountered: