LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running IMAQ functions on a cRIO-9012

I am implementing an MSc research project in Electrical Impedance Tomography. I've written a Backprojection VI to implement backprojection to reconstruct images through data collected from a conductive medium. The data collection part works perfectly and has been implemented in 2 parts (FPGA layer and RT layer) I initially wrote the backprojection section on a host PC running labview and it worked fine. However, when it came to deploying the VI on the NI-cRIO-9012 it would return an error saying "Backprojection VI deployed with errors". Upon further investigation it seems the RIO is perfectly fine running the Backprojection VI when there is no IMAQ functions included. But returns an error when the functions are included. I have already installed the NI Vision RT and the IMAQ software on the CRIO so that is not what is causing the problem. Anyone who has any experience in this area?. Any suggestions are welcome

 

Thanks

Peter

0 Kudos
Message 1 of 5
(2,850 Views)

Hey Peter,

Are you using Machine Vision VI's? Do you have the Vision Development Module? Please look at this Developer Zone Article: Machine Vision on NI CompactRIO. Can you confirm that IMAQdx RT has been installed? This could be the issue you are encountering.

Please let me know if this article is of assistance.

Cheers,

 

Ricky Van De Graaf

Applications Engineering

National Instruments

www.ni.com/support

 

0 Kudos
Message 2 of 5
(2,840 Views)

Hi ricky.

 

Yes i do have the vision develpoment module installed and licensed. The IMAQ functions i use are: Array to image, image to array and IMAQ rotate as well as IMAQ create and IMAQ close

 

Thanks for the suggested article but it doesn't cover what i really need. Yes i have tried to installed the IMAQ dx RT but i encounter a problem whenever i install all the features shown in the article you refer me to. The problem is that the cRIO becomes completely unresponsive and i have to boot in through safe mode to get it to do anything.

 

The main reason my application actually required the vision development module was because i needed to rotate a 2D array at angles that are multiples of 22.5 degrees for which the array transpose function is not useful, but the IMAQ totate lets me do this by first converting my array into an image, rotating the image the required degrees and then converting back into an array. if you know of any other way of performing the same routine please enlighten me as that will most likely get me out of the current predicament.

0 Kudos
Message 3 of 5
(2,833 Views)

Hey,

I am not currently aware of any way to do it other than what you have tried. If you could post up your code that you are using, I could take a look at it and see which functions could be non-deployable. Have you tried performing any VI on your cRIO that uses IMAQ in a different way to see if it can work?

If you can post your code, I would like to take a look at it and see if I can implement another way to accomplish your end goal.

Thanks,

Ricky

National Instruments
Applications Engineer
0 Kudos
Message 4 of 5
(2,814 Views)

Hi i'm also tried to build backprojection i have my own algorithm but i have troubles with the display of the image in 3D, i don't know if you already did that, if you did, can you help with a example of this? thanks

0 Kudos
Message 5 of 5
(2,775 Views)