Giter VIP home page Giter VIP logo

Comments (5)

mzillgith avatar mzillgith commented on August 15, 2024

I tried this with the 64 bit compiled native DLL and the examples I have for reporting ("reporting" and "report_new_dataset" and the problem doesn't show. Have you tried the examples? Do they also show the problem for you?
Maybe in your code the connection doesn't work and "self" is a NULL pointer?

from libiec61850.

IgorMundstein avatar IgorMundstein commented on August 15, 2024

@mzillgith

I recorded a video: https://youtu.be/95Hi23AczaQ

from libiec61850.

IgorMundstein avatar IgorMundstein commented on August 15, 2024

Hi @mzillgith,

I found a way to work.

Call the methods: SetOptFlds and SetTrgOps
BEFORE the method GetRCBValues and the exception will not be thrown.

Probably, the method GetRCBValues must be blocking some memory access lock.

from libiec61850.

mzillgith avatar mzillgith commented on August 15, 2024

Hi @IgorMundstein ,
I have seen in your video that the RCB reference uses the "$" as separator, while the examples are using the "." as separator. In fact the GetReportControlBlock method assumes the "." signs in the reference and cannot detect if it is an buffered report when using the "$" signs. Because the GetRCBValues function later assumes it is an unbuffered RCB where the elements are slightly different the memory gets corrupted. When you are using "DemoProtCtrl/LLN0.BR.brcb02" as reference it should work.
I know it is a bit confusing that the "." signs have to be used for the RCB reference while the "$" for the data set reference in the RCB. I will change the code so it will accept both types of separators.

from libiec61850.

IgorMundstein avatar IgorMundstein commented on August 15, 2024

@mzillgith

I did not realize it. I am used to remove FunctionalConstraint from address and replace $ to .

Like I do in the method "ReadValue", for example. However, it have the parameter (FunctionalConstraint ) in the signature.

Thanks!

from libiec61850.

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.