Activity for bnewman

  • bnewman bnewman posted a comment on ticket #67

    this can be closed BTW

  • bnewman bnewman posted a comment on ticket #67

    I think this is the same or similar to https://forge.codesys.com/lib/counit/tickets/58/ I figured out that this was occurring because assert was being called continuously

  • bnewman bnewman posted a comment on ticket #59

    Seems to work now. Can this be closed?

  • bnewman bnewman created ticket #68

    Request: Tutorial for Jinkins and example Python Scripts

  • bnewman bnewman created ticket #67

    AccessViolation Exception thrown in FB_AssertResultStatic.AddAssertResult()

  • bnewman bnewman created ticket #4

    Struct datatype Documentation is confusing

  • bnewman bnewman modified a comment on ticket #8

    I don't understand the point of this. Isn't just better to use __SYSTEM.AnyType instead of making your own type? Also if you wanted to make it an object, shouldn't you just wrap a FB around __SYSTEM.AnyType and then have some conversion Methods? Maybe I am missing the purpose of this code. Maybe add more details on how you would use MyMappingFB

  • bnewman bnewman posted a comment on ticket #8

    I don't understand the point of this. Isn't just better to use __SYSTEM.AnyType instead of making your own type? Also if you wanted to make it an object, shouldn't you just wrap a FB around __SYSTEM.AnyType and then have some conversion Methods?

  • bnewman bnewman posted a comment on a wiki page

    awesome! thank you sir.

  • bnewman bnewman posted a comment on a wiki page

    Will you please rerelease this under MIT or MPL2? GPL is a cancer.

  • bnewman bnewman posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I also would like to now how to clear the PLC Device Log. @eschwellinger are you saying there is no way to clear the log? When I am debugging I want to clear the log, it would make things some much easier to find.

  • bnewman bnewman posted a comment on ticket #2

    I just opened it in 3.5.18.4 and it didn't even give me that prompt at all. So I was able to see the code.

  • bnewman bnewman modified a comment on ticket #2

    I figured that, but in 3.5.19.2 it has that option grayed out. Actually all options in that dialog are grayed out

  • bnewman bnewman posted a comment on ticket #2

    I figured that, but in 3.5.19.2 it has that option grayed out. Actually all options in that dialog are grayed out On Mon, Aug 14, 2023, 1:41 PM i-campbell no-reply@codesys.com wrote: Workaround is to select "Remove git connection from project", and then "Continue with this version." [tickets:#2] https://forge.codesys.com/lib/colist/tickets/2/ Extra Dialog messages when downloading binary of library* Status: open Milestone: 2.0 Created: Sun Oct 17, 2021 01:02 PM UTC by i-campbell Last Updated: Mon...

  • bnewman bnewman posted a comment on ticket #2

    Is there a work around for this? I was wanting to look at the the source code. Specifically the IList and IElement interfaces.

  • bnewman bnewman modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Is there a way to programmatically inject a source position in to the log like an Exception does, so they you can double click on it and have it take you to the source code position? I know there there is the POSITION operator but that doesn't do the same thing. __POSITION()

  • bnewman bnewman posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Is there a way to programmatically inject a source position in to the log like an Exception does, so they you can double click on it and have it take you to the source code position? I know there there is the __POSITION() operator but that doesn't do the same thing

  • bnewman bnewman modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    That's fine with me I added a comment to that snippet with an improved version that doesn't throw an exception if the property already exists

  • bnewman bnewman posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    That's fine with me I added a comment to that snippet with an improved version that does throw an except if the property already exists

  • bnewman bnewman posted a comment on ticket #23

    this is an improved version that doesn't throw an exception if the property already exists def CreateAllProperties(fbname, shouldAddMonitor = False): # get current project project = projects.primary # find the function block fb = project.find(fbname, True)[0] # get the declaration text declaration = fb.textual_declaration # iterate all lines in the declaration for i in range(declaration.linecount): line = declaration.get_line(i) # get this declaration line stripped = line.strip() # strip out white...

  • bnewman bnewman posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Here is an updated version that works in Codesys 3.5.19.2 That old version didn't like the line fb.create_property(propname, proptype) def CreateAllProperties(fbname): # get current project project = projects.primary # find the function block fb = project.find(fbname, True)[0] # get the declaration text declaration = fb.textual_declaration # iterate all lines in the declaration for i in range(declaration.linecount): line = declaration.get_line(i) # get this declaration line stripped = line.strip()...

1