LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can someone please help me in this...

Hi guys,
 
I am trying to find out how many times the formula in the formula node can ececute in 1 sec. The file is as attached. The result that I got is very low (about 1200000 times/sec) and I have been figuring out why. I did not use any express functions.
 
 I am expecting to get about 4000000 to 8000000 times per sec. My OS is about 1.73GHz
 
This problem I preventing me from proceeding to the other part of my project. Please help.
 
Thanks.
Zhi Hong
0 Kudos
Message 1 of 6
(3,032 Views)
how are you coming to the 4M to 8M executions/second?
 
Are you including the memory re-allocation of the array out of your while loop [if it needs it]?  Or even the Tick-count VI and the math near it?
 
Even then, are you accounting for the fact that windows can do whatever it wants to the thread execution and delay your program by seconds if another program deems itself more important? (Antivirus does this, some other operations do it, too)
 
Every time I run your VI, the number gets larger, which to me says the memory allocation is what is taking too much time. 
0 Kudos
Message 2 of 6
(3,026 Views)
HI,
 
4M to 8M is based on one of the guys out there in the forum who say he/she ran my program and able to obtain 8 M/sec. As for 4 M, this is the min amount I hoping to generate.
 
You mentioned that the number gets larger everytime you run the program which you believe the memory allocation is taking too much time, can you suggest what I can do to recify this problem?
 
Thanks...
0 Kudos
Message 3 of 6
(3,014 Views)
Please keep the discussion in the original thread here.
0 Kudos
Message 4 of 6
(3,013 Views)
I think this might actually be the original.

Please keep the discussion to one thread so people don't give you the same answers or ask the same questions.
0 Kudos
Message 5 of 6
(2,994 Views)


smercurio_fc wrote:
I think this might actually be the original.

Please keep the discussion to one thread so people don't give you the same answers or ask the same questions.



You're right!  That was the thread I was looking for because I replied into.  I did a search on the user's post to refind it and came up with the wrong one.  It didn't occur to me there was a third thread that had almost the same title as the one I was looking for.Smiley Surprised
0 Kudos
Message 6 of 6
(2,982 Views)