DAQFactory supports an infinite number of pages for placing components for viewing your data in many different ways . This is of course, computer infinite, which means as many as you want as long as you do not run out of memory! When you create a new DAQFactory document, eleven blank pages are automatically created for you. They are named Page0 through Page9 and Scratch. You can rename these pages, create more pages, or delete these pages. The scratch page is designed just trying new things.
The workspace provides a quick way of switching among pages. If you click on the page's name in the workspace, the page will automatically be displayed. The workspace also provides the means to create new pages and delete old ones. To add a new page simply right click on any page or the PAGES: label and select Add Page. The properties box for your new page will appear. Enter in a name for your new page and click OK. Click on your new page's name in the workspace to display it and you are ready to drop components onto it.
You can switch among these pages by clicking on the page name in the workspace or use Speed Keys as described below. You can also use component events and script to change the displayed page by using the window.active.CurrentPage variable. This is especially appropriate for runtime touchscreen applications when the workspace is not visible. This is described in the next section.
The page's property box is also available by right clicking on the desired page's name in the workspace and selecting Page Properties. There are only four properties available for pages:
Page Name: You can rename your page simply by typing your new page name in here. Page names have the same criteria as other DAQFactory names: they must start with a letter and only contain letters, numbers, and the underscore.
Refresh Interval: Your pages will not be redrawn the instant that a new data point arrives. The rate at which your pages are redrawn is determined by the refresh interval. Typically a refresh interval of 0.5 second is sufficient. If you would like quicker response, you can drop this to quarter second or less. Faster (smaller) update intervals chew up large amounts of your processor time, though, so be careful. Dropping the update interval too far can actually result in a decrease in performance since your computer's processor doesn't have any room to perform the calculations it needs to in the time you desire. Pages are always redrawn from scratch with the latest data when you switch pages. If you are analyzing static data, you may wish to set your update interval to zero. This means the page will only redraw when you switch pages or when you do something during your analysis to cause a redraw such as rescaling a graph, adding a trace, or changing a component's properties. The minimum non-zero update interval is 0.03 seconds (30 milliseconds).
Background Color: This is the color the background is drawn in before any other components are drawn.
Initial Page? If checked, this page is displayed when the document is first loaded. If multiple pages have this property selected, the pages will be overlaid.
Speed Key: This allows you to specify a key on the keyboard that when pressed will cause the page to be displayed. It is really designed for basic systems to allow for quick page changes. The key has to be a printable key (so no arrow keys or F keys). For letters, upper vs lower case is ignored so you can specify either. For symbols and the number keys, you can specify the shift form and that will be what you have to press to switch to that page. So for example, if you specified % (Shift 5 on a US keyboard) , then you would have to actually press Shift-5 to jump to that page using the speed key.
A couple quick notes: first you should only specify one character for the speed key. Second, speed keys only work when the page has focus, meaning they don't work if your cursor is active in the Command/Alert window, or you are editing Channels or a Sequence, etc.