Real-Time Measurement and Control

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 4
(3,877 Views)
Hi vladan23,

What error message are you receiving when you try to download your VI to the 8186? Have you updated all the drivers on the 8186? The easiest way to check this is in MAX, just compare the software versions under My System>>Software, to Remote Systems>>(name of your PXI-8186 system)>>Software. If your 8186 is missing software, simply right-click on the Remote Systems>>(name of your PXI-8186 system)>>Software folder and select "Add Software", and then select the necessary software to download from the host system to the 8186. I imagine that the drivers are not updated on the target, which is why the host PC runs the application fine, but the target does not. Please refer to the drivers page for LabVIEW RT, to make sure you have all the up-to date drivers:

LabVIEW Real-Time (RT) Driver Support
http://www.ni.com/support/labview/real-time/drivers.htm

You could also try to download a very simple LabVIEW RT program to your 8186 that doesn't use any hardware, just to see if it's the IMAQ specific functions that are causing the problem (due to the driver not being installed). But in general, your process of downloading the application appears to be correct.

Best Regards,

Jeff M.

Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,853 Views)
Hi,
I have the following software installed on RT (MAX>>Remote system>>software):
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.
I can run simple vi in RT (grab images from the camera).
When I try to download my vi on RT, downloading process starts and after few seconds I have "Failed to download IMAQ Particle filter2". It seems that functions from IMAQ Vision cannot be downloaded to RT target.
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.
The following software is installed on host PC (MAX>>My system>>software):
CVI Run-Time
FieldPoint
IMAQ Vision (1.Image Processing and Machine Vision, 2.Services)
LabVIEW (1.Advanced Analysis, 2.PID Control Toolset, 3.Real-time)
LabVIEW Run Time 6.1
LabVIEW Run Time 7.0
LabVIEW Run Time 7.1
MAX
Mesurement studio
NI Spy
NI 488.2
Traditional NI DAQ
NI DAQ mx
NI IMAQ
NI IMAQ for1394
NI Motion
NI PAL
NI USI
NI VISA
Thanks.
0 Kudos
Message 3 of 4
(3,848 Views)
Thanks for replying with your list of software. It appears that you are still missing the following on your RT target:

IMAQ Vision RT 7.1

Please double-check by right-clicking on the Software tab on your RT device, and selecting "Install Software". You will need to use the pull-down bar on the IMAQ Vision to verify that "IMAQ Vision RT 7.1" gets installed properly. This should take care of the Particle Filter error message.

Regards,

Jeff M.

Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,817 Views)