View Single Post
  #2   Spotlight this post!  
Unread 09-02-2012, 07:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Rectangle Processing code giving strange error

If you want to look up an error code, you can go to the help menu>>Explain Error and type it in.

The error simply says that the image is of the wrong type. IMAQ uses type to describe things like color, monochrome, or black and white.

I haven't seen this error, so I can't do much more than speculate what is going on. My guess is that when you flip to the color processing, your camera is not being changed to color -- the enable color property gets swapped. Or it gets flipped back and forth due to a logic change. Or perhaps it gets flipped, but the camera still has a few frames in the queue.

If this stabilizes and only happens when you first flip the tab, I guess you can go with the 3rd explanation and possibly rip out the stuff you aren't using. Otherwise, can you probe to see what type of image is coming out of the Camera Get function, and see if that explains it?

Greg McKaskle
Reply With Quote