framatome / qtads Goto Github PK
View Code? Open in Web Editor NEWThe QtADS library contains utility classes for integrating Qt with Beckhoff's TwinCAT real-time software PLC system using ADS.
License: MIT License
The QtADS library contains utility classes for integrating Qt with Beckhoff's TwinCAT real-time software PLC system using ADS.
License: MIT License
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.