Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

CSV file to Program (XYZ). Python script failed

#1
Hi,

I have tried to use the example "6.6. CSV file to Program (XYZ)", but get an error on the Python script.

I would like to use this example to make a robot movement in the Z-direction with varying robot speed.

Can you solve the error in the Python script or show in a video how the script should be used with an Excel document/ CSV file?

Best regards
Jonas Jensen


Attached Files Image(s)
   

.rdk   Import CSV.rdk (Size: 1.98 MB / Downloads: 105)
.py   ImportCSV_XYZ.py (Size: 5.16 KB / Downloads: 78)
#2
Are you running the script from RoboDK? You can do so by drag and dropping the Python script into RoboDK.

You can also trigger scripts from the C:/RoboDK/Library/Scripts without adding them to your project by selecting:
Tools-Run Script

I would recommend you to install the latest version of RoboDK and select Tools-Options and click on Set default settings so RoboDK uses the Python embedded version that comes with the latest version of RoboDK.
  




Users browsing this thread:
1 Guest(s)