LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ideas for speeding up front panel


@dkfire wrote:

How many more property nodes are you using on the references of your controls and indicators? 

 

Also a Loop-up table like that could be made with Variant Attributes.

https://forums.ni.com/t5/LabVIEW-Development-Best/Using-Variant-Attributes-for-High-Performance-Look...


Note that a variant's tree search is a lot faster (log(O)) then an array search (O), but still slower then getting a value from an array (1).

0 Kudos
Message 21 of 23
(415 Views)

@Yamaeda wrote:

@GerdW wrote:

why do you need 7 string functions to parse the control label? Why not use ScanFromString with "R%1sF%d#%d"!?

 

I would also go with a LUT using variant attributes!


That looks like a censored curse word, which in general is how i feel about regular expressions! (though they can be magical at times)

/Y


For the record (you're not saying it, but someone might draw the conclusion): "R%1sF%d#%d" is not a regular expression, but a Scan From String format specifier.

Message 22 of 23
(411 Views)

Fair point.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 23 of 23
(407 Views)