LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the FASTEST way to present an image from disk?

I am currently using the standard read *jpeg file to display an image from disk to a picture control. My question is what is the most efficient method of getting an image ot the front panel, whether it is with this control, IMAQ, etc. At the end of the day, timing is crucial, and I would like to sync a trigger with the onset of an image.

Thanks in advance.
0 Kudos
Message 1 of 2
(2,635 Views)
> I am currently using the standard read *jpeg file to display an image
> from disk to a picture control. My question is what is the most
> efficient method of getting an image ot the front panel, whether it is
> with this control, IMAQ, etc. At the end of the day, timing is
> crucial, and I would like to sync a trigger with the onset of an
> image.
>

FASTEST will be imaq, and both the intensity graph and the picture
control will be a bit slower since they are both better suited to other
tasks.

First, if you only have a small number of jpegs, you might preload them.
You could even go so far as to draw them to a hidden picture control
and simply show it when your event occurs.

The differences here are roughly that IMAQ will already have the image
data
placed into their image and will simply need to draw it, similar to
showing a LV control. The picture control data is a flattened version
of the image that needs to be interpreted somewhat and placed into a
system image, then drawn. The intensity graph assumes that is is false
coloring an intensity map and is zooming or stretching the data as well.
Therefore it also constructs a bitmap from the data and takes a bit
longer to do it as it decimates and stretches the data as necessary.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,635 Views)