Skip to main content

LayoutSlideShow

LayoutSlideShow [/W=winName ] [keyword = value ] ...​

The LayoutSlideShow operation starts, stops, or modifies a slideshow that displays the pages of a page layout.

The LayoutSlideShow operation was added in Igor Pro 7.00.

Parameters​

autoMode = aControls whether the presentation will advance between slides automatically (a =1) or manually (a =0). Use the delay keyword to control the delay between automatic transitions.
delay = dd is the number of seconds to wait between slide transitions when running in auto mode.
otherScreenContents = o
Controls what is displayed on any additional screens that may be connected.
o=0:Other screens show the presentation.
o=1:Other screens show a presenter's view with additional information. Use the presentersView keyword to control the contents of this view.
o=2:Other screens are not used.
page = pCauses the slideshow to start from page p. p is a page number starting from 1. This keyword has no effect unless the start keyword is also present.
presentersView = pControls what is displayed on the screens that show the presenter's view. p is a bitfield of flags:
Bit 0:Show the next page.
Bit 1:Show the current time.
Bit 2:Show the elapsed time.
See Setting Bit Parameters for details about bit settings.
scaleMode = sSpecifies how the pages are scaled to fit the screen.
s=0:No scaling. Pages are drawn at actual size even if they are much larger or smaller than the screen size.
s=1:All pages are individually scaled to the screen size.
s=2:All pages are scaled by the same factor so that the largest page fits on the screen. This preserves the relative sizes of the pages.
screen = sSpecifies the screen to be used for the main presentation. Use s=1 to use the primary screen. Use IgorInfo to determine the number of available screens.
startStarts the slideshow.
stopStops the slideshow. You can also stop it by pressing the escape key.
wrapMode = wControls what happens when the presentation reaches the last page in the slideshow.
w=0:Advancing to the next page has no effect.
w=1:Advancing to the next page causes the slideshow to wrap around to the first page.
w=2:Advancing to the next page causes the slideshow to stop.

Flags​

/W = winNamewinName is the name of the desired layout window. If /W is omitted or if winName is $"", the top layout window is used.

Details​

A layout slide show can be used to present an Igor experiment to others, or to run an information kiosk.

Any changes to the layout window during a slide show are automatically reflected in the slides. For example you could use a background task to update a graph so that the slides always show the latest data.

You can control a running slide show by right-clicking on the slideshow. Alternatively, use the arrow keys or a mouse click to advance to the next slide.

Press the space bar to toggle between automatic and manual advancing of the slides.

Press escape to end the slideshow.

Example​

Function DemoSlideshow() // Press escape to end the slideshow
NewLayout
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z961"
LayoutPageAction appendpage
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z962"
LayoutPageAction appendpage
TextBox/C/N=text0/F=0/A=LB/X=33.57/Y=70.81 "\\Z963"
LayoutSlideShow autoMode=1,delay=1,page=1,wrapMode=1,start
End

See Also​

Page Layouts, NewLayout, LayoutPageAction