06-14-2012 01:44 PM
I have DaNI robot 2 and I am trying to make the robot read a text file which contains the velocity profile.
When I use the labview to read the text file there is no problem and I can read the values easily.
The problem is that the robot can not read the text file, when I run the program on the robot I get an error message the the file does not exist.
Note: the file is on my desktop.
I think that I have to upload the text file to the robot but I don't know how?
Please if any body can help me with this I really appreciate that.
Solved! Go to Solution.
06-15-2012 01:41 PM
You are correct that you will need to copy the file to the sbRIO on the robot, since VIs running on the sbRIO do not have access to the file system of a desktop on the network. You can do this by copying the file over with FTP. Measurement and Automation Expolorer (MAX) has a feature that allows you to transfer files to an RT target like the robot: http://digital.ni.com/public.nsf/allkb/571113C2CE0
There are also other programs that make it easy to transfer files with FTP, such as Filezilla.
06-15-2012 01:46 PM
Many thanks for your helpful reply. I tried this solution today and move the file to the sbRIO but I didn't know to access it, in other words what will be the path for the file?
Also when I moved the file I tried to find its address on the sbRIO but I couldn't.
Can you help me with this.
Again I really appreciate your reply.
06-15-2012 05:21 PM
When you move the file to the sbRIO target you should be able to select a folder in the hierarchy. The root directory is "c:\" when you are using a path in the LabVIEW code. I suggest placing your trajectory file somewhere under the "c:\ni-rt\LabVIEW Data\" folder. This way, you can use the Default Data Directory constant to get this folder's path in your VI.
The address of the sbRIO can be found in MAX. When you select the RT target under "Remote Systems" the IP Address will be listed in the "System Settings" tab. The IP Address should also appear in the LabVIEW project tree next to the name of the robot target.
01-24-2013 06:57 AM
I'm interested about this it DANI.. really I'm planning to buy it to have a training on the sbRIO 9632 in real time applications.
My question is after using this kit in training with some labview examples...Can I be able to use the sbRIO 9632 in another application also for controlling DC motors.
As I would like to build a DC Motor Position control project
using a pan tilt mechanism and I'm thinking to get use of the sbRIO 9632 and the motor driver circuit on this kit and use them for Pan tilt Mechansim
I already waiting for a pan tilt mechansim having two 12DC motors, this mechansim has also a pot. for feedback.
Shall I go on and buy this robotic kit and get trained ?
Am I able to disammble it (without losing its function as a robot when reassembled) and use the needed boards (sbRIO9632 and motor Driver circuits) in my pan/tilt project?
thanks in advance