Go to Post OooooohhH! OOOOooohh! Can I start the 2009 thread yet? Huh? Can I? Can I? - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 31-01-2014, 19:45
RaxusPrime's Avatar
RaxusPrime RaxusPrime is offline
Driver and Programming Captain
AKA: Brennen Martin
FRC #3883 (DataBits)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Cottage Grove, Minnesota
Posts: 15
RaxusPrime is on a distinguished road
IMAQ Error

Hey,
We are having a problem. An error always shows up when we try to run the vision example in our code.

Here is the error:


Does anyone know how to solve this issue? Team 3883
  #2   Spotlight this post!  
Unread 31-01-2014, 19:51
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: IMAQ Error

Can you post a screenshot of your code?

If you're deploying to a robot, some of the vision functions aren't available in the cRIO image.
  #3   Spotlight this post!  
Unread 31-01-2014, 22:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: IMAQ Error

Similar issue here: http://www.chiefdelphi.com/forums/sh....php?p=1329269
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 01-02-2014, 13:23
RaxusPrime's Avatar
RaxusPrime RaxusPrime is offline
Driver and Programming Captain
AKA: Brennen Martin
FRC #3883 (DataBits)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Cottage Grove, Minnesota
Posts: 15
RaxusPrime is on a distinguished road
Re: IMAQ Error

Here it is:



  #5   Spotlight this post!  
Unread 01-02-2014, 17:02
RaxusPrime's Avatar
RaxusPrime RaxusPrime is offline
Driver and Programming Captain
AKA: Brennen Martin
FRC #3883 (DataBits)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Cottage Grove, Minnesota
Posts: 15
RaxusPrime is on a distinguished road
Re: IMAQ Error

I went to the source of the error and this was the block diagram of that IMAQ AVI12 vi. Here it is:

  #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.
  #7   Spotlight this post!  
Unread 02-02-2014, 23:18
RaxusPrime's Avatar
RaxusPrime RaxusPrime is offline
Driver and Programming Captain
AKA: Brennen Martin
FRC #3883 (DataBits)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Cottage Grove, Minnesota
Posts: 15
RaxusPrime is on a distinguished road
Re: IMAQ Error

I wasn't aware there was a tutorial, would you mind posting a link to it? By the way thanks for the information, this error has been stumping us for quite awhile now.
  #8   Spotlight this post!  
Unread 03-02-2014, 00:38
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

Quote:
Originally Posted by RaxusPrime View Post
I wasn't aware there was a tutorial, would you mind posting a link to it?
When you launch LabVIEW, it opens the FRC 2014 Getting Started window. A number of tabs are available on the window's left side. The second one down is Tutorials. Click it and you will find a wealth of instructional help listed.
  #9   Spotlight this post!  
Unread 03-02-2014, 11:32
RaxusPrime's Avatar
RaxusPrime RaxusPrime is offline
Driver and Programming Captain
AKA: Brennen Martin
FRC #3883 (DataBits)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Cottage Grove, Minnesota
Posts: 15
RaxusPrime is on a distinguished road
Re: IMAQ Error

Awesome, thank you so much!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi