Cycles
Posted: May 10 2024
Hello
a coding question : How can I plot vertical lines every 20 seconds ? Starting with a StartTime(Input) in a while loop ?
The time-format is HH:MM:SS .My problem is adding seconds .It adds up in the 100er format instead of 60er .
kind regs
A step further .If I use
a coding question : How can I plot vertical lines every 20 seconds ? Starting with a StartTime(Input) in a while loop ?
The time-format is HH:MM:SS .My problem is adding seconds .It adds up in the 100er format instead of 60er .
kind regs
A step further .If I use
inputs:
XTime_S( 80900 ) ;
var: var0(0),var1(0),var2(0),TimeToSec(0);
var0 = IntPortion ( XTime_S/10000 );
var1 = Intportion ( (XTime_S - var0*10000)/100);
var2 = IntPortion ( FracPortion(XTime_S/100) * 100 );
TimeToSec = 60*60*var0 + 60*var1 + var2;
Print(XTime_S," ",TimeToSec);