Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot download vi to real time

Hello,
I have PXI 8186 with 1394 digital camera. I used PXI 8186 with Win XP and made vi for the camera. Then, I wanted to run that vi in real time. I boot controller in real time OS, but when I want to download vi from the host to the controller, it cannot be done (some subvis-filter particle cannot be downloaded). When I was running vi for the first time I choosed Don't save subvis, and after that there was no possibility to download that vi to controller. Example vi for 1394 camera from labview examples, I can download to controller.
Can I develop my application for 1394 camera from the host, in the other words can I see image from the camera in labview vi which I execute on the host (I can see images from the camera in MAX and Vision assistant on the host).
Is real time vi ordinary vi downloaded to RT target, or there is special making procedure for vi which will be executed on RT target. Thanks in advance.
0 Kudos
Message 1 of 10
(5,070 Views)
From what it sounds like, you can download 1394 example programs onto the RT target without any problems, but you are having a problem with your program - specifically with the Particle Filter.vi. Make sure you have Vision installed on your RT system. You also must choose the 'Save subvi's' option when downloading to an RT target.

If you are getting a specific error, please post some more details like the error number and description etc.

You will be able to see your images on your host machine when capturing them on your RT target. If the images are large, the update rate will be slow due to the amount of information that has to be sent over the Ethernet connection. You can also view your images on the RT target monitor without any delay problems by using the IMAQ RT Video Out.vi (All Functions >> NI Measurements >> Vision >> Vision Utilities >> IMAQ RT).

LabVIEW RealTime compiles LabVIEW code specifically for RT targets - most normal vi's can be used in RT - and LabVIEW RT will alert you if you are using a vi that is not compatible.

Hopefully this helps you out - let me know if you have further questions. Have a great day!
0 Kudos
Message 2 of 10
(5,066 Views)
Hi,
I have the following software installed on RT:
NI-VISA server 3.1
Intel 8254x ethernet driver 1.1.0.3.0
Ni Watchdog 2.1.0
LV RT 7.1
Datasocket for LV RT 4.2
NI IMAQ for IEEE 1394 RT 1.5.1
Language support for LV RT 1.0.0.1
NI VISA 3.1
NI Serial RT 2.5.3
NI 1394 External driver support 1.2.0
NI Motion RT 6.1.2
NI IrDA RT 1.0.1
I have installed all offered software from the dialog box for the RT software installing.
When I try to download my vi on RT, downloading process starts and after few seconds I have "Failed to download IMAQ Particle filter2".
Does NI have a field engineer in San Antonio, TX and can I contact him for a help?
Thanks.
0 Kudos
Message 3 of 10
(5,059 Views)
vladan23 -

In order for IMAQ Particle Filter2 to work on RT, you will have to install IMAQ Vision on your RT target. If you are not able to install it on RT, you may have to rerun the installer for Vision on your computer and select the Vision Real-Time features.

Greg Stoll
IMAQ R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 4 of 10
(5,047 Views)
I have rerun installer for Vision on the host computer and I installed all offered Vision software (Vision real time was previously installed). After that I opened MAX and I tried to install software on RT target, but offered software for instalatoin was the same as I have on the RT target. IMAQ Vision was not offered for installation in instalation dialog box for RT target.
0 Kudos
Message 5 of 10
(5,041 Views)
IMAQ Vision should be an option to install for the 8186 controller. I would double check to see that the real-time component of vision installed correctly on your development computer. Check under 'C:\Program Files\National Instruments\RT Images\' to see if there is a Vision folder. All the RT driver components will have a folder at this location. If Vision is not present, it means that Vision did not install the RT option correctly - and if this is the case, try re-installing Vision and selecting 'Custom Install' to verify that the RT option is checked.

Which version of IMAQ Vision do you have? I believe that only 6.1, 7.0, and 7.1 have RT drivers. Also, which version of NI-IMAQ do you have installed? 3.1.1 is the latest version, but anything newer than 2.6 should work.

Hopefully this will help track down the problem! Good luck with your projects!
0 Kudos
Message 6 of 10
(5,020 Views)
Under 'C:\Program Files\National Instruments\RT Images\' there is a Vision folder. I have IMAQ Vision 7.0.0 and NI IMAQ 2.63.0.
I reinstalled all NI software from host PC, and after that tried to install software on RT target. There were 3 new components avalaiable for installing. When I expand remote system>>software, now I have NI IMAQ RT 2.6.3, Traditional NI DAQ 7.2.0 and NI DAQmx 7.2.0 besides all software I have already mentioned.
When I try to download my vi I have again "Failed to download IMAQ Particle filter2".
Error list :
LabVIEW : Failed to load shared library NIVision.dll on RT TArget device.
0 Kudos
Message 7 of 10
(5,000 Views)
I still can't pin down exactly why Vision is not showing up under your RT software install menu. Something in Windows is probably not recognizing the Vision install properly.

I would try to update to NI-IMAQ 3.1.1 (the latest driver) to see if that helps - it will cause the system to generate a new registry for the driver and that might also affect Vision.

If that does not solve the prob, then I would try deleting the data directory of MAX to force Measurement and Automation Explorer to regenerate it's setup info (Warning - you will loose all settings in MAX when you do this). Try deleting this whole folder "C:\Program Files\National Instruments\MAX\Data".

I hope that these suggestions help. Let me know if it does. Have a great weekend!
0 Kudos
Message 8 of 10
(4,988 Views)
I have already updated NI-IMAQ to 3.1.1 and LabVIEW to 7.1.1, but it doesn't have any effects.
I deleted "C:\Program Files\National Instruments\MAX\Data" and I don't have any changes.
0 Kudos
Message 9 of 10
(4,978 Views)
I have finally tracked down the problem and I'm sorry it has taken so long and caused so many problems for you.

IMAQ Vision 7.0 is not compatible with the PXI-8180 series controllers.

Vision 7.1 is the first version to support the 80 series controllers. This is due to the fact that the 80 series controllers released well after Vision 7.0 and have different hardware components & chipsets that Vision 7.0 does not support.

Unfortunately there is no patch available to create a compatibility between Vision 7.0 and the 80 series controllers, however, the latest version, 7.1.1, is completely compatible with 80 series controllers and has many added features such as geometric pattern matching.

Upgrade pricing can be found at www.ni.com/upgrade or by calling (888) 280-7645.

Again, I am sorry we were not able to track this problem down sooner for you. Please let me know if there is anything I can further assist you with.
0 Kudos
Message 10 of 10
(4,966 Views)