Log in

View Full Version : LabView Help


cesaros
17-01-2012, 19:53
Hi Guys,

So are just getting crazy, stressed and almost making a battle with labview to make it works like we want.Actually we are trying to find the rectangles,we find them, but for each position change, such as moving it to the left of rectangle, or lower ? higher the distance, whatever, foreach position change we make we have to use NI Vision assistant to make a new VI for us.
If anyone know how we cand change it, please can you help us guys ?
My team almost exhausted of trying to figure out how to make it find rectangles whever the robot is.

Any tip or, code sample , or tutorial you could give us , we will appreciate it.

Thanks.

Ps.: We are looking for some programming help, so , if you could give us support, using msn , facebook, or any other way , THank you !

plnyyanks
17-01-2012, 20:01
Any tip or, code sample , or tutorial you could give us , we will appreciate it.

Read:

this post (http://www.chiefdelphi.com/forums/showthread.php?p=1101785#post1101785)
this document (http://firstforge.wpi.edu/sf/docman/do/downloadDocument/projects.wpilib/docman.root/doc1302/1)
A LabVIEW example VI called Rectangular Target Processing, found in the NI Example Finder, under FRC->Vision->Rectangular Target Processing


All of these are pretty useful resources, and if you search (http://www.chiefdelphi.com/forums/search.php) CD, there are many more threads discussing how to do this.

cesaros
17-01-2012, 20:10
Every time we run samples codes that uses the m1101 camera occur an error, this error to be more especific : Unable to connect to the camera, Username or passwords are not matching!, every time guys!, and, even when we reset the camera and , use the axis camera setup tool, this error happens again, only in the simple robot project this error don't appear, I don't know why, but , we don't know how to fix it.

Greg McKaskle
18-01-2012, 08:39
The Axis camera utility doesn't seem to work as it should. There is a bug report about it on the FIRSTFORGE site. I reproduced it on an Axis 206 camera, but I didn't try an M1011.

I'd suggest trying to manually configure the camera.

1. Do a factory reset of the camera by holding reset and powering up the camera -- hold 20 seconds or until you see the LED on front turn on.
2. Set the computer to 192.168.0.2 IP address.
3. Use a web browser to go to 192.168.0.90.
4. Give the camera a root account password such as admin.
5. Log into the camera using root.
6. Click on setup and create an FRC:FRC account.
7. Click to TCP settings and change the camera IP to 10.te.am.11, and I set the router to 10.te.am.1.
8. Hit save.

Please let us know if that corrected the issue as we had not seen this with an M1011 camera.

Greg McKaskle

plnyyanks
18-01-2012, 16:15
I reproduced it on an Axis 206 camera, but I didn't try an M1011.

We also ran into the same problem with the 206 and fixed it the same way (http://www.chiefdelphi.com/forums/showpost.php?p=1107968&postcount=5)