FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Processing Help Please

I went through the tutorial "Image Processing with Labview for FRC" and created a simple VI with NI vision Assistant that detects a red ball.  I was able to run the VI on my PC with the axis camera hooked to my PCs network and it worked.  However when I put it in the FRC's Vision Processing VI and deploy it to the cRio, I get ERROR -1074395993, at the output of the "Read Vision and Image Info IMAQ" when it runs.  I believe it has something to do with the Image Template path, but I'm not sure.  Does the Image Template get deployed to the cRio?  Thanks in advance for your help.

Download All
0 Kudos
Message 1 of 12
(11,768 Views)

I am having the same problem that dangell reported with the same error.

0 Kudos
Message 2 of 12
(3,772 Views)

I cannot get anything to work correctly with the vision assistant either.

I see error messages with the "funny" number also.

Does anyone know how to make this work?

Thanks

0 Kudos
Message 3 of 12
(3,772 Views)

Hi dangell,

Templates and Calibration images in general do not automatically get deployed to the cRIO. You will need to FTP into the cRIO and add the template(s) that you need manually, then change the path constant in your Image Processing VI to match the new location of the template on the cRIO.

See this document for the details:

FTP File Transfer to cRIO (Using Image Processing Requiring Template Images)

Best Regards,

~Nate

Message 4 of 12
(3,772 Views)

Thank You, Thank You, Thank You.

I followed the directions for copying the templates to the cRIO and changing the location definition.

It worked!

0 Kudos
Message 5 of 12
(3,772 Views)

Hi Nate-

I, as well, thank you for the help.This problem was a real puzzle for me.

0 Kudos
Message 6 of 12
(3,772 Views)