Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Vision in cRIO-9074

I am trying to develop a simple VI for the cRIO which does nothing more than read a JPG file.

 

I have no trouble developing and deploying most VIs but have no luck with vision.

 

I get the following error when I try to deploy:

Deploying arolin  (successfully deployed target settings)
Deploying IMAQ ReadFile
Failed to download IMAQ ReadFile
LabVIEW:  Failed to load shared library nivision.out:LV_ReadFile:E on RT target device. 

 

I susspect that this has something to do with the fact that this is a VXWorks targe.

I did confirm that I have NIVision.out in C:\Program Files\National Instruments\RT Images\CommonVision

 

I checked to see if NI-Vision was installed on the target, but there was no option to install NI-Vision on the target.

 

I am running LabVIEW RT 8.5 and NI Vision 8.5

I do not see any entry that is Vision RT specific in MAX but I do see Vision RT VIs in my pallet.

 

Any help is apprecieated.

Thanks

 

 

0 Kudos
Message 1 of 7
(4,760 Views)

Hi Aeolin!

 

Quick question: have you been running other Vision VIs on your cRIO?  The Vision Development Module does not support the cRIO, so I would expect the deployment to fail.

Chris Bolin
LabVIEW Partner Program, CLA
Message 2 of 7
(4,739 Views)

Hi Experts!

I sorry for posting here, but I can not create new thred on forum, and don't know why?

(post new thread button is not visible for me...)

 

So, my problem is the following. Have successfully installed all the components that requied for Machine Vision on CRio, the camera devide appeared and  I could grab the camea image.

Afther a while, (10 - 20) minutes later, when I finished the grabbing, the prevously listed camera device removed from configuration tree under the C-RIO node so I could not see my connected camera any more.

 

It apperas again, when I restart the rio device.

 

Could you suggest me any solution for my problem?

Thanks in advance!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 7
(4,265 Views)

Arolin:

 

CompactRIO was not a valid target for Vision RT until Vision Development Module 2009.  Since you are using 8.5 you will have to upgrade.  You can try an evaluation version of Vision Development Module 2010 to test it out.

 

Durnek:

 

Does refreshing the tree in MAX not allow the camera to show up either?  Are you plugging the camera directly into the cRIO or is it elsewhere on the network?  If it is not directly connected, can any other computers on the network see it?

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 4 of 7
(4,234 Views)

Hello!

 

My problem is solved.... I tried another cRIO 9074 and the camera is listed.

 

I wanna do the following: Machine VIsion on Compact RIo

 

In the Setting Up Compact RIO section, the Vision RT 9.0 is not listed for me, but all requied components are listed and successfully installed.

 

Please help! I dont know what to do.

 

win7, VDM 2009, LV2009

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 5 of 7
(4,224 Views)

If Vision RT 9.0 doesn't show up in that list, it is likely not installed properly on your host machine.  When you installed Vision Development Module you had a list of features to install, one of which was LabVIEW Real-Time Support.  It's possible this did not get installed and you therefore don't see it now.  I would recommend modifying the install through Add/Remove Programs and double-checking that LabVIEW Real-Time Support is selected for install.

Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 7
(4,217 Views)

Thank you!

 

I have reinstalled it, and works fine!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 7 of 7
(4,215 Views)