We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
08-05-2024 08:27 AM
Hi guys,Does anyone have used the <AtmoEpcDecoder> object for a DMC decoding?I did some test program for testing this lib,but when I simulated,some errors in TwinCAT system occured, I dont konw wether I use it in a wrong way. If you have some experience, please share it to me.thank you.
Solved! Go to Solution.
08-05-2024 01:28 PM - edited 08-05-2024 02:43 PM
Looks like a simple mistake :
You have defined your "_epcInfos" variable as "REFERENCE TO DataTagDecoderDecodedInfos" , but you never set the reference to valid variable.
Either you have to assign the reference to valid variable :
_epcInfos REF= YourEpcInfosInstance;
or you change the data type :
_epcInfos : DataTagDecoderDecodedInfos; instead of _epcInfos : REFERENCE TO DataTagDecoderDecodedInfos;
08-06-2024 01:48 PM
Yes, you are right. really a simple mistake😂😂 thanks anyway.