NI Home > Community > NI Discussion Forums

NI VeriStand

Reply
Active Participant
StephenB
Posts: 594
0 Kudos

Re: Veristand TreeBrowserWF Display Filter

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

Stephen B
Member
joshe
Posts: 55
0 Kudos

Re: Veristand TreeBrowserWF Display Filter

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.

Active Participant
StephenB
Posts: 594
0 Kudos

Re: Veristand TreeBrowserWF Display Filter

Awesome! Glad to hear it. If you dont mind can you post the final VI for others to learn from?
Stephen B
Member
joshe
Posts: 55
0 Kudos

Re: Veristand TreeBrowserWF Display Filter

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