usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

UHD support for National Instruments DAQ hardware

G
GW
Mon, Jun 9, 2014 1:11 AM

I would like to configure GNU Radio to support a new source and sink device such as a National Instruments DAQ device.  Sort of like the audio sink except with faster sample rates.  Has anyone looked at developing a UHD driver for a general purpose DAQ device?  Is UHD even the right framework to developing such a driver?

If not, I would like to look into developing one.  I welcome any advice or pointers.

Thanks,

Greg

I would like to configure GNU Radio to support a new source and sink device such as a National Instruments DAQ device. Sort of like the audio sink except with faster sample rates. Has anyone looked at developing a UHD driver for a general purpose DAQ device? Is UHD even the right framework to developing such a driver? If not, I would like to look into developing one. I welcome any advice or pointers. Thanks, Greg
AC
Ashish Chaudhari
Mon, Jun 9, 2014 8:51 PM

Hi Greg,

It should be possible to support NI DAQ hardware through GNU Radio,
however, I must warn you that it is not going to be a trivial task. The NI
DAQmx (http://www.ni.com/dataacquisition/nidaqmx.htm) software package
provides a C/C++ API to do things like creating tasks, channels, streaming
data, etc. In theory you can write a GNU Radio block that wraps this API to
create the source and sink that you talk about. Here are some resources
that you can use to do some basic stuff with a DAQ device (some of them are
for LabVIEW but you should be able to find a C API mapping for everything):
http://www.ni.com/white-paper/5468/en/
http://www.ni.com/white-paper/5409/en/
http://www.ni.com/white-paper/3021/en/
A major part of the effort to make a GNU Radio block would be to bridge the
GNU Radio and DAQmx APIs. NI DAQmx is supported in Windows and certain
enterprise Linux distributions and most DAQ hardware products have Linux
support.

Unfortunately, UHD is not the right framework to support DAQ devices
because the USRP programming model is drastically different from the DAQmx
model, and we are not planning on supporting non-USRP devices with UHD at
least in the near future.

Regards,
Ashish Chaudhari

On Sun, Jun 8, 2014 at 6:11 PM, GW via USRP-users <
usrp-users@lists.ettus.com> wrote:

I would like to configure GNU Radio to support a new source and sink
device such as a National Instruments DAQ device.  Sort of like the audio
sink except with faster sample rates.  Has anyone looked at developing a
UHD driver for a general purpose DAQ device?  Is UHD even the right
framework to developing such a driver?

If not, I would like to look into developing one.  I welcome any advice or
pointers.

Thanks,

Greg


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Greg, It should be possible to support NI DAQ hardware through GNU Radio, however, I must warn you that it is not going to be a trivial task. The NI DAQmx (http://www.ni.com/dataacquisition/nidaqmx.htm) software package provides a C/C++ API to do things like creating tasks, channels, streaming data, etc. In theory you can write a GNU Radio block that wraps this API to create the source and sink that you talk about. Here are some resources that you can use to do some basic stuff with a DAQ device (some of them are for LabVIEW but you should be able to find a C API mapping for everything): http://www.ni.com/white-paper/5468/en/ http://www.ni.com/white-paper/5409/en/ http://www.ni.com/white-paper/3021/en/ A major part of the effort to make a GNU Radio block would be to bridge the GNU Radio and DAQmx APIs. NI DAQmx is supported in Windows and certain enterprise Linux distributions and most DAQ hardware products have Linux support. Unfortunately, UHD is not the right framework to support DAQ devices because the USRP programming model is drastically different from the DAQmx model, and we are not planning on supporting non-USRP devices with UHD at least in the near future. Regards, Ashish Chaudhari On Sun, Jun 8, 2014 at 6:11 PM, GW via USRP-users < usrp-users@lists.ettus.com> wrote: > > I would like to configure GNU Radio to support a new source and sink > device such as a National Instruments DAQ device. Sort of like the audio > sink except with faster sample rates. Has anyone looked at developing a > UHD driver for a general purpose DAQ device? Is UHD even the right > framework to developing such a driver? > > If not, I would like to look into developing one. I welcome any advice or > pointers. > > Thanks, > > Greg > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >