LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using 'Picture to Pixmap.vi' on RT target

I have an application that runs fine from 'My Computer', but not when run on a RT target (PXI-8145 RT).  I narrowed down the difference in performance to Picture to Pixmap.vi (supplied by NI).  When run on the RT target, the 'image data' cluster output contains an empty array for 'image', but returns a properly sized 1d array when run from 'My Computer'.  Is this is a known problem?  Or is there something I can do to fix it?  Thanks.
 
-Joe
 
LV 8.2.1
LV-RT 8.2
cRIO 2.1.4
RIO FCF 2.2.2
VISA 4.1
0 Kudos
Message 1 of 3
(3,950 Views)
Picture to Pixmap.vi is not supported on RT. Internally it does a call library node to a function that isn't available on RT. In future versions of LabVIEW RT that VI will be removed from the palette under RT targets and it will break the run arrow if you open a VI with it in an RT context. Unfortunately I don't have an easy workaround other than to try to move that code to a Windows host machine.
 
-JRA
0 Kudos
Message 2 of 3
(3,904 Views)

Thanks JRA.  I figured as much.  I'm just used to an 'illegal' VI breaking the Run button.

 

-Joe

0 Kudos
Message 3 of 3
(3,895 Views)