Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   IMAQ Error (http://www.chiefdelphi.com/forums/showthread.php?t=125565)

RaxusPrime 31-01-2014 19:45

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

magnets 31-01-2014 19:51

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.

Mark McLeod 31-01-2014 22:08

Re: IMAQ Error
 
Similar issue here: http://www.chiefdelphi.com/forums/sh....php?p=1329269

RaxusPrime 01-02-2014 13:23

Re: IMAQ Error
 
Here it is:




RaxusPrime 01-02-2014 17:02

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:


Alan Anderson 01-02-2014 23:16

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.

RaxusPrime 02-02-2014 23:18

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. :D

Alan Anderson 03-02-2014 00:38

Re: IMAQ Error
 
Quote:

Originally Posted by RaxusPrime (Post 1336633)
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.

RaxusPrime 03-02-2014 11:32

Re: IMAQ Error
 
Awesome, thank you so much!


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

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