In a Mouse Down? on a tree, I need to know if the user clicked on a expand/contract symbol, because I need to discard clicking on items but I still need the expand/contract mechanism.
I would need something similar to the InSymbol from the Point To Row Column method, but for the expand/contract symbol.
How can I do that?
I have a CSV with data like:
Name Addr Number
Paul 13 235
Sarah 1 15
I need the fastest possible way to get the Addr/Number pair which matches the searched name (exact match, occurs only once). The whole search will be called lots of times from a teststand - this is why I need to have it fast.
The simplest is to load the csv into array once than do a loop with string compare (fastest in this case probably being the string subset).
Is there any faster way for achieving this without hardcoding the name,addr/number pairs into a switch/case?
Some background: I'm trying to use the name of the library my VI is executing in as part of a string which will be used in the name of a Rendezvous, to keep it distinct from other Rendezvous I will create.
When attempting to use the VI Property Node to access the Library property on the CompactRIO, error code 1 is returned. Running the same code on my computer runs as expected and returns the Library. Accessing the VI Name using the Property Node appears to work no problem on the RT, though.
Does anyone know what could be causing the problem? I tried searching the documentation, but didn't turn up anything. Is this error part of some general behavior wherein some VI properties are not accessible when a VI is running on a real-time target?
Code is attached. Please see attached pictures:
Front Panel - RT Results:
Front Panel - Computer Results:
Experiment with VI Property Node Error.zip
By Kurt Friday
I'm playing around with visualising clusters as a tree structure. I've got some nice code working that I thought I would share.
It's part of an abstract data viewer that I'm working on.
Code is based on Open_G Variant and Open_G Config File tools