LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiprocessing in Labview

Hi, I'm quite a newbie in Labview but I need to solve an advanced problem...
I've got a Windows machine with 2 processors on board and I want to create a
Labview application (a multithreaded one) which can run in both processors.
How can I do it? Is it possible?
Do I need two separate VIs?
Any examples to link to?

Thanx,

Reprise
0 Kudos
Message 1 of 3
(3,084 Views)
LabVIEW does not give the programmer the ablity to force threads to
run on a particular processor. This is handled by the OS. You might
want to read the document, Using LabVIEW to Create Multithreaded VIs
for
Maximum Performance and Reliability, found on the LabVIEW bookshelf
(open LabVIEW >> help >> search the LabVIEW bookshelf). It discusses
how LabIVEW uses threads and shows you how to force a subVI to run in
its own thread. I recommend just writing your code and let LabVIEW
handle the details.
0 Kudos
Message 2 of 3
(3,084 Views)
I'm using a Dell dual-Xeon machine for one of my projects. I just write my
code to have multiple threads, and the OS does all the load-balancing. It
also works this way on Labview running on a Linux Beowulf cluster. You can
even have a CIN that contains C code that creates threads and does parallel
number-crunching, and the OS will still automatically do load-balancing.

- Chris

"Reprise" wrote in message
news:imvYb.331459$_P.11398951@news4.tin.it...
> Hi, I'm quite a newbie in Labview but I need to solve an advanced
problem...
> I've got a Windows machine with 2 processors on board and I want to create
a
> Labview application (a multithreaded one) which can run in both
processors.
> How can I do it? Is it possible?
> Do I need two separate
VIs?
> Any examples to link to?
>
> Thanx,
>
> Reprise
>
>
0 Kudos
Message 3 of 3
(3,084 Views)