Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i get a 3d plotting using data uploaded to a laptop through a usb port with x,y, z coordinates

Hi,  I'm new to labview.  I have a project to finish up in my robotic class.  I've built a robot to go through a tunnel equipped with a servo motor attached to a IR sensor.  The robot scans the tunnel get the distance reading in x,y,z coordinates and sends those data to my laptop.  I have successfully display the reading using hyperterminal, but the new task is to use those data to plot a 3d image of the tunnel in real time.   I don't know how to take those data being uploaded from the robot through a usb and making a 3d plot of the tunnel in real time in labview.  Can someone please help.
 
thanks in advance.
 
LCD
 
0 Kudos
Message 1 of 2
(3,173 Views)

Hello,
The data will have to transfered from your robot to a PC using VISA.
VISA gives you ability to communicate with your USB compliance device.
You will have to read over the following articles
1. How can I communicate with a device using USB Raw
2. USB Instrument Control

These article along with the example programs that come with LabVIEW and NI VISA
will get you started.

 
Christian A
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(3,150 Views)