LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 CPUs for 2 loops

How to set 2 cpu for 2 loops individually.

 

I have 2 loops, one for pull data from hardware, one for data processing.

 

The queue is used for transfer data between these 2 loops.

 

The loop for pull from hardware is important, do not want interfere by other loops.

 

If I donot have 2 cpu, can duo core also make it?

 

 

0 Kudos
Message 1 of 3
(2,591 Views)

If you use timed loops, you can assing each to a different CPU. (On never LabVIEW versions. What is your LabVIEW version?)

 

What makes you think you even need to worry about things like that? What are the data rates you need to process? Typically, it is much more important to write efficient code than to blindly throw more hardware at it. 😉

 

Also, on a general purpose OS (such as windows), there are many other processes that can interfere with your code. For better determinism, you might want to use LabVIEW RT.

Message 2 of 3
(2,583 Views)
I'm guessing this has to do with this.
0 Kudos
Message 3 of 3
(2,505 Views)