View Single Post
  #1   Spotlight this post!  
Unread 16-02-2012, 12:46
gaurav.agashe gaurav.agashe is offline
Registered User
FRC #0886
 
Join Date: Jan 2012
Location: Toronto, ON
Posts: 5
gaurav.agashe is an unknown quantity at this point
Exclamation Vision runs only once!

When I click on "Enable Vision" in Robot Main.vi, the cRIO processes the camera image and outputs a 2D array in VisionProcessing.vi that gives me the co-ordinates (in pixels) of the rectangle. I then shut off the "Enable Vision" button.

When I move the robot closer to the net and click on "Enable Vision" again, nothing changes! The image viewer block I have wired to the Img Out does not change, and the values in the measurements-array to not change either!

It's as if our vision runs only once, and thats it. Please view attached screenshot of VI. Any help is much appreciated!! Thanks!

http://www.chiefdelphi.com/forums/at...4&d=1329243121