Overview

Currently, our Run App does not support uploading CSVs. However, you can still run protocols with CSVs by transferring the file(s) onto your robot using SCP.

Most Windows computers do not automatically come installed with Linux based commands such as ssh or scp. If you do not have the command SCP or SSH on your computer, please view instructions here.

Locating Your Robot's IP Address

Connect to your robot via WiFi or USB in the Opentrons App. Locate the robot’s IP address in the Connectivity section (pictured below).

Note: The I.P. Address for the above image would be 192.168.1.176 or 169.254.38.19. If you have not set up Wi-fi then you will not have a ‘Wireless IP”. If your robot is not connected to your computer via USB you will not have a “Wired IP”.

Making a New Directory on Robot to Store CSVs

Open your preferred command line interpreter. For Windows, it will be command prompt. For Mac/Linux, it will be terminal. 

Connect to the robot by typing the following line in your command-line interpreter and press enter.

ssh root@<Robot IP>

 Note: Replace <Robot IP> with the IP address from the App.

We recommend that you use the 'data' directory on the robot to store your CSVs. To access that directory and make your own directory you need to enter the following commands.

cd ..
cd data
mkdir <Name of Directory>

Note: You can replace <Name of Directory> with the name of the directory you plan on using. In the below photo I used the directory name csv.

After making the directory you can close the command line window.

Creating a CSV and Transferring the File to your Robot

Next you will need to create and save a CSV file. A CSV is a text file, so it can be created and edited using any text editor. Once created you will need to know the full path to the file on your computer.

Open your preferred command line interpreter and use the following SCP command to transfer the CSV file onto your robot. 

scp path/to/your/Sample.csv root@<Robot IP>:/path/on/robot

 Note: Replace <Robot IP> with the IP address from the App.

Running in Our App

Once you have copied your CSV files to the robot, you can simply utilize file I/O to receive data from your CSV.

For example if your CSVs are located at data/csv/example.csv, simply write:

path = '/data/csv/example.csv'

And then view python's I/O docs to learn how to open and read data.


Did this answer your question?