LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA Bluetooth USB conflict

I am using a PDA (Socket Mobile 650) with Windows Moblie 5 and LabVIEW PDA module.  My hardware is a NI 6009 OEM board which I am collecting 8 analog channels at 500hz.  I am simultaniously trying to collect 1hz GPS data via a bluetooth connection.  Both the GPS and the NI boards work fine seperately and both work if they are run in the same while loop.  The problem is that I miss data from the 6009 board while waiting for the GPS data, granted it is only a few milliseconds but this is a data logger in a racecar so any data lost is a fairly big deal.  I tried a producer consumer loop with queues but only one loop will run in this configuration.  I assume this is some kind of port or interrupt sharing issue but thought I would get some expert opinions.

Thanks in advance,
Polecat
0 Kudos
Message 1 of 2
(2,432 Views)
This seems like a problem with the capabilities of the PDA. Producer-Consumer architectures work OK on a regular computer because the OS can handle multi-threading. I am not sure if the OS and processor on a PDA has the same capabilities.

Can you post a screen shot of your producer-consumer code?
Eli S.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,415 Views)