Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Target-Visualization, Interface Description

Esterbauer
2014-07-30
2014-08-04
  • Esterbauer - 2014-07-30

    Hi there,

    is there any additional documentation to the "Target-Visualization, Interface Description", Document Version 1.0,
    Ref: tech_doc_e.doc / V1.2.
    Some parameter are not included in this document.

    Actually interesting would be the nType Parameter from the function 2.19:

    FUNCTION Printf : STRING
    VAR_INPUT
    stFormat: STRING;
    dwValue: DWORD;
    nType: INT;
    END_VAR
    Is to be used just like the C function sprintf, yet only one variable is needed in the formatted string.

    Thanks and
    best Regards
    Christian

     
  • shooter - 2014-08-01

    could not find your function but yes it is standard C.

     
  • Esterbauer - 2014-08-04

    Thanks, but C does not have the nType Parameter, can it be omitted?
    Printf is Part of the SysLibTargetVisu

     
  • shooter - 2014-08-04

    most probably it is working like the %2.3f function, just try it.
    you will not be punished for trying.

    and yes i agree the description of a lot of functions and libraries is very poor.
    when i write my own it is the same, when it works i use it. even without comments and manual.

     

Log in to post a comment.