LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open picture files and display in fullscreen slideshow?

I'm hoping for some help as I'm very new to LabView and quite lost....

I have a directory with many picture files (too many to put them all in a powerpoint slideshow) and i want to open them one by one and display them full screen with no border around them (not in a picture box, but as displayed in a powerpoint slideshow). 

I'm trying to use activeX to call the default "Preview" application for windows, (which is able to run a slideshow when opened manually from the directory).  In the LabView VI, when the slideshow runs, it takes over the full screen, as it should, however, the images are not shown.  The screen says "no preview available".  I've messed around with it a lot and just can't get it to work. 

Any other application or any other way of displaying the images full screen would be acceptable, if you know of any.  I've also tried the adobe acrobat browser 7.0, which has a full screen option, but i can't seem to get that one to work either.  Attached is a copy of my code.

Any help or advice would be much appreciated.  Thanx.

-dave
0 Kudos
Message 1 of 6
(4,910 Views)
The Slideshow method appears to be non-functional and there is virtually no information on the web on this ActiveX object -- not even on Microsoft's website. One alternative is that you could build a subVI
with the Preview ActiveX container stretched to cover the entire screen and then cycle through all the images there. It appears that images are properly displayed in that container, so you could leverage that.
 
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(4,895 Views)
Why not in a picture box? You could make the picture box expand to the size of the screen (reading the size back) and color the border tranparent. Then using the list of file loop with whatever time delay. If you can't find a way to run the preview activeX this might be an out.

P.M

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 6
(4,895 Views)
Thanks very much for the advice.  I didn't know I could display a picture box full screen with no boarders.... this is definitely the way to go.  Thanks again!

Dave

0 Kudos
Message 4 of 6
(4,884 Views)
Hiya,

I'm want to do something similar where I generate a picture whose pixel values (ie colour) is determined by a mathematical formula.

Once I have generated the picture I want to display it on the full screen without toolbars windows bars etc. This is for a camera calibration purpose. I require full screen display. How do I expand the picture to the screen size? Do I use property nodes etc? Or is it much simpler than that?

Regards,

Leeser
0 Kudos
Message 5 of 6
(4,685 Views)

The easiest would be to set the window not to have toolbars, scrollbars, etc. and to fill the entire screen and to scale all objects with the windows (these can be found in 2 pages of the File>>VI Properties dialog). If you resize your FP so your picture indicators fills it before doing this then any resizing of the window will resize the indicator as well. You can then use the Zoom property to enlarge the picture. To calculate how much to zoom you can divide the size of the picture by the Application>>Display>>Primary Workspace property.

Another option would be to use property nodes to change the Draw Area Size of the picture to fill the screen and to resize the picture itself using something similar to the method demonstrated here.


___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(4,673 Views)