FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-30-2024 06:01 PM
Hello everyone,
Since i started working with scheduler, my code started to present some errors in some parts of the code where before I didn't have any error. However, I can compile without any errors.
One of the errors is in the onWrite function, where I didn't any change
in line "callback(result, data);" is the same.
what am I missing?
04-30-2024 08:14 PM - edited 04-30-2024 08:15 PM
Is your SafetySched class derived from comm::datalayer::IProviderNode? In that case, I believe you just need to specify the override of the virtual function onWrite, as shown in the third image above, using the override operator.
void SafetySched::onWrite(ARGS) override {LOGIC};
04-30-2024 10:34 PM
Thanks for your answer. Unfortunately, I already tried that and it didn't work.
04-30-2024 10:38 PM
Can you run the application without error?
Maybe you updated a c++ intellisense/linter extension and these are just warnings?
05-10-2024 10:14 AM
I haven't managed to solve this problem yet. However, all the code compiles and works. I think it's an environment configuration problem, but I haven't figured it out yet.
Friday
Any news here? Could this issue been solved?