DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Portal Group Collapsing

Hello! I would like to know if there is a way to programatically collapse each group in the Data Portal. I am creating many new groups programatically and also have many groups in the portal. After each is complete, I must either manually collapse each group or scroll down. This isn't a big problem, but it would be great if my script could collapse the groups before finishing.

Thank you!

Julia
0 Kudos
Message 1 of 19
(6,785 Views)
Hello Julia,

Unfortunately there is no command to collapse the groups in the DataPortal. I've added your request to handle the DataPortal more programmatically to our DIAdem developer list of wishes. Maybe we have it in one of the next DIAdem revisions.

Greetings

Walter
0 Kudos
Message 2 of 19
(6,782 Views)
Hi Julia,

I thought that you already know the "short cut" to collapse or expand all channel groups, but maybe not.

If you highlight the root in the Dataportal and push the divide symbol "/" of the numeric key block all channel groups will be collapsed. The multiplication symbol "*" has the reverse effect.

Greetings

Walter
0 Kudos
Message 3 of 19
(6,757 Views)
Thank you Walter, I did not know that shortcut, that is useful. Now I'm sure this has been thought about, but just to check...is there not a way to simulate this key-stroke in a script? I am very lazy and would like my scripts to do everything for me! 🙂
0 Kudos
Message 4 of 19
(6,738 Views)
Hi Walter,

i hope this shortcut is in DIAdem 10 also available with the Navigator and the selectiv dataload 😉

CU
Martin
0 Kudos
Message 5 of 19
(6,715 Views)
Hi,
happy new year to all !
 
Is collapsing and expanding of channel groups programatically possible on DIAdem 10.0 or 10.1? Or is it the only way to use shortcurts "/" and "*" ?
 
thanks in advance
 
Kaan
0 Kudos
Message 6 of 19
(6,483 Views)

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

0 Kudos
Message 7 of 19
(6,467 Views)

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

0 Kudos
Message 8 of 19
(5,843 Views)

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

Message 9 of 19
(5,827 Views)

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

0 Kudos
Message 10 of 19
(5,357 Views)