Showing results for 
Search instead for 
Did you mean: 

Ideas - Further optimizations to make execution faster ??



Is there any further optimizations that can be done to my program. 


If I can make it faster it will be great.


Please advise.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 1 of 2

The time delay (Wait) in the Motor FOR LOOP subVI takes more time than everything else in the program put together.


The 800/Speed calculation for the Wait gives a 1 ms delay for all speed values from 534 to 1600. Zero delay above 1600 and 2 ms from 534 down to 320.  This is probably not what you wanted.  The input to the Wait (ms) function is coerced to an unsigned 32-bit integer (U32).


There are lots of optimizations which can be done but they all have effect in the microsecond range.


What do you expect to gain by speeding up this program?



0 Kudos
Message 2 of 2