Jump to content

generic user interface for specific module ui's

Recommended Posts

Hello there,


maybe someone can help me whats a good and flexible strategy for my problem. My goal is to design many module ui's which all are based on a xy graph with some function like mouse scroll zoom, switching to real-time etc. and some buttons, combo boxes and indicators around the graph. An event structure handles the special event handling.

These specific modules should base on this generic ui but also extends this ui with some more module specific content.


How can i realize this in oo design to avoid copying the generic ui when using it for new modules? I can't figure out how inheritance could solve this, because this generic ui comes with his own event handling and frontpanel. What do you think about inserting this generic ui into a subpabel of these specific modules?


Thanks a lot!

Link to comment

Subpanel is a good way to go. In each child class, there could be a different-named display VI that can insert itself into the subpanel (DisplayType1.vi, DisplayMultiCursor.vi). I've used regular classes for this, as well as AF.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.