LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parse formula in Labview

Tested it with laptop on mains power and then the times are consistently around

 

LabVIEW 8.0: 1.25 us and 71 us respectively

LabVIEW 2016: 1.4 us and 67 us respectively

 

Interestingly when I just loaded the 8.0 VIs in 2016 without first saving them, the performance was terrible even if run multiple times. I came out with times of around 50 us and 270 us respectively. 

Rolf Kalbermatter
My Blog
0 Kudos
Message 21 of 22
(600 Views)

And don't forget that the NI parser evaluation gets slower when you add input variables. Even if those are not used. IYAM, it's a bug that variable parsing is done in the evaluation part, it should really be in the parsing.

 

Just saying that running benchmarks on a single use case might give the wrong impression. When I started benchmarking my parser, NI's VI's where a bit faster, until I optimized and started using more variables... Being fast is one thing, ability to scale up is something else.

0 Kudos
Message 22 of 22
(556 Views)