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).
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
  




Users browsing this thread:
1 Guest(s)