Table Of Contents

Custom Device Pages

Last Modified: November 16, 2020

In a custom device, pages are the configuration pages that appear when you select the custom device or various sub-items of the device in System Explorer.

The configuration page that an operator sees is simply the front panel of a page VI. Every custom device must include a Main Page VI that runs when the operator selects the top-level custom device item in the configuration tree. Sub-items of the custom device, such as sections and channels, appear with simple default configuration pages that allow a user to set descriptions for the associated items.

Extra Pages

You can create additional pages with extended functionality and use those pages in place of the default pages.

Plan an extra page for each item in a custom device that you want to customize differently. For example, if you want to use the same custom configuration page for all channels in a custom device, you only need to create one extra page.

The following table displays the items VeriStand requires to override a default page with an extra page in the custom device.

Required item Description How to create
Page VI Defines the functions and appearance of the extra page. The front panel of the page VI serves as the configuration page in System Explorer.

Use the page template in the Custom Device API library.

Globally Unique Identifier (GUID) Links to the extra page using an ID. When you associate an extra page with a channel or section, you override the default page by referencing the GUID of the extra page.

Use the GUID Generator VI in the labview\vi.lib\NI Veristand\Custom Device Tools\Custom Device Template Tool directory.

You can set the GUID of an extra page by using the GUID terminal of either the Add Custom Device Section VI or Add Custom Device Channel VI.

For more information on how to use the GUID Generator VI, refer to the topic on adding extra pages after creating the custom device project.

XML Declaration Associates the GUID with the page VI in the custom device XML.

Edit the custom device XML to declare the extra page and its GUID. For more information, refer to the topic on adding extra pages after creating the custom device project.

Build Specification Specifies the extra page and any of its dynamically called dependencies.

Edit the Configuration build specification to include the extra page and any of its dynamically called dependencies in the initialization library.

For more information, refer to the topic on adding extra pages after creating the custom device project.


Recently Viewed Topics