Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIOT_JSON_Coder Print to File Method doesn't create file #6

Open
dclark3774 opened this issue Aug 13, 2021 · 2 comments
Open

IIOT_JSON_Coder Print to File Method doesn't create file #6

dclark3774 opened this issue Aug 13, 2021 · 2 comments

Comments

@dclark3774
Copy link

Hello,

On the old version of the library when the Print_To_File method was executed, it created the file if it does not exist. The current version no longer does this, and requires a file to already be present.

Is this a bug with the Library?

I am using an AXC F 1152, FW 2021.0.5

@dclark3774
Copy link
Author

Found the issue, the error is that the file cannot be saved as the directory is not writable from the user used in IEC. Can this error message be added in the future to prevent confusion? It exists in the FILE_OPEN block with this message: "The file is write-protected or access was denied"

@emuenz
Copy link

emuenz commented Aug 24, 2021

Hello dclark3774,

thanks for the feedback and your suggestion! We will add this point to the requirement list for the further version of IIoT Library for providing more detailed information about the cause of failure.

BR
Eduard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants