FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
10-11-2023 05:01 PM - edited 10-11-2023 05:03 PM
Hello,
I try to read out node 'diagnosis/get/actual/list/amount-errors' into PLC to check if there is one or more error in CtrlX to confirm, get more info, and so on....
I use this code like in online help:
Decleration:
Code:
When executing an Access_Error 'DL_TYPE_MISMATCH' follows.
Error description does not help much, at least to me.
As I read in description type is set by node? So why wrong type, don't understand.
Any ideas what's wrong, thanks for help
Solved! Go to Solution.
10-13-2023 07:43 AM
Types are check in both directions reading and writing. The value you are reading is a UINT64 and your node gives you back a value of that type. You attached a string variable to the output, so the function block says type is mismatching I cannot put the data there.
General documentation for ctrlX Data Layer errors see here.
10-13-2023 08:50 AM
Yes I see, thanks. My error. Now it works.