Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Access on Android

I'm moving an existing USB-6002 application from Windows to Android.  The plan is to use C# under Xamarin, in addition to external USB support.

 

From searching around here, it seems that there is no android binding for the NationalInstruments.Common and NationalInstruments.DAQmx assemblies.  Is there any documentation on lower level messages being send to the device?

 

 

0 Kudos
Message 1 of 9
(5,299 Views)

Hi Sengle,

 

I found this community examples. Hope this helps.

 

https://forums.ni.com/t5/Smartphones-Tablets-and-Mobile/Building-Native-Android-Applications-for-Sin...

0 Kudos
Message 2 of 9
(5,259 Views)

Thank you David.

 

But this looks as if the WebService is running elsewhere, and under LabView, correct?  In my case I'm hoping to have the DAQ plugged into the USB port on an embedded computer running Android.

0 Kudos
Message 3 of 9
(5,255 Views)

Hi,

 

But are you trying to use ActiveX to connect to your Android device? Or is it just C code?

0 Kudos
Message 4 of 9
(5,241 Views)

In my case I'm running under Mono on an embedded computer running Android.  So all I have access to is the raw USB port.

0 Kudos
Message 5 of 9
(5,237 Views)

What would be that kind of messages that you would like documentation for?

0 Kudos
Message 6 of 9
(5,211 Views)

I'm assuming that, like most USB devices of this type, there are command packets being sent to the device.  I'm looking for that protocol.  

0 Kudos
Message 7 of 9
(5,206 Views)

Would this information help you?

 

https://www.ni.com/en/support/documentation/supplemental/21/using-ni-daqmx-in-text-based-programming...

 

It is about Using DAQmx with text based environments.

0 Kudos
Message 8 of 9
(5,195 Views)

This probably isn't what you want to hear, but there is no public documentation for the USB protocol used by the USB-6002. The only supported driver stack for the USB-6002 is DAQmx, which, as you've noticed, does not run on Android. I would recommend contacting your NI sales representative to push R&D to add support for this device to the NI Measurement Hardware DDK.

0 Kudos
Message 9 of 9
(5,183 Views)