Error does not happens everytime but randomly. Error cannot be acquitted. Codesys runtime has to restart to clear the error. After restart, it works again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got same issue but managed to get it to work again by downgrading the Runtime.
Here's my specs:
CODESYS V3.5.19.0
Runtime Linux SL 4.7.0.0.
CSV Utility SL 1.1.0.0 (Licensed IIoT libraries SL)
I tried Runtime 4.8.0.0. and 4.9.0.0 but both result in INVALID_HANDLE error.
Last edit: roundex 2023-08-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application were the files areπ
π
1
Last edit: eschwellinger 2023-08-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We changed the path where the CSV file is. From intern memory of the IPC to a USB key. We still have this error 'INVALID_HANDLE'. We must restart the Codesys runtime to clear it. That is a big problem for us because machine is in production.
@eschwellinger What do you mean by "this is a security issue not to read/write in the plc allowed path"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Codesys IDE is 3.5.17.21
Sometimes the bloc CSVReaderInit from the library CSVUtility (1.0.0.5) returns the following error : INVALID_HANDLE.
How can I get more informations about the meaning of this error ?
Thx you
Last edit: totorovic 2023-06-27
more posts ...
which runtime & version are you using?
Runtime is CODESYS Softmotion RTE x64 version 3.5.15.30
Hello,
Do you have news about this error ?
Error does not happens everytime but randomly. Error cannot be acquitted. Codesys runtime has to restart to clear the error. After restart, it works again.
this is not a known, which version of csvreader is it?
Possible that you are using not latest version?
I cannot get a version for the bloc csvreader.
I only get a version for the CSVUtility library (1.0.0.5) as indicated on top.
It seems that a 1.0.0.6 is released the 18.12.2018 but the link goes to a 'Seite nicht gefunden' page.
https://www.codesys.com/rss-article/release-csv-utility-1006.html
Hello,
Please, how can I get more informations about the meaning of this error ?
use either the CODESYS Installer and install IIoT libraries or download the IIoT libs here:
https://store.codesys.com/en/codesys-iiot-libraries-sl.html
(csv is part of this bundle)
Hello,
We installed IIoT libraries (and upgrade csv_utility to newest version).
Now we get error message with licence.
same problem here
Last edit: mozed 2023-07-20
Hello, is there already a solution for this problem (invalid handle)? 3 month ago the librarie work without problems...
Actually no solution. We are waiting Codesys reply.
Latest version of library : licence error message
Version 1.0.0.5 : INVALID_HANDLE error message
Hello,
Can we please have some details about the error : INVALID_HANDLE?
So we can try to avoid it.
I got same issue but managed to get it to work again by downgrading the Runtime.
Here's my specs:
CODESYS V3.5.19.0
Runtime Linux SL 4.7.0.0.
CSV Utility SL 1.1.0.0 (Licensed IIoT libraries SL)
I tried Runtime 4.8.0.0. and 4.9.0.0 but both result in INVALID_HANDLE error.
Last edit: roundex 2023-08-30
this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application were the files areπ
Last edit: eschwellinger 2023-08-30
Could you please give me an example where to select new path in plc. Right now my csv files are placed into /home/user/csvfiles
Thank you for the return. The path targets to a CFast card. User has R/W access to it. We will try to change it.
We changed the path where the CSV file is. From intern memory of the IPC to a USB key.
We still have this error 'INVALID_HANDLE'. We must restart the Codesys runtime to clear it. That is a big problem for us because machine is in production.
@eschwellinger What do you mean by "this is a security issue not to read/write in the plc allowed path"