Steve Mate Posted January 12, 2007 Report Share Posted January 12, 2007 I am using the "Write INI Cluster" and "Read INI Cluster" VIs from the OpenG library. I am finding that the time it takes to read is quite slow. For example, reading an array of 100 DBL takes about 1.8 seconds. Is this normal behaviour for these VIs or am I implementing them incorrectly? Quote Link to comment
Jim Kring Posted January 12, 2007 Report Share Posted January 12, 2007 I am using the "Write INI Cluster" and "Read INI Cluster" VIs from the OpenG library. I am finding that the time it takes to read is quite slow. For example, reading an array of 100 DBL takes about 1.8 seconds. Is this normal behaviour for these VIs or am I implementing them incorrectly? Steve, There are a couple factors that could make this slow. 1st off, the NI Configuration File VIs are pretty slow with large data sets. Secondly, the OpenG Variant Configuration File VIs can be slow in certain situations. If you create a quick example VI that demonstrates your problem, I'll investigate the performance issue and let you know if we can improve things. Thanks, Quote Link to comment
Steve Mate Posted January 13, 2007 Author Report Share Posted January 13, 2007 Hi Jim, I've attached a VI that uses the basic functionality. I ran (from source) some tests and got the following results: Array Size, Time in Seconds 10,0.56 25, 2.14 50, 4.6 100, 8.76 Extremely slow - something is wrong... I tried building the EXE and running the tests and it ran much more quickly. For an array size of 100 the time was only 0.05 seconds - over 100x faster. I tried mass-compiling my OpenG directory but no improvement. Must be an issue with my LabVIEW environment... VariantConfig V2.7 LV8.0 Download File:post-3634-1168657543.vi Quote Link to comment
Steve Mate Posted January 13, 2007 Author Report Share Posted January 13, 2007 Ok - the old "reboot the PC" trick worked. Not sure why things got so bogged down... Thanks Jim. Quote Link to comment
Jim Kring Posted January 13, 2007 Report Share Posted January 13, 2007 Ok - the old "reboot the PC" trick worked.Not sure why things got so bogged down... Thanks Jim. Hi Steve, It could be that you experienced this bug: Major LabVIEW Slowdown (Several 100 time slower) I'll take a look at your example and see if I see anything strange. Thanks, Quote Link to comment
Jim Kring Posted January 14, 2007 Report Share Posted January 14, 2007 Steve, I just tested in LabVIEW 8.2 and I don't see any issues. Here are my results: Array Size, Time in Seconds 10, 0.015625 25, 0.03125 50, 0.046875 100, 0.09375 1000, 0.53125 10000, 6.75 I'm going to stick with my guess that you were hit by the Major LabVIEW Slowdown (Several 100 time slower) bug. Thanks, Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.