NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
StephenB
Posts: 434
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: 41
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: 434
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: 41
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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page