From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-15-2019 01:59 AM
hi ,
i want to know how can i make the VI run faster . i am using Communication with database .while Loop . case structure .
Solved! Go to Solution.
05-15-2019 03:08 AM
That information helps nothing, so i'll answer with the only statement i know to be true: Upgrade your computer and server.
(I assume there are much improvements to be done on the code, but since you didn't attach the .vi there's nothing to answer to)
/Y
05-15-2019 04:33 AM
Remove the communication with the database, that will speed things up.
05-15-2019 06:42 AM
Taking out the while loop should make your program execute to completion much more quickly.
In all seriousness, nobody has a crystal ball that gives us a copy of your vi. It is impossible to tell what could speed up your application based on the description that you have given.
05-15-2019 12:02 PM
@Emna20 wrote:
hi ,
i want to know how can i make the VI run faster . i am using Communication with database .while Loop . case structure .
What is the rate limiting step? (My guess is the "communication", but who knows? Maybe your top-level loop has a 10s wait ...).
How do you measure the speed? What is it now? What speed do you need?
Your post does not contain any useful information.
05-15-2019 01:49 PM
It's a bad sign when someone says "the VI". That might mean that all of the code is in one VI.
05-15-2019 04:33 PM
@paul_cardinale wrote:
It's a bad sign when someone says "the VI". That might mean that all of the code is in one VI.
Yes, but a large VI has more gravity assist, making free-fall faster. 😄
05-15-2019 08:32 PM
@altenbach wrote:
@paul_cardinale wrote:
It's a bad sign when someone says "the VI". That might mean that all of the code is in one VI.
Yes, but a large VI has more gravity assist, making free-fall faster. 😄
I though Galileo debunked that idea,
05-15-2019 08:59 PM
@paul_cardinale wrote:
I though Galileo debunked that idea,
Somebody's never dropped a feather and a brick outside of a vacuum...
05-15-2019 11:39 PM
OTOH, a huge diagram acts like a parachute. 😄