From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-07-2006 05:13 AM
09-07-2006 08:47 AM
Hi salte,
The menus are completely customizable via VBScript, and you can find detailed information on the 10 or so MenuItem...() functions in the DIAdem Help.
But if I were you I would start with this example:
http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=F8ABC9B4A0E06F0AE0340003BA7CCD71
Some of the icons can be affected by these same MenuItem...() functions.
Ask if you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-08-2006 03:10 AM
09-08-2006 08:14 AM
Hi salte,
That's an interesting request, but it's not something that DIAdem can do for you. Since that puts us into the realm of a new feature request, what would you have liked to see in DIAdem once the custom panel icon was pressed?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-08-2006 08:29 AM
09-11-2006 02:41 AM
Aha!
Then what you should look into is the SUDialog Editor in DIAdem. SUDialogs (Scriptable User Dialogs) are user-defined dialogs like VB forms which you can customize and invoke from a DIAdem script to lead a user step by step through a series of predefined steps or choices. While the VBScript and its SUDialog are running, the user does not have the option to use DIAdem, and you can either allow the user to see DIAdem or hide the DIAdem environment completely.
Ask if you need more information on this,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-11-2006 03:17 AM
09-20-2006 02:41 AM
09-20-2006 02:54 AM
09-20-2006 12:27 PM
Hi salte,
Well, you most certainly can programmatically set the Data Portal to visible or invisible with the variable "PtlShow". And you can also set the desired location of your SUDialog with the Dialog.Left and Dialog.Top properties. But there's no way to dock the SUDialog to the DIAdem environment, and there's also no way to have the SUDialog be non-modal like the Data Portal. You can programmatically show VIEW or any other desired DIAdem panel with the "WndShow()" command, though.
Hope that helps,
Brad Turpin
DIAdem Product Support Engineer
National Instruments