LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

when can multi threading not be used

One of the topics for labview certifiation is when can multi threading not be used. Can anyone help me with this one?
0 Kudos
Message 1 of 3
(2,712 Views)
Here is one of the documents that talks about this topic and has some useful links:
Why Would I Want to Turn Off Multithreading?

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 3
(2,712 Views)
In addition to the other answer that has been posted,
the example that I have first hand experience with is
instrument control. There is only one instrument out
there. Multi-threading could allow a second thread to
attempt instrument I/O before the first one is
finished. You could get unexpected results or a hang.
File I/O could have the same problem if two threads
attempt to write to the same file at the same time.

You could still have multi-threading in these cases,
but you need some flag that says "wait, I'm busy" to
the second thread.

Les.Hammer@CompleteTest.com
0 Kudos
Message 3 of 3
(2,712 Views)