Code Monkey home page Code Monkey logo

Comments (4)

dmroeder avatar dmroeder commented on July 18, 2024

I didn't really want to go down the path of raising custom errors because there are quite a few. I made changes to raise ValueError more consistently. Your code will work fine with these changes since you were checking for ValueError.

from pylogix.

TheFern2 avatar TheFern2 commented on July 18, 2024

Thanks for the fix, will test sometime today. Looks good, CIP Status code, plus the string should be more than enough. By the way that tag giving me problems in the UDT was read/write, I will also try to test on my local setup. It's still strange to me why that tag is behaving that way.

<Member Name="ConHoldTime" DataType="REAL" Dimension="0" Radix="Float" Hidden="false" ExternalAccess="Read/Write"/>

from pylogix.

dmroeder avatar dmroeder commented on July 18, 2024

Even though ConHoldTime is set to Read/Write, the instance of UDT_TD_CfgData is set to ReadOnly. That is, Cfg the first member of UDT_TD_UNIT, which is of the type UDT_TD_CfgData and it is set to ReadOnly.

from pylogix.

TheFern2 avatar TheFern2 commented on July 18, 2024

Ah ok that makes sense nested structure, and the parent is read only. So confusing lol.

from pylogix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.