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.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Veristand TreeBrowserWF Display Filter

Solved!
Go to solution

Try casting the item to a channel type. if that throws an error... probably not a channel

Stephen B
0 Kudos
Message 11 of 14
(3,199 Views)

I found the solution. Convert Callback to DBLClick.vi  from the VI.LIB has a parameter Return Meet Filter Selection, if this is set to TRUE, I get the behavior I was looking for.  The parent folder will expand on a double click, and the root channels can only be selected.

0 Kudos
Message 12 of 14
(3,189 Views)
Awesome! Glad to hear it. If you dont mind can you post the final VI for others to learn from?
Stephen B
0 Kudos
Message 13 of 14
(3,185 Views)

Here are the code solutions to the 2 issues that were discussed.  Thanks for all the support.

 

This is the code for the Custom Filter.

 

dbl click.PNG

 

This is the Code for the double click event.

dbl click.PNG

0 Kudos
Message 14 of 14
(3,180 Views)