DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Relative and Absolute time cursor value

Hello

 

I have a question about time values displaying in 2DCurveChart area.

Look at this picture please.

 

Absolute.PNG

 

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.

Relative.PNG

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  

0 Kudos
Message 1 of 5
(129 Views)

Coud you share an example tdm / tdms file please?

DIAdem experience since 1996

Turn-key applications - Remote and on-site trainings - On-the-job training

| müller+krahmer GmbH | Koenitzer Straße 14, 07338 Kaulsdorf / Germany |
| Phone: +49 36733 / 2328 - 6 | Mobile: +49 160 / 287 7294 |
| Email: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
0 Kudos
Message 2 of 5
(68 Views)

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

0 Kudos
Message 3 of 5
(57 Views)

All channels are empty and have different names compared to your example.

DIAdem experience since 1996

Turn-key applications - Remote and on-site trainings - On-the-job training

| müller+krahmer GmbH | Koenitzer Straße 14, 07338 Kaulsdorf / Germany |
| Phone: +49 36733 / 2328 - 6 | Mobile: +49 160 / 287 7294 |
| Email: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
0 Kudos
Message 4 of 5
(39 Views)

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

 

 

0 Kudos
Message 5 of 5
(32 Views)