RobotStudio event

Creating text files from RAB

Hello,

I could use some advice on the following. I want to have in my application a function, which takes module from the flashdisk of the robot, modify some text in it, and then store it back to the flashdisk. Later it will be loaded into the robot task.

What is the best way to modify the module file?

jan-jaap38708,6221180556
:) Regards,
Jan-Jaap

Comments

  • Hello,

    does anybody have any idea on this? I could really use some (good) ideas.

    Thanks,

    :) Regards,
    Jan-Jaap
  • Yup, look at the sample application in the flexpendant SDK which uses a stream reader to read in text from a file.  It will be very difficult to modify a file on the flexpendant because you can only type in through the alpha pad.  If the changes you are going to make follow a format then you can create and string constant and insert it in the appropriate parts of the code. 
  • Hello,

    thanks for the reaction, but I solved it already. The text is not to be entered manually: th name of the module is modified automatically.

     

    :) Regards,
    Jan-Jaap