01-22-2013 04:34 PM
Using a PCI-7332 board in a Win7 pc and it runs slow. By slow I mean what is specified in the NI 7330 and the NI 7340 Timing information sheet states that my while loop should be running at a 10ms rate. Its running in a 125ms rate.
Please see the screen shot of the vi below.
Solved! Go to Solution.
01-23-2013 03:19 PM
How are you timing the loop iterations? Are you using tick counts? Have you tried to benchmark the individual subVIs you are calling? Does disabling portions of the diagram decrease the execution rate by much?
01-24-2013 10:01 AM
Did time study. Improved performance by disabling background applications tied to the computer and placing sub vi's not needed inside loop outside. Return time on the 2 sub vi's are bout 2ms per iteration so for 100 samples gives me roughly 300ms per. Can that be improved with a real time system? What can you recommend?
Thanks
01-28-2013 10:42 AM
I don't believe there would be a significant improvement by moving to an RT system. It's true that there is less overhead processing in comparison to a pc, however the algorithms are the same. An RT system would only be more useful if you were more interested in more deterministic control. You would use an RT system if you wanted the iterations to be 'on time' not necessarily faster.