Personal Data

Username:
jari-koivuluoma
Joined:
2023-03-17 12:28:32

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    FB jsonFileWriter gives a NULL_POINTER error, why? JSONByteArrayWriter works fine so the JSONData FB should be fine. The device is CODESYS Control Win V3 x64 in simulation mode. Codesys version is V3.5 SP16 Patch 5 JSON_Utilities_SL version is 1.3.0.0 Src: ST_TestStruct1a; TXT: WSTRING(10000); MakeJSON : BOOL := TRUE; SrcJSONData: JSON.JSONData; jsonFileWriter : JSON.JSONFileWriter; IF MakeJSON THEN MakeJSON := FALSE; // Struct data to JSONData FB F_TestStructToJSON(ADR(Src),ADR(SrcJSONData)); //...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    DELETE THIS

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    It seems that this works, but again, I dont know how reasonable this is. currlang := VisuElems.CURRENTLANGUAGE; VisuElems.CURRENTLANGUAGE := newLang; VisuElems.DynamicTextReloadTexts(); TLU.GetTextW('TEXT_ListName','Id',ADR(str),SIZEOF(str)); VisuElems.CURRENTLANGUAGE := currlang; VisuElems.DynamicTextReloadTexts();

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    It seems that this does not work. It works if I put a breakpoint right after the temporary change of the VisuElems.CURRENTLANGUAGE variable but not regularly. Maybe the visu task runs while the main task is halted and loads the text of the new current language to memory. It seems that there is a method to manually load the text but it sounds awfully inefficient to load large text files that way. Any ideas?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    It seems that this does not work. It works if I put a breakpoint right after the temporary change of the VisuElems.CURRENTLANGUAGE variable but not regularly. Maybe the visu task runs while tha main task is halted and does something. Any ideas?

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Well there you have it. Is this possible? The TLU.GetText only retrieves the text of the selected language but I would like to get a text of the language of my choosing. I guess I could try change the VisuElems.CURRENTLANGUAGE variable temporarily to the desired language just before the retrieve and then change it back after. Would it start to change the visualisation language only if its still changed once the visu task starts?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Well there you have it. Is this possible? The TLU.GetText only retrieves the text of the selected language but I would like to get a text of the language of my choosing. I guess I could try change the VisuElems.CURRENTLANGUAGE variable temporarily just before the retrieve.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Does anyone know if the timeout is currently adjustable? Im connecting trough reverse ssh tunnel and experiencing similar problems. Webvisu and terminal connection are working quite good but codesys has worked only once so far.

View All