06-13-2005 02:07 PM
06-14-2005 01:01 AM
06-23-2005 05:34 AM
06-27-2005 11:00 AM
06-28-2005 04:22 AM
01-03-2007 04:13 AM
01-03-2007 09:35 AM
Hi Guys,
The only way to close the Groups in the Data Portal in any version of DIAdem up to and including 10.1 is to do so interactively with the keystrokes that Walter mentions above. Note that if you are on a laptop you have to use the "blue" number pad keys for the "\" and "*" buttons-- the top row of numbers on your keyboard will not work.
VBScript can indeed emulate keystrokes, but I think the stickier issue is going to be setting the mouse focus to the Data Portal tree, and specifically to the Root of the Data Portal tree-- I doubt that there is a way to do this programmatically, and without it emulating keystrokes will be useless.
We really are looking into this,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
07-13-2009 03:45 AM
Hi,
first of all, I know that this thread is quite old but since there is a new vesion of Diadem out since the last posting here, I like to ask if there is a way to close all channel groups via a script? Or is there still the "manual mode" available?
Thanks in advance and best regards
07-14-2009 11:48 AM
Hi Beri,
As of DIAdem 11.0 and later there is a new "Portal" object with which you can remote-control what is shown in the Data Portal. The following command will close all the the Channel Groups:
Call Portal.Structure.Collapse(Data.Root)
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-11-2010 03:15 PM
Hello,
on my Diadem evaluation version 11.1.0F3806 this code snipet leads to an error. Something like collaps/expand for this item not possible. You may need to refresh your data portal. Any suggestions?
Martin Liese