I’m currently working on developing a system with an edge client (on a windows tablet) which will be used by someone walking around a plant and documenting quality issues. Part of the documentation will include pictures which are taken using the tablet’s built in camera.
I then have a main ignition gateway which is reading tag values and saving them to a SQL database when prompted.
What I want to do is copy the image files from a shared folder on the tablet, to a folder on the machine running the Main Gateway/SQL database.
I’m aware that it is possible to store the image files in a tag as raw data, but for performance reasons I would prefer to avoid doing this.
Here’s what I’ve been testing in the script console without success:
shutil.move("\JLV_ROCKWELL\Users\jlv\Pictures\testfolder\file.jpg",“C:\Users\JLV\Desktop\copy target folder\file.jpg”)
Any help or guidance would be greatly appreciated.