Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Combining Multifuction DAQ boards with RS-232 Serial Portng input

I am running a PXI system with Multifuction DAQ boards as well as a GPS sensor running into the Serial Port.  The Multifuction boards run at a programmed speed while the GPS always update at once a second.  Eventially the boards and / or the GPS run out of buffer and LabView reads the GPS data incorrectly.  I need a solution to be able to read these two sources in an asynchronized manner.  
0 Kudos
Message 1 of 2
(2,361 Views)
jo0743a,

It sounds like you need to read data more often. If this is not possible, you need to read more data whenever you do read. Are you programming in LabVIEW or a text-based language? In LabVIEW, you can put the acquisitions in separate while loops and they will be able to run at different rates. In a text-base language, you would need to look into multithreading to independently control your read loop rates.

Hope this helps,
Ryan V.
National Instruments
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(2,354 Views)