recording list format and usage info
Closed this issue · 13 comments
Please:
- number recordings the same way they show up on DDM (1-based)
- add recording start date
- separate output values with one TAB char only (good idea, tabs are better than spaces)
- fix usage info. Probably it should read:
dmm_util <usb port> recordings {index | name} <value...>
dmm_util <usb port> recordings list
-- or --
dmm_util <usb port> recordings {list | index <value...> | name <value...>}
if the intention is to follow Microsoft/IBM standard
The same applies to the other saved_* options.
add recording start date
what do you mean? Can you give an example?
For the 1-based index please try the 1-based-index branch, and tell me if it's ok.
For the last comment, I'm sorry but I don't understand.
Is it for the list option?
If so, what interval samples and events means? There is only one value, the number of samples.
I have never used this notion of "event".
I need some help...
Can you please:
1 - get the 1-based-index branch script
2 - remove the "#" in line 439
3 - run the utility for the recording in the photo above
4 - stop the script by typing CTRL-C (I need only the beginning, there are too many results)
5 - post the result (only the "recording" data)
I need to know if events
is the field named sample_interval
Interval Samples
is the field num_samples
of my structure.
I am not an expert but I think what Fluke means by event is what is defined under Setup/Recording menu option (below).
It looks there are three typed of records: INTERVAL, STABLE and UNSTABLE. INTERVAL records are scheduled samples, STABLE/UNSTABLE are events recorded out of schedule. I did counting, it adds up.
I think the "Format" header on the attached screen is a bug.
Requested file attached.
Thanks but you didn't uncomment line 435...
So I don't have the "recording" structure.
here it is again
Fluke-G1.txt
Thanks for these informations.
I have understood what these data mean.
I have searched them in the data returned by the DMM.
Unfortunately, I can't find them.
I find only one thing: the sum of the two others.
You can see this in the file you have posted. It's the field num_samples
. It's value is 5444 ie 244 + 5200
You know this is reverse engineering, and all data are not explained. There are different formats, and it's hard to find everything.
So I'm sorry but I can't display Interval samples and Events.
I'll work on the other things you asked for.
Thanks for trying, probably this data is just not there.
- number recordings the same way they show up on DDM (1-based) => partially done
- add recording start date => done
- separate output values with one TAB char only (good idea, tabs are better than spaces) => done
- fix usage info. => done
More tests must be done.
It looks all good.
Maybe duration days should be two chars instead of one char but I am not certain (e.g. 0:20:17:09 -> 00:20:17:09).
You are right.
User manual says -> 99 days 23 hours and 59 minutes
It's done