03-22-2015 04:24 AM
03-22-2015 06:55 AM
Nowaday CPUs are multicores. You can speed up for loop operations, if you do it parallel, for example in case of a huge array.
more info:
03-22-2015 10:41 AM - edited 03-23-2015 04:38 PM
Have you tried pressing the help button on the parallelism configuration page? You also already got a good link above.
If the outputs of each iteration are independent of each other, the compiler can spread the problem over multiple CPU cores, calculating several iterations in parallel, then assembling the result at the end in the correct order. Typically, the way the problem is split over multiple CPU cores is automatic and you don't need to worry about it. In very rare cases you might want better control and define the chunk size directly.
Note that the splitting and re-assembling introduces a certain amount of overhead so you should do some careful benchmarking to ensure that the process is worth it compared to serial execution in a plain FOR loop.
03-23-2015 04:25 PM
03-24-2015 08:38 AM
@Cheguevara wrote:
Thanks for your explaination
Thanks are given with Kudos, and marking solutions.
https://decibel.ni.com/content/docs/DOC-40451
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord