DIAdem Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
cfoe

Time Format precision in DIAdem

Status: Completed

Hi cfoe, et al.,

 

DIAdem 2018 finally ships with the option to expand the precision of time channels to better than 1 msec (in our century).  For backwards compatibility we left that option turned off by default.  Go into the DIAdem settings dialog, then under "General" check the "High resolution for absolute time values" checkbox.  If you then save your *.DDD file, this setting change will persist each time thereafter that you restart DIAdem.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Hello,

 

I checked the DIAdem hepl and saw that the time value converted in text only allows 4 digits for the fraction of a second.

But how can you display datetime in text for more precise values.

 

For example, if i acquire on a real time target, analog inputs data at 1MHz, all samples are more precisely time stamped than the best text value that you can display.

 

It would be very convenient to display time stamp like that : 06/19/2013 15:37:50.12345678

instead of that : 06/19/2013 15:37:50.0005

 

Thanks  !

Best Regards

CFOE

5 Comments
cfoe
Member

Hello,

 

Just to correct the previous exemple, you should understand that :

 

It would be very convenient to display time stamp like that : 06/19/2013 15:37:50.12345678

instead of that : 06/19/2013 15:37:50.1234

SmileBoB
Member

Yeah !! It will be awesome !!! Especially when working with high Sample frequency  data !!

cfoe
Member

Hello,

 

More precision after a long time with the NI hotline.

DateTime values are defined as a double value.

It means that for a precision higher than the hundred microsecond, the precision is not possible using absolute time due to the less of precision coding it a double.

Languages like .NET can have more precise TimeStamp because DateTime are coded as ticks with a precision of a hundred nanosecond (long values).

The problem using DIAdem is that long values (interger 64 bits) are not supported by DIAdem.

 

If you want to have precise time, you have to use relative time.

 

It would be nice for NI and DIAdem to add the DataType I64 in order to improve the DateTime precision.

 

Best Regards

 

CFOE

dietfons
Member
 
Brad_Turpin
Trusted Enthusiast
Status changed to: Completed

Hi cfoe, et al.,

 

DIAdem 2018 finally ships with the option to expand the precision of time channels to better than 1 msec (in our century).  For backwards compatibility we left that option turned off by default.  Go into the DIAdem settings dialog, then under "General" check the "High resolution for absolute time values" checkbox.  If you then save your *.DDD file, this setting change will persist each time thereafter that you restart DIAdem.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments