DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a custom icon bar at DIAdem startup

I have modified the example for the custom defined icons in the DIAdem icon bar to launch my custom scripts.  This will replace my custom menu that I created for previous versions of DIAdem.  I used to use "scriptdefault.vbs" to run my script that created this menu.  I tried to use "scriptdefault.vbs" to runt my script to create the custom icon bar but it does not seem to work properly.  My script should create an icon on the navigator tab on startup.  My script runs fine but the icon does not show up until I go to another tab then go back to the navigator tab.  What can I do to get this to show up immediately upon startup.

 

Thanks,

 

AJL
 

0 Kudos
Message 1 of 3
(4,076 Views)

Hi AJL,

 

When I add the following line to my ScriptDefault.VBS file, I see the custom icon bar right away in NAVIGATOR:

 

Call ScriptStart(ProgramDrv & "Examples\Documents\BarExample_Init.VBS")

 

Would you try that and see if it works on your computer?  If it does, could you describe the difference between your icons and these example icons?  Or could you post or send me a version of your icons that still shows the problem on your end?

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

Message 2 of 3
(4,058 Views)

My computer must have been very cramped up last week when I posted this message.  I just opened DIAdem this morning and my custom icon was there in about 2 seconds.

 

Thanks Brad for a response.

 

AJL

0 Kudos
Message 3 of 3
(4,033 Views)