Giter Club home page Giter Club logo

qtads's People

Contributors

dcb-framatome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qtads's Issues

connect with new Qt way (pointer to function)

Hi!

I have a sample qAds project:

m_qAdsPlcData = new QADSARRAYOFINT(this,851,"10.1.2.15.1.1","10.1.2.15","mydata.data_out",QADSPLCVariable::SYNCHRONIZED,0)

I connect to a slot to update the GUI:

connect(m_qAdsPlcData, SIGNAL(valueChanged()), this, SLOT(update_display()));

Thats works, but i need to use new qt way, to improve the code with lambda expressions:

connect(m_qAdsPlcData, &QADSARRAYOFINT::valueChanged, this, &Display::update_display);

Thats compile, but in execution time i have the error: "QObject::connect: signal not found in QADSARRAYOFINT"

I need help to solve this, i read other cases with the same error, but not in Qads and not try to modify the library before ask here.

SYNCHRONIZED variables randomly don't update

Hello,
first: thank you for this great library!
Unfortunately we have a problem with "SYNCHRONIZED" variables. We mostly use it as QADSBOOL. Randomly, these variables are not updated, and we can't get the variables value. Calling value() then is (and stays) always true or false, and any update on TwinCAT side won't call the callback.
This randomly may happen to any of our QADSBOOL variables. Mostly it works as expected, but not always.

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.