Activity for cošŸ“e - XML File Handling

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz posted a comment on ticket #2

    fixed in https://github.com/HAHermsen/co5e-XML-File-Handling

  • aliazzz aliazzz posted a comment on ticket #7

    cošŸ“e-XML-File-Handling https://github.com/HAHermsen/co5e-XML-File-Handling Also contains a good usage example

  • aliazzz aliazzz modified ticket #9

    FB_WSTRINGBuffer

  • aliazzz aliazzz posted a comment on ticket #9

    The user is encouraged to use the new improved String Library from CODESYS instead if they wish to use WSTRING / UTF8 or UTF16. The library has been moved under the www.co5e.org umbrella.

  • aliazzz aliazzz posted a comment on ticket #10

    since CODESYS will roll out this feauture, this ticket is closed.

  • aliazzz aliazzz modified ticket #10

    Create .yml pipeline and tuned manifest

  • aliazzz aliazzz modified ticket #11

    move library source under co5e control

  • aliazzz aliazzz posted a comment on ticket #11

    https://github.com/HAHermsen/co5e-XML-File-Handling

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz posted a comment on ticket #11

    Yes, probably quite soon actually

  • bnewman bnewman posted a comment on ticket #11

    Will you change the name of the library to be inline with Co5e naming?

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified a wiki page

    Home

  • hermsen hermsen modified ticket #12

    Add interfaces to FB's

  • hermsen hermsen created ticket #12

    Add interfaces to FB's

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified ticket #11

    move library source under co5e control

  • aliazzz aliazzz created ticket #11

    move library under co5e control

  • aliazzz aliazzz created ticket #10

    Create .yml pipeline and tuned manifest

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz created ticket #9

    FB_WSTRINGBuffer

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz committed [r81]

    deleted non-working doc-export command

  • aliazzz aliazzz committed [r80]

    Changed order

  • aliazzz aliazzz modified a wiki page

    Home

  • TimvH TimvH committed [r79]

    Seek path variable changed from STRING to T_MaxString. Is required for deep nested xml file, or long tag names.

  • TimvH TimvH committed [r78]

    When the buffer is smaller than the filesize, it could happen that some data was not correctly parsed.

  • TimvH TimvH committed [r77]

    added (project embedded) xml file

  • TimvH TimvH committed [r76]

    Example project with small buffer and large file. creates a list of recipes with the memory location in the file. then details from this recipe can be parsed on request.

  • TimvH TimvH committed [r75]

    Added method to get current position where file is searched to be able to read the rest of the file.

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified ticket #8

    Release [r66] as tag for download

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz modified a wiki page

    Home

  • aliazzz aliazzz committed [r74]

    commit of trunk and tag example

  • aliazzz aliazzz committed [r73]

    example for trunk v0.4.0.0

  • aliazzz aliazzz committed [r72]

  • aliazzz aliazzz committed [r71]

    commit of

  • aliazzz aliazzz committed [r70]

    binary commit of v0.4.0.0

  • aliazzz aliazzz committed [r69]

    Trunked v0.4.0.0 from Branch TimvH

  • aliazzz aliazzz committed [r68]

  • ddenton ddenton posted a comment on ticket #6

    Actually I think I know where I went wrong. Thanks for your help!

  • ddenton ddenton posted a comment on ticket #6

    Oh! The file I downloaded was a compiled library though?

  • aliazzz aliazzz posted a comment on ticket #7

    v0.4 is ready for tagging so expect it soon, it has a seperate example which both parses and composes. ps I suspect your composing code is missing the initialisation of the buffer; XML.SetBuffer(pString:= ADR(Buffer), iSizeOf:= SIZEOF(Buffer)); If initilised you should also itterate you xml tree. Anyway, all is laid out in the v0.4 example too

  • jeremyshubert jeremyshubert posted a comment on ticket #7

    Thanks @aliazzz I don't purposely intend to prepend. Composing works well, nice work here! I have tried again using 0.3.3.0 and the example project provided. The Parse action from the example tries to call ReadFile & GetTagData on XML (FB_XmlControl) that are not valid. There is a Read method in FB_FileControl but changing ReadFile to Read still results in a not defined error.

  • jeremyshubert jeremyshubert posted a comment on ticket #6

    Since the library is not compiled, you can open the library in CODESYS, delete the CFUnit reference from the library manager of the project and save. If you "Save Project and Save Into Library Repository" then your XMLPAC reference in your project will update automatically. https://help.codesys.com/api-content/2/codesys/3.5.13.0/en/_cds_cmd_save_project_and_save_into_library_repository/

  • ddenton ddenton posted a comment on ticket #6

    Hi aliazzz! Could you walk me through how to remove the library reference? I don't see an option to delete the library

  • aliazzz aliazzz committed [r67]

    v0.4.0.0

  • aliazzz aliazzz created ticket #8

    Release [r66] as tag for download

  • aliazzz aliazzz modified ticket #7

    Compose Example

  • aliazzz aliazzz modified a comment on ticket #7

    Thank you for your kind feedback :-) Parsing is fixed in branch [r66] A library which parses correct is found here; https://forge.codesys.com/lib/xml-pac/code/HEAD/tree/branches/timvh/library/xml-pac.library?format=raw An an example included, I will publish this as a tag asap for public usage. PS Prepend is phased out in the newest version. If you wish to use prepend, you must add/write it yourself.

  • aliazzz aliazzz modified a comment on ticket #7

    Thank you for your kind feedback :-) Parsing is fixed in branch [r66] A library which parses correct is found here; https://forge.codesys.com/lib/xml-pac/code/HEAD/tree/branches/timvh/library/xml-pac.library?format=raw An an example included, I will publish this as a tag asap for public usage.

  • aliazzz aliazzz posted a comment on ticket #7

    fixed in branch [r66] A library which parses correct iws found here; https://forge.codesys.com/lib/xml-pac/code/HEAD/tree/branches/timvh/library/xml-pac.library?format=raw Ther is also an exampkle in cluded, will publish this as a tag asap.

  • aliazzz aliazzz modified ticket #4

    At this time the parsing is still a bit buggy..

  • aliazzz aliazzz posted a comment on ticket #4

    fixed in branch [r66]

  • jeremyshubert jeremyshubert created ticket #7

    Compose Example

  • aliazzz aliazzz modified ticket #5

    FB_StringBuffer Issue

  • TimvH TimvH committed [r66]

    library including:

  • TimvH TimvH committed [r65]

  • TimvH TimvH committed [r64]

    create library folder

  • TimvH TimvH committed [r63]

    example including reading tag value (lib 0.3.4.0)

  • TimvH TimvH committed [r62]

    example reading tag value

  • jeremyshubert jeremyshubert posted a comment on ticket #6

    thanks, the library isn't compiled so this worked for me

  • aliazzz aliazzz modified ticket #6

    CFUnit 0.9.1.0

  • aliazzz aliazzz posted a comment on ticket #6

    I suggest you simply remove the library reference to cfunit from your version of xmlpac.

  • jeremyshubert jeremyshubert created ticket #6

    CFUnit 0.9.1.0

  • peve peve posted a comment on ticket #5

    Ok. Firstly, I was made two instances of XmlControl.FB_XmlControl. Then in the code, the mistake was, the other instance was called two times. And the other was not called anytime. The outcome was that when pressing 'Login' button the Codesys opened the window named 'FB_StringBuffer.Prepend.Set[From XML parsing and composing library]'. That is what has been imagined on earlier in the ticket. The fix was, just calling the instances once, both of them. After that everything runs properly. PS Yes exactly,...

  • aliazzz aliazzz modified a comment on ticket #5

    Thanks for the feedback. But for completeness, could you tell what your mistake is? This so that others can benefit from it. I hope to read your "mistake" and fix here soon ;-) PS without mistakes, there is nothing to be learned... how boring would that be? PS I can add you to the developers so you can add / debug new features if you wish. This is the power of open source. We all benefit this way.

  • aliazzz aliazzz modified a comment on ticket #5

    Thanks for the feedback. But for completeness, could you tell what your mistake is? This so that others can benefit from it. I hope to read your "mistake" and fix here soon ;-) PS without mistakes, there is nothing to be learned... how boring would that be?

  • aliazzz aliazzz posted a comment on ticket #5

    Thanks for the feedback, but completeness, could you tell what your mistake is? This so that others can benefit from it.

  • peve peve posted a comment on ticket #5

    Hi Aliazzz, I got the issue totally solved. There was a bug due to mistake of mine. So this Issue can be closed. Thank about helping with the issue. PS I hope development of this Library will be continued in the future. This is good and useful library for CODESYS. Best regards, peve

  • peve peve posted a comment on ticket #5

    Hi Aliazzz, I got the CfUnit library linked to XML parsing and composing library with success. But the original problem showed up again. Do you have some further instructions to this problem, how to solve the buffer problem? Best regards and thanks a lot beforehand, peve

  • peve peve posted a comment on ticket #5

    Hi, Thank you Aliazzz about quickly answering. Yes I noticed that the version of CfUnit library is 0.9.1.0. I downloaded with success the CfUnit v1.1. But now the problem is that how to add this newer version in use under XML parsing and composing library? I tryed to link it to this library multiple times but not with success.

  • aliazzz aliazzz modified a comment on ticket #5

    Hi, Thank you for your feedback and kind remarks. The version that is posted here is slightly older then the one found embedded within CfUnit v1.1. I suggest you download it and use that one. PS There is still a lot to be done on the parsing of XML so don't expect it to work properly. Regards Aliazzz

  • aliazzz aliazzz modified a comment on ticket #5

    Hi, Thank you for your feedback and kind remarks. The version that is posted here is slightly older then the one found embedded in CfUnit v1.1. I suggest you download it and use that one. Regards Aliazzz

  • aliazzz aliazzz posted a comment on ticket #5

    Hi, Thank your feedback. The version that is posted here is slightly older then the one found embedded in CfUnit v1.1. I suggest you download it and use that one. Regards Aliazzz

  • aliazzz aliazzz modified ticket #5

    FB_StringBuffer Issue

  • peve peve posted a comment on ticket #5

    and in addition a better picture of the issue

1 >