12-06-2019 09:50 AM
@rajiv85 wrote:
I have a question regarding the utilisation of the Cores of a processor, next gen PC's will be having 16 or even higher core numbers..
How does LV use those cores or does it not?
What are the programming strategies to take maximum advantages of the cores?
I remember when multicore was just coming out and every other programming article I saw was "how do we use this multicore capability?" I just went up to my NI rep and asked him how we use multiple cores in LabVIEW. His answer was "just program things to run in parallel." My response was "so I don't have to do anything different." LabVIEW has been multithreaded longer than I have been using it (~15 years now). All cores will be utilized assuming you actually write your program to use parallel loops. A simple state machine will probably not utilize many cores (likely everything will be serialized into a single thread for the code and then another thread or two for the UI and "root loop").
12-06-2019 01:26 PM
@crossrulz wrote:
@rajiv85 wrote:
I have a question regarding the utilisation of the Cores of a processor, next gen PC's will be having 16 or even higher core numbers..
How does LV use those cores or does it not?
What are the programming strategies to take maximum advantages of the cores?
I remember when multicore was just coming out and every other programming article I saw was "how do we use this multicore capability?" I just went up to my NI rep and asked him how we use multiple cores in LabVIEW. His answer was "just program things to run in parallel." My response was "so I don't have to do anything different." LabVIEW has been multithreaded longer than I have been using it (~15 years now). All cores will be utilized assuming you actually write your program to use parallel loops. A simple state machine will probably not utilize many cores (likely everything will be serialized into a single thread for the code and then another thread or two for the UI and "root loop").
That's the beauty of LabVIEW - the less you futz with it, the more efficient it becomes.
12-07-2019 12:50 PM - edited 12-07-2019 12:51 PM
off topic
12-09-2019 01:37 AM
Thank you very much for the responses!!!
So this would mean the more cores a CPU has we just need to run more loops in parallel and it will become more efficient..Simple and brilliant enough!