05-15-2016 08:11 PM
I am new to USRP and have a 2901 I am trying to control with a C program. The manual says the device can only be used with Labview System Communication Design, but all the drivers seem to be there. Can I control with C program ? If I can use with C program, do I need to install the Labview anyway ?
From C I can communicate with device but after I niUSRP_ConfigureSignal and call niUSRP_WriteTxDataComplexInt16 to send samples, the call fails with the message "NI2901 data write failed. Status = -1074118650", even though I have timeout set to a negatvie number (wait forever). All other calls seemed to work just fine. Any assistance would be appreciated.
Solved! Go to Solution.
05-19-2016 01:18 PM
As specified in the manual and readme for NI-USRP, the 2900 and 2901 devices are only supported in LabVIEW Communications System Design software.
http://www.ni.com/pdf/manuals/374760e.html
The USRP 2920/21/22/30/32 devices can all be programmed using C and other languages, so if this is a requirement, then you may want to consider looking into these.
05-20-2016 04:51 PM
Hi Phipps,
You can program the 2900 using the Ettus UHD driver in C++, and I believe C as well. The USRP 2900 is very similar to a B200.
06-13-2016 05:06 AM
Hi guys,
is there a way to program the USRP 2901 from matlab program or labview ?
06-13-2016 09:59 AM
Hi emnajaoua,
I have had success in the past using the 2900/2901 with LabVIEW (rather than LabVIEW Communications). However, it's worth noting that LabVIEW is not officially supported by NI, only LabVIEW Communications.
06-14-2016 01:49 AM
Hi,
Thanks for your response.Have you installed any special driver for that ? have you followed a certain tutorial or something like that to do it ?
Best,
Emna.
06-14-2016 10:28 AM
When I run LabVIEW USRP examples, I just replace the IP address with the name of the 2900/2901 (typically ni2900 or ni2901) and it seems to work.
06-15-2016 05:55 AM
Hi,
for the labview that I am working on I am facing some problems cencerning the drivers for the USRP hardware.
06-15-2016 10:00 AM
Which driver are you using?
06-15-2016 10:11 AM
I have installed USRP1.1 from this link http://www.ni.com/download/ni-usrp-1.1/2949/en/
then I have opened a project which uses the USRP components (niUSRP open session , ... ) they seem not to be recognized.