Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3197

Waveform step doesn't fit to set values

$
0
0

Hello guys!

 

Evaluating some data, I just wondering about the behavior of the waveform transformation.

Data (numeric) recorded with 10 kHz.

To transform numeric into waveform, I create the time channel with start time, microseconds as unit, 100 as step, and the number of values the same as for the data channels.

Then transform.

Resulting step of the waveform is not 1e-04, but a curious value slightly lower, around 9.9182E-05 (with DIADEM 2015) or 9.9999E-05 (with DIADEM 2019).

 

set chan = Data.Root.ActiveChannelGroup.Channels("Time") t_s = TTR(Data.Root.Properties("Startzeitpunkt").Value) dt = (chan(3)-chan(2))/(1e-06) no = chan.Properties("length").Value Call ChnGenTime("/TimeGenerated","microsecond",t_s,,dt,"StartStepNo",no) Call ChnToWfChn("[1]/TimeGenerated","'[1]/Time' - '[1]/CE03'",0,"WfXAbsolute")

 

Have a small file example attached.

 

It's not an issue to change it "manually", but why this occurs? And why the step is not the same for different program versions?

 

Any ideas?

 

Greetings,

Vassili

 

 


Viewing all articles
Browse latest Browse all 3197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>