Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't use CSV with Python API
#1
I'm currently trying to run a program for my robot within the Python API. Everything is working fine, but I can't access a CSV with for some reason whenever I run said program within the simulation environment. Running it outside of RoboDK works fine. The CSV is in the same file as the program.

Any help would be appreciated? Perhaps the CSV needs to be in a different location for RoboDK?


Attached Files Image(s)
   
#2
Python scripts in your RoboDK station are hosted within the station itself and no longer linked with the original file (thus, not at the same location).

You can hard-code the full path or use a prompt to select the file (take a look at robodk.robodialogs and robodk.robofileio).
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our YouTube Channel.
  




Users browsing this thread:
1 Guest(s)