VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

[Custom Device] [Page.vi] about "Dynamic button pressed" event.

动态按钮问题.jpg

0 Kudos
Message 1 of 3
(5,874 Views)

Hi,

 

You can create user-defined buttons that will be owned by a page. They come after the warning button and the separator :

Dynamic Buttons.png

This corresponds to the ButtonList and Button tags. If the type of a button is "Notification" (still a XML tag under Button), clicking on that button will send a user event to the page it belongs to, and you will be able to process that event in the event case you captured in your post.

You can refer to the tags here.

 

Regards,

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

0 Kudos
Message 2 of 3
(5,738 Views)

Hi,

 

A dynamic button is a button that is tied to a particular page. Once the page goes out of memory and a different page (with a different GUID) is loaded, the button(s) disappears.

 

Some more information about the Dynamic Button Pressed event

NI VeriStand Custom Device Developer’s Guide  Page 79

 

You can use elements in the Custom Device XML to configure custom user interface components, such as glyphs, toolbar buttons, and shortcut menus.

Adding Custom Glyphs, Shortcut Menus, and Toolbar Buttons

0 Kudos
Message 3 of 3
(5,734 Views)