systimeRTC

edmond
2018-09-26
2018-09-27
  • edmond - 2018-09-26

    hi,

    i want to get a systime.
    i use systimeRTC lib and try this:

    VARΒ  Β 
    Β  Β t0:Β  Β DWORD;
    Β  Β t1: Β  Β DT;
    END_VAR
    t1:=DWORD_TO_DT(systimeRtcGet(pResult:=t0));
    

    It works.
    i see there is a high resolution version
    SysTimeRtchighResGet(pTimeStamp:=γ€€γ€€οΌ‰, in_out type is systime

    how to get the milisec data?

     
  • e.kislov - 2018-09-27

    Hi. Hope it helps:

    IMG: 1.png

    IMG: 2.png

     

Log in to post a comment.