LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multithreading

Right now I'm reading data from 12 different sensors every 0.050 seconds/sensor. Because Im working with particle tracking, in static enviroments I obtain good reading the problem is that when I increase the velocity of the particle I obtain a lot of bad readings. Is there a way to reed my 12 sensors at the same time?

Francisco J. Sanchez, M. Sc.
fjs695@mail.usask.ca
0 Kudos
Message 1 of 3
(3,320 Views)

Just  multithreading doesn't solve your problem. At least you have to provide hardware which can handle your sensors parallely at the same time. Without knowing more about your sensor hardware it's difficult to give you a tip about what to use.  

0 Kudos
Message 2 of 3
(3,302 Views)

Well, it is not an easy answer to give...

 

The simplest solution could be to look for data acquisition boards with simultaneus sampling: NI sells some of them, here a list of devices with at least 8 analog inputs and simultaneous sampling.

Nevertheless, this may not be the optimal solution depending on actual sensor characteristics and type of application. You may want to call your local NI representative to find out the correct solution or give here some more details for us to share some idea with you.

 

As a last consideration, I am a little puzzled as to why you titled this discussion "Multithreading" instead of acquisition or something in the line: multithreading is a powerful way to develop robust and fast applications but is not capable by itself to guarantee the exact simultaneous handling of attached devices.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,299 Views)