-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement record to file #2
Comments
As first version, the file format can be CSV. CSV can be:
As a second, step we can implement the saving to a HDF5 file. In this case, we should implement a structure to save the data. And we should evaluate if we wants to save more than one acquisition on the same file. @inki2, What do you thinks about it? |
If writing to the file will be ongoing as the data is collected; would it not be better to write data line by line (so that the above rows become columns)? |
It depends how you wants to save the data, the easy way is append on the file, for that reason you should have the data of all channel for the point, if all channel are measured at the same frequency. If the channels have different acquisition frequency your are right, and maybe its better to implement the saving to the HDF5 first, because it is a binary file and you can access to the data in a easer way.
And the channels can have difference length of the data n != m != p, the PointNo should have the maximum lenght When you try to import the CVS file in excel to plot the data can be complicated if we use this implementation. We can investigate how a real oscilloscope export the data to a cvs file. |
The following is an example output from a real oscilloscope. This model produces one file per signal.LECROYWM8500,204,Waveform |
@inki2 thanks for the investigation. In our case, as first approach, we can save in the same file all the signal, and use only one acquisition frequency. In the future, if it is needed, we can implement different acquisitions frequencies and save one signal per file. |
Implement the record button to save in a file before to plot the data.
The text was updated successfully, but these errors were encountered: