08-06-2016 10:30 AM
I need to draw some simple pictures in real time and display through PXI. The picture is drawn with the pictures functions in the Graphics and Sounds palette. To display through PXI, I found the IMAQ RT video out in the NI-VISION package. So I need to convert the picture type to IMAQ image type. I searched online and it seems such conversions all requires the "Picture to Pixmap" vi, which I cannot find on the RT target.
Is there another way to convert picture into IMAQ image without using this VI?
Solved! Go to Solution.
08-08-2016 01:45 PM
AuZn,
The Picture to Pixmap VI is not supported on Real Time targets. The only other method I can find for getting the pixmap cluster is by using the "Get Image" invoke node. However, if you plan on building this application into an executable the invoke node will no longer work, as front panel elements are removed in RT executables.
Daniel V.
Applications Engineer
08-08-2016 01:53 PM
08-09-2016 05:44 PM
AuZn,
The picture functionality is likely something that exists purely because it is cross-compatible between Windows and RT. With most RT targets (other than the new Linux RT x64 targets), UIs are usually not the focus. Most applications that use RT are standalone applications that are deployed and left to run without a lot direct user interaction.
I don't think you'll find a better series of VIs to make a simple image, as the only options I know of are the VIs you're working with and the Vision Development Module VIs (which really aren't meant for creating an image from scratch).
Daniel V.
Applications Engineer