Thread: IMAQ Error
View Single Post
  #6   Spotlight this post!  
Unread 01-02-2014, 23:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IMAQ Error

I think the Case block labeled "Get image from camera or file" is only supported when running the vision code on a PC target. It includes the WPI_CameraRead MJPG for Dashboard.vi function, which calls the IMAQ AVI2 Create function a few levels deeper. If you aren't running the code as part of the Dashboard, you shouldn't have that there.

It looks like you copied and pasted the vision example code instead of following the steps in Tutorial 8, Part 4.