Hello team,
I am facing an issue in using of USB pendrive. I want to generate CSV excel file directly into the attached pendrive.
I have given File path as " /bd0 ", and when I use the sequence for FileIO, it executes completely without any error but there are no files saved into the mentioned path. what can be the issue for that ?
It will be helpful to get response as soon as possible.
for creating files it is not just the filepath which is required, also the filedevice is important.
Using a usb pendrive, you have to link the pendrive to a filedevice.
You can find an example on how to use the AsUSB library here: B&R Online Help
The example is just for reading but I’m sure you can adapt it for writing as well. The important part is the usb handling.