Personal Data

Username:
stmos
Joined:
2020-09-30 19:49:25

Projects

User Activity

  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Hi, I'm sorry, but no... I don't have a sample project at the moment. I'm not even really an expert with the CharBufferString... 😢

  • Posted a comment on ticket #61 on co♻e: unittest framework for CODESYS

    Attached a tentative solution for the problem, patch for the FB_AssertResultStatic.ReportResult method, based on what's implemented in FB_AssertArrayResultStatic.ReportResult.

  • Created ticket #61 on co♻e: unittest framework for CODESYS

    FB_AssertResultStatic.ReportResult - PLC Crash

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Since version 3.5.2.0, as stated in the documentation, categories can be enumarated through python code. To get all the GUIDs: system.get_message_categories(bActive=False) Set bActive = True to get only the categories that contain at least one message. To get a description for each category: system.get_message_category_description(category) where category is the GUID of the category to look for. See: https://help.codesys.com/webapp/System;product=ScriptEngine;version=3.5.13.0

  • Created ticket #18

    Multiple timed tests, assertions and access violations

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Same question here... From my tests it seems also that if I try to fill the queue it gives the "Max size exceeded" error with the exact size of the array. So it seems that there is no need to have an underlying array 2 times the max size, but I'm concerned with possible memory overflows...

  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Hello, I can't find a way to initialize a CharBufferString from a WString. I've done something similar for a STRING: Declaration: astring : STRING(1000); cbs : Stu.CharBufferString(uiBufferSize:=2000, stringType:=__SYSTEM.TYPE_CLASS.TYPE_STRING); pst : POINTER TO STRING; Code: astring:='... a very long string ...'; cbs.FromString(astring); pst := cbs.m_cbpBuffer; But I can't find a "FromString" method that takes a WSTRING. Any idea? Thanks in advance.

  • Posted a comment on discussion Engineering on CODESYS Forge

    I have the exact same question. Does a documentation exist for these functions? I've found documentation for LogAdd2, but not for CMAddComponent and CMAddComponent2, and in particular for all the functions of the "Component Manager" library. Any hints? Thanks in advance.

View All