LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Threading question

Hi

I am new to threading.

I am trying to reuse functions that store data in variables and structures etc.  Rather than doubling up on everything and using if else etc. I was thinking about using arrays and 2D arrays.

There would be the main thread which can call 2 other threads, each thread more or less a duplicate except for data storage and control etc.

 

Is the 2d array idea viable?

 

 

0 Kudos
Message 1 of 2
(2,663 Views)

Hi Slten,

 

How are you getting along with this issue? If you are still looking into it, I recommend the following article that addresses multi-threading in LabWindows:

 

Multithreading in LabWindows™/CVI - National Instruments

 

Kind Regards

Elmunzir

NI Applications Engineer
0 Kudos
Message 2 of 2
(2,231 Views)