i’m programmatically generating a .jls
file from some previously acquired data, as well as adding some marker pairs around some “interesting” slices of the signal…
all is well – though i have some general questions about this capability… i’ve named my markers “1a” and “1b” – but is there anything significant about the number chosen… i’ve even used the same labels for multiple marker pair, though nothing shows up any differently when my generated .jls
is loaded into the GUI…
i also noticed a comment somewhere about including additional information as part of this label – but where/how is this information used/displayed???
finally, is there a way to programmatically “pre-enable” stats display on the right side of each marker pair??? currently, i’m have to do quite a bit of manual setup when i load a newly generated .jls
file…
Hi @biosbob and thanks for joining the Joulescope forum! You can find the source code for the Joulescope UI annotation load feature here. The dual vertical markers will match on the first pair. So, if your file contains 1a, 1b, 1a, 1b, you will end up with two dual marker pairs. If your file contains [1a, 1a, 1b, 1b], then the result will not be what you expect. In general, it’s best just to use an incrementing value for each pair.
I notice that the loader supports a metadata
field. The Waveform widget applies the metadata here. The intent looks to be able to save/restore the statistics placement as you want. I am not sure if this feature works.
I can investigate in more detail next week when I get back from vacation.
If you export and load, does UI 1.3.6 restore the marker position?
export/load in UI 1.3.6 restores the marker position and my stats preference… something is working with the metadata here…
1 Like