Demo Setup Tools

Background

This procedure file is designed to help package developers create minimalistic, self-contained demonstrations from their experiments.

A demonstration is an experiment that has at most one graph and at most one panel. It should run with no Igor Pro menus. It should provide users with a way to layout the graph + panel or capture the graph + panel to a notebook.

This procedure file provides function calls to Send to Notebook or Send to Layout. It provides function calls to make a demonstration that hides all Igor Pro menus and shows only a Demo menu with Send to Notebook, Send to Layout, and Quit. Developers can add other menus as desired.

See the ReadMe in the release ZIP archive for guidelines and instructions.

Hidden Features

The graph is protected from tampering by using a ModifyGraph ... UIControl=uic command, with uic = 4095. Put a variable at the root folder level called uic and give it the value that you would prefer (uic = 0 means no protection).

The page size for layout is letter sized landscape. The settings use values pgwidth, pgheight, and pgmargin in set up. Put these values variables at the root folder level to overwrite the defaults for letter page size.

The fraction of the page that is used for the graph in layout mode when the layout has both a graph and panel is set by a value gfrac. Put this as a value at the root folder level to over the default (gfrac = 0.75).

When demomode does not exist, the demo mode will never become activated. To switch on demo mode, use demomode = 1. To switch off demo mode (and recover all Igor menus), set demomode = 0 and force Igor Pro to recompile. 

--

I extend my gratitude for support from WaveMetrics to help deconstruct the commands needed to make this package work as it does.

Images:

Example Demo Package

Project Details

Current Project Release

Release File: Demo Setup Tools v100.zip
Version: 1.00
Version Date: Fri, 04/06/2018 - 03:11 pm
Version Major: 1
Version Extra: 00
Version Patch Level: 00
OS Compatibility: Windows Mac-Intel
Release Notes:

First release.

View All Releases

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More