12-22-2024 09:36 AM
Hello
I have a question about time values displaying in 2DCurveChart area.
Look at this picture please.
This is the case when DataTimeRepresentation property of the CurveChart2D object is set to "eDateTimeRepresentationAbsolute"
dX-Cursor value in Position Cursor dialog has correct value beginning with 00:00:0000.
But Cursor dX in legend shows wrong value beginning with 01/01/0000.
I already know this is probably due to formating of relative value as absolute DataTime, but I didn't find out how to achieve same value as in Position Cursor dialog is.
And the same thing applies for Relative mode of CurveChart2D object. ( it is set to "eDateTimeRepresentationRelative") - see image below.
For relative time values, shouldn't it begin with 00:00:0000 ?
Is there a way to get correct relative DateTime string by formating numeric float type value? Or I need to use User commands?
And I'd like to see relative time values with minus character at the beginning when negative values come out, not "???????".
I have Diadem 2023Q2
Thank You in advanced.
John Horak
Last
01-09-2025 03:06 AM
Coud you share an example tdm / tdms file please?
01-12-2025 03:26 AM
Hello
If you mean the working file PulseDetection that's in the picture, than here you go.
It's not exactly the same file as in the picture, but it behaves the same.
Original data source is a Sefram .rec file.
John
01-13-2025 07:33 AM
All channels are empty and have different names compared to your example.
01-14-2025 09:58 AM
Greetings
Sorry, my mistake. I didn't check it enough.
It was really empty.
I uploaded it again.
But original you can see in the picture was very huge (>1GB). So I copied a small part of it.
There should be one group with two channels (Cidlo_U and P040B_I). Both of them about 90K of length.
But I guess it doesn't matter what data source you have imported. The behaviour I described in the first post should be seen with any waveform channel. Or is it only specific for Diadem 2023 Q2?
By the way, I eventually used usercommand script to format cursor values appropriately and no longer use Position Cursor dialog box.
John