01-15-2007 06:46 PM
01-16-2007 01:08 AM
Hello Rodrigo!
It's not possible to store the customized menu in the desktop file.
If you want to add it on startup you have to add a WndShow( <Device> ) for every device you want to change in DIAdem 8.1. In newer versions (>= 9.1) the bug is fixed.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
01-16-2007 10:47 AM
Hi Rodrigo,
Matthias is absolutely correct. I believe the WndShow() is not needed as of DIAdem 9.1. In DIAdem 10.0 and DIAdem 10.1 there is an option to start a particular VBScript as DIAdem is started. This can be selected in the General Settings dialog, and that information is indeed stored in the desktop file. So with a new version of DIAdem, it would be possible to have the desktop automatically create your custom menu.
I know that in DIAdem 8.1 there is a file called "ScriptDefault.VBS stored in the \DIAdem..\AddInfo directory, and this might exist in DIAdem 8.0 as well. This VBScript is started every time DIAdem is, and you can add commands to it. This is how the "DirectoryMenu" application works which you can find on the NI-DIAdem support site. I know that example works in DIAdem 8.1, but I dont think I ever tried it in DIAdem 8.0.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-16-2007 11:33 AM
01-18-2007 09:21 AM
Rodrigo,
I think you might benefit greatly from upgrading your DIAdem from version 8.1 to version 10.1, there are a lot of very nice new features that have been added in Version 9 and Version 10.
Please get in touch with the NI Brazil office if you're interested in obtaining an upgrade:
National Instruments Brasil
Avenida Paulista 509-18 andar/cj 1808
01311-910
São Paulo - SP
T: (11) 3262-3599
F: (11) 3266-5088
e-mail: ni.brazil@ni.com
Thank you for using DIAdem,
01-18-2007 01:09 PM