Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

RoboCUP using vision builder and LabVIEW

As the caption tells, i'm working on a project robots chasing ball. the question is a little bit complicate.
i don't know how to acquire live images with vision builder and transfer the data (coordinates of objects, etc) to LabVIEW, covert the signals into ACSII format then output to COM port. please tell me.
0 Kudos
Message 1 of 6
(3,977 Views)
You will need to have vision builder create LabVIEW code for you, then finish the job in LabVIEW. The ASCII strings you need will depend on your robot. VISA will probably be the easiest method of writing the strings to the serial port.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 6
(3,977 Views)
Thank Bruce,
i've used the Create LabVIEW function in Vision builder after the application of "shape matching". There is a report showing the coordinates of the object, but i don't know how to tranform those data into the ASCII format for my robots which are running on 8051 chips.
i tried VISA, but it seems to be not suitable. i now trying another function called "Serial write".
0 Kudos
Message 3 of 6
(3,977 Views)
Nick, Serial write is a legacy VI for writing to the serial port. Visa write will also work. What kind of "report" do you have?
Bates
0 Kudos
Message 4 of 6
(3,977 Views)
Bates, a "shape report" is generated in Vision builder after the application of shape matching. the output format is 1-D array of cluster, i don't know how to extract the data fron the report to string through serial port.
0 Kudos
Message 5 of 6
(3,978 Views)
Hi Nick.

I am also a similar probelm as you. I need to track an obj, but not as a high speed as your robots need. I too face a problem after exporting the code to labview, i couldnot input the co-ordinate to my labview prgm. Would you share with me the prom u encoutner and how you solve them?
 
contact:sean_9232@yahoo.com.sg
0 Kudos
Message 6 of 6
(3,812 Views)