Hello there !
I want to use OPEN command and read an TXT file. Offline mode is working like a charm ( txt file contains coordinates) , but when I uploaded the code to the real robot is writing an error on the pedant :
Error 41676 Device access error , and write the path that containts the *.txt files.
Its a simple code of lines :
PROC Reading()
VAR iodev file;
VAR string text;
Open "HOME:" \file:= "1.txt" , file \Read;
!TPWrite ReadStr(file);
Rewind file;
!text := ReadStr(file\Delim:=",");
Runnable:= ReadNum(file);
Close file;
ENDPROC
the HOME folder the default one.I did not change it . Its on my laptop hard drive
C:\Users\Hanokri\Documents\RobotStudio\Systems\IRB140_6kg_0.81m_typeC_28\HOME\1.txt
Maybe I need to calibrate the controller somehow, to see my laptop folder ? I connected the robot via Ethernet cable.
I welcome any answer , please : )