2901 NI USRP in C program

I'm new on USRP and I have a 2901 I'm trying to control with a C program.   The manual says the device can be used only with Labview System Communication Design, but all the drivers seem to be there.  Can I control with C program?  If I can use with the C program, should I install the Labview anyway?

C I can communicate with the device, but after I niUSRP_ConfigureSignal and call niUSRP_WriteTxDataComplexInt16 to send samples, the call to fail with the message "data NI2901 writing failed. Status =-1074118650 ", even if I have the time set for a certain number of negatvie (wait forever).  All other calls seem to work perfectly.  Any help would be appreciated.

Hi Phipps,

You can program the 2900 using the driver Ettus UHD in C++, and I think that C as well. The USRP 2900 is very similar to a B200.

Tags: NI Products

Similar Questions

  • binary data from GPS VI-example RF recording / reading with NI USRP

    Hello

    In the demo video (http://www.ni.com/white-paper/13881/en) a ublox was used to record the GPS signal while driving. How is it possible to record with you - Center in a binary data format which is usable within LabView for the reading of the GPS signal? Ublox uses the *.ubx data format, is there a converter?

    Hello YYYs,

    The file was generated not by uBlox but by recording and playback VI.  An active GPS antenna, fueled by some amplifiers and mini-circuits was related to the USRP and the program created LabVIEW file (USRP being used as a receiver)

    Later the USRP is reading the file (generation) and the Ublox GPS receiver is to be fooled into thinking that its location is currently somewhere else.

  • USRP 2901 with gnuradio

    I want to use NI USRP 2901 with gnuradio.

    I looked and I found that I need to update the firmware and FPGA image.

    I found these instructions for the NI 292 X

    http://digital.NI.com/public.nsf/allkb/F622E3B3B9CC34B6862579D500705272

    What are the equivalent instructions for the NI-2901 (connected via a USB ethernet port not)?

    Where can I get the FPGA image and firmware?

    It turned out that the UHD version I had was old, I've updated my UHD version for later. It is automatically loaded the correct image of FPGA and firmware. Now she I even works great with gnuradio.

    Thank you.

  • Synchronize several USRP using Octoclock

    Hello community!

    I'm trying to synchronize several Ettus USRP N210 using Octoclock. I send you a short tag to a USRP to each set second (using the timestamp on board), the other USRP choices until the tag and display the time. I put the clock at PpsIn two USRP source by using the node properties of niusrp, but it seems the two USRP to use even their internal clock: I see a fraction of a second relatively fixed the RX once it picks up a lighthouse and this fraction of a second does not change if I put the clock to internal or ppsin source. I don't know if this is the correct way of sync USRP external reference because I'm quite new to Labview Comms, anyone have any ideas? Thank you very much!

    Hello Maxcy,

    Welcome to the community!

    I highly recommend looking through aid NOR-USRP > Programming Reference > document MIMO synchronization. This will help you understand the synchronization.

    Synchronization requires two components, a shared time base and trigger to start. In this case to share the time base, you use synchronization and synchronization of the USRP properties reference to set the frequency to RefIn reference and the Source of the time base to be PPSIn. You will need to wire the system as Figure 9 in the following Document Ettus:
    http://www.ettus.com/content/files/KB/mimo_and_sync_with_usrp_updated.PDF

    In order to share the relaxation from the beginning, we want to use the time to start to set up to be in 1 second increments. More important, you want to reset timers USRP onboard all USRPs at the same time. This is done using the Set Time VI and ensure that the change is applied to the next edge PPS (together the entry timestamp apply 1). This will require the TX and RX both be started and configured in the same second on the other. For testing purposes, I have recommended to configure the RX and TX within the same VI. This will benefit of innate parallelism of LabVIEW and ensure that both are started at the same time.

    With synchronization, above all there will be a random amount of phase constant offset between the channels, as shown in figure 6 of:
    http://www.ettus.com/content/files/KB/mimo_and_sync_with_usrp_updated.PDF
    This could be responsible for your consistent fractional offset. These needs to be processed signal to ensure alignment.

    I hope this helps.

    Kind regards

  • Cannot create the multi channels Tx two USRP-2943Rs Session with driver

    I have problems of implementation of several USRP-2943R devices in tranmist both of their channels at once.  Right now my configuration is a configuration of four chains composed of two devices of RIO.  I am only able to transmit at the same time successfully CH0 and CH1.  I'm creating a session using two devices and my aim is to perform Tx on CH0 via CH3.  In addition, my goal is to use the LabVIEW driver without any synchronization, because I test fix synchronization through post-processing and you want the VI be as simple as possible without the hassle of FPGA programming. I realize has the Simple models OR - USRP Streaming Sync in LabVIEW, but additional synchronization and FPGA programming is too much for such a simple project like mine which would require no synchronization USRP.

    My VI and some screenshots of the error messages resulting is attached.  I am able to succesfully implement multi-channel Rx deals and attached is my multichannel Rx VI.  My question is why I can open and operate a session of Rx mult-channel without problem, while a multi-channel Tx session will give me errors?

    My final goal is to merge my multichannel work Rx VI with a mult-channel Tx VI work for measurements in order to test some synchronization post-processing routines that are performed in Matlab.

    I think that I found a solution to my problem.  I thought to post it here to help others.  It is important to use some sort of device to synchronize several USRPs.  However. I found that you must reset the device by setting the node of reset function blocks that open and session Rx or Tx.  "" If it is not defined, then the ' niUSRP Signal.vi configurethe ID of the specified attribute is not valid for the scope specified (or channel)." error occurs, any circuits that you define.  After the node Reset true and place an empty string for my channels Enabled, all was fine.  Also, a full duplex system you will be only to first log of Rx with a reset of the device, followed by the opening of a session of Tx without a reset of the device.

    One more thing, it is that there seems to be a bug if you feed a Tx process a table whose number of lines does not match the number of channels Tx.  This will result in weird errors funny will disappear only after doing a hard reset of the units.  So, just something to take note of.

    I hope this information will help others and this message can be marked as resolved.

  • Calibration frequency Offset transmitter and receiver with USRP® material

    Hello everyone, I read the scripts provided by The Mathworks on the frequency of calibration offset transmitter and receiver with USRP.

    The USRP® transmitter sends a sinusoidal signal at 100 Hz with the MATLAB, sdruFrequencyCalibrationTransmitter.mscript, the USRP® receiver. The USRP® receiver monitors the signals, calculates the transceiver frequency shift and displays in the command window MATLAB for calibration with the MATLAB script, sdruFrequencyCalibrationReceiver.m.  At the level of the receiver, frequency offset will be calculated and displayed in the command window. The program uses a Spectrum Analyzer to show the spectrum of the received signal. In the program, the corresponding sentense is '% display frequency spectrum. step (hSpectrumAnalyzer, rxSig); "Based on that, I thought that the spectrum analyzer would show the spectrum of the received signal. However, the Web site corresponding site shows "to compensate for a shift in frequency of transmitter/receiver, add frequency offset on the Central frequency of the receiver object SDRu system. Be sure to use the sign of the offset of your addition. Once you have done this, the spectrum displayed by the Analyzer of spectrum of the receiver system object must have its maximum amplitude at about 0 Hz." What I'm confused is, why the Spectrum Analyzer should have its maximum amplitude at about 0 Hz, not other values? Is it because of the characteristics of the USRP itself or the Analyzer of spectrum shows is the value of the difference between the Tx and the Rx after calibration?  I use neither-USRP 2920. Your response will be much appreciated! Thank you!

    The matlab mfile is found in the following links:

    http://UK.MathWorks.com/help/supportpkg/usrpradio/examples/frequency-offset-calibration-receiver-wit...

    http://UK.MathWorks.com/help/supportpkg/usrpradio/examples/frequency-offset-calibration-transmitter-...

    Yes if two devices are not locked to a reference clock, 10 MHz for the USRPs you will see a shift in frequency.

    Specifications in ppm, ppb can give you how it can be:
    http://digital.NI.com/public.nsf/allkb/2A0B9D3F365DEDEF86256BDB007354ED

    Bye!

  • How to synchronize multiple devices (294 x) Rio usrp

    Hello

    I'm trying to receive 4 channels using two devices USRP-294xR (USRP RIO) to synchronously and run the example for the reception of several device program.   Often, I receive the error message "failed synchronization.  If I run the example several times in a row, this error message occurs more often than otherwise, but for all the times that he does not, I am able to collect data that seems like synchronous through the channels of reception.  So, in a way that works for me, but with the annoying feature that I need to run the program several times now until I am able to avoid the "Synchronization failed" error

    My installation includes an Octoclock connected to the Ref connections in and PPS in the two USRPs.  In the example, VI, I selected Ref in, but it is clear to me what choice should I use for relaxation.  Possible options are: 'Software', 'Immédiate', "Digital Edge", "Rx Start Trigger" and "Tx Start Trigger.  I had assumed my previous experience using these devices with the FPGA Ettus I would choose an option indicating that I tried to synchronize the external signal of PPS.  "External PPS" is not among the options of trigger, I'm confused as to how the synchronization.

    I saw the article below, but it's not not clear for me if I should be able to achieve my goal without making changes FPGA. It is possible to synchronize multiple devices using the program by default FPGA and example (i.e., for example RIO, not the host screw using the Ettus FPGA image)?  If so, any suggestions to help me avoid this error "synchronization failed"?

    http://zone.NI.com/reference/en-XX/help/373380D-01/usrphelp/synchronization/

    Thank you.

    Rob

    rkossler1 wrote:

    Since we did not have a 6674 t, I thought I might as well try to connect PPS from a RIO USRP to PPS on the two RIOs USRP.  I just used a BNC - T to "distribute" the relaxation.  It did not work - maybe for the same reason you mentioned on the PPS USRP out is not strong enough for the Octoclock by car.

    Yep, that's exactly it. The USRP RIO is not output enough power on the PPS TRIG OUT line to drive the lines of PPS TRIG IN two USRP RIOs, unfortunately

    rkossler1 wrote:

    How can I know which USRP RIO is the 'master '?  Do I need to designate in the software?  I chose arbitrarily use the device for which I have connected the PPS on the BNC - t 'RIO0', but I don't know how the SW knows what USRP I chose to connect the power cord to.

    The USRP captain's exit a PPS TRIG OUT in PPS TRIG IN sound. then all the USRPs you set this unit as the * first * device in the table of features of RIO for the façade of synchronization with a cross screw.

  • USRP does not connect

    I'm trying to use the USRP NOR to my laptop to use in Labview programs. I'm having a problem where I could get a connection with the USRP. I have a cut USRP devices and have had no success with any of them. I did do start guided, ensured that I have a static IP address, disabled my firewall and do not yet have a connection. When I try to ping to the IP for the USRP it times out. I think I have a 1 GB ethernet port, which was the only thing that I wasn't sure about. I tried to search to see if it is, but have not had much luck.

    Suggestions as to what I can would be helpful.

    Josh and Nemo,

    Thank you for your help in this matter. With the help of a colleague, I found that I had the wrong cable to connect the USRP device to my laptop. I appreciate the help and I am glad that has found a solution.

    A note aside the other device has been my wireless network card, which turned out to be a moot issue after getting the right cable.

    Kind regards

    ssmcd

  • USRP RIO 2953R firmware update

    Hello world

    We use NI USRP RIO 2953R with LabView 32bits. We are trying to run the example, the VI "niUSRP EX Rx Async.vi continues", but it returns an error in the GUI.

    Open Session.vi Rx niUSRPa runtime or configuration error.
    Code: 1440
    Details: RuntimeError: should FPGA number 0 x 6 compatibility, but got 0x9.0:
    The build FPGA is not compatible with the host code generation.
    As an administrator, run:

    "C:\Program Files (x86)\UHD\lib\uhd\utils\uhd_images_downloader.py.

    I guess I have to perform a firmware update to run the example VI, because he said that it indicates if the utility of Configuration NI USRP. Please also the attached photo. However we do not know what image file to download or burn. In contrast, we find also that the manual suggests not the firmware update for NI USRP 294 x or x 295 if you want to change the behavior of the FPGA?

    Do you know how I will deal with him?

    Rui

    Hello

    1. make sure that "Update Needed" message persists even after reboot of the device and and re-enumeration of the device by using the utility of Configuration of NOR-USRP.

    2. If the message persists, go to the tab 'Image Updater'.

    3 and select the device that you want to update the image on. Once you select the device that the path of the image will be automatically updated. If it does not go through this path of the image: "C:\Program Files (x 86) \National»

    4. write the image in the camera.

    5 restart the device and re - list and check that the "Update Needed" message no longer exists.

    Thank you.

  • The USRP CSD requires the LabVIEW Communications?

    I recently installed LabVIEW 2013 on my machine, as well as a whole bunch of toolboxes:

    LabVIEW English 2013
    VI Package Manager
    Module LabVIEW Control Design and Simulation 2013
    2013 LabVIEW Datalogging and Supervisory Control Module
    2013 LabVIEW MathScript RT Module
    NI LabVIEW 2013 LEGO (R) MINDSTORMS (R) NXT Module (in English)
    Module OR Vision Development 2013
    Module LabVIEW FPGA of 2013 (English)
    Xilinx toolchain 14.4
    Module time real LabVIEW 2013 (English)
    2013 LabVIEW Touch Panel module
    2013 LabVIEW Robotics module
    Software OR SignalExpress 2013
    LabVIEW Sound and Vibration Measurement Suite 2013
    Module LabVIEW Statechart of the 2013
    LabVIEW 2013 for myRIO Module
    Toolkit OR run real time Trace 2013
    2013 LabVIEW System Identification Toolkit
    LabVIEW Toolkit 2013 Digital Filter Design
    4.3.4 for LabVIEW Modulation Toolkit
    2013 LabVIEW VI Analyzer Toolkit
    2013 LabVIEW Database Connectivity Toolkit
    2013 LabVIEW Report Generation Toolkit for Microsoft Office
    LabVIEW Spectral Measurements Toolkit 2.6.4
    2013 LabVIEW Advanced signal processing Toolkit
    LabVIEW 2013 PID and Fuzzy Logic Toolkit
    Kit filter LabVIEW Adaptive, 2013
    Toolkit LabVIEW DataFinder of the 2013
    2013 LabVIEW Desktop Execution Trace Toolkit
    LabVIEW 2013 Multicore analysis and matrices hollow Toolkit
    LabVIEW 2013 power electric Suite
    Toolkit LabVIEW 2013 GPU analysis
    Biomedical Toolkit LabVIEW 2013
    Module LabVIEW 2013 OR SoftMotion
    NEITHER Motion Assistant 2013
    NEITHER Vision Builder for Automated Inspection 2012 SP1
    OR DIAdem Professional 2012 SP1 (English)
    LabWindows/CVI 2013 development system
    Module time real LabWindows/CVI 2013
    LabWindows/CVI Spectral Measurements Toolkit 2.6.4
    Spectral measures of LabWindows/CVI DURATION 2.6.4
    LabWindows/CVI SQL Toolkit 2.2
    Toolkit for processing Signal of LabWindows/CVI 7.0.2
    LabWindows/CVI PID Control Toolkit 2.1
    Execution of LabWindows/CVI Profiler 1.0
    Measurement Studio Enterprise Edition for Visual Studio 2012 2013
    General safety NI Patch 2nd quarter of 2013
    NEITHER TestStand 2013
    NEITHER ELVISmx 4.5
    NOR-DAQmx 9.7.5
    Xilinx 10.1 Compilation tools (requires the build tools additional Xilinx DVD)
    Device drivers or - February 2013

    I tried to follow this tutorial with the USRP 2932, coming soon, but I found out later that I have seem to have none of the LabVIEW Communications. No not those who prevent me from using the USRP radio? If not, then is there any restrictions on what I can do with the radio without communication?

    Hi BreadLB,

    The link to the tutorial you posted is based on LabVIEW Communications System Design Suite, a new software environment designed to accelerate the prototyping of the algorithm and stable air.  It is a completely separate and independent of LabVIEW environment.  See my post here for more details.  You can also download a free 30 day trial copy here.  Your hardware is supported with LabVIEW and LabVIEW Communications.

    The 2932 NOR is a network based USRP, and there a small on-board FPGA.  For this reason, the FPGA on that specific product is not a target of LabVIEW FPGA.  The NI 294 x / 5 x family has a large Kintex 7 FPGA and can be programmed using LabVIEW FPGA and LabVIEW Communications, as in the tutorial you posted.  The 2932 OR can be used with your host PC and LabVIEW for a variety of applications.  Unfortunately the tutorial that you have linked to your post requires the NI 294 x / 5 x hardware and Communications of LabVIEW.  If you have questions about a specific application for your 2932, please post more details and we would be happy to help you.

  • Source a current Sine using USRP N210 with Labview

    Hello

    I use USRP N210 with boards LFTX/RX for communication (electromagnetic Induction) cable and programming using LabVIEW and downloaded the drivers. I need to order the USRP to send a signal sine of 1 MHz through the barbed wire. I used the "Sine simulation block", but I'm not sure the block to which it must be connected to. Please let me know the steps or the blocks/screws that can be useful.

    Thank you.

    Hi Julie,.

    I think you need to use the open niusrp and log screw

    You don't need to use the configuration VI signal because I think that you can not set the frequency of the carrier on the Remora LFTX and LFRX.

    I think you can use the sinus blocks of generation as shown in the picture as an attachment.

    Thank you.

  • USRP calibration routines

    Hello

    Are there any routines of calibration in Labview that are equivalent to the UHD drivers use Gnuradio?

    http://files.ettus.com/manual/page_calibration.html

    Thank you.

    -Jan

    Hi Jan,

    If you use the host on the API OR-USRP, it can use the utilities of same.  A version compatible with NOR-USRP delivered with the driver and you can find by clicking on start-> all programs-> National Instruments-> NOR - USRP-> utilities.  They are handled in the same way as are utilities UHD.

  • USRP-1074118634 error code, niUSRP write data Tx (CBD Cluster) .vi < ERR > cannot find a GPSDC

    Hello I want to generate a GPS using the USRP-2920 and then plug it into a GPS evaluation kit to verify if the evaluation board can see the satellites, so I run the example

    https://decibel.NI.com/content/docs/doc-22178

    Everything looks OK, it starts with the legend Buffering Waveform, when it reached 100 I clicked the play button and the program stopped and send this error code:

    -1074118634

    and source:

    niUSRP write data Tx (CBD Cluster) .vicould not find a GPSDC

    Could someone help with this?

    Thank you

    Carlos.

    Carlos,

    What versions of LabVIEW, NI USRP and GPS Toolbox driver do you use?  I noticed the example that you referenced the States ensure to use an external OCXO since the TCXO on the series 292 x is not precise enough.  What is happening in RefIn?

  • USRP N200, GPSDO toolkit, scale and 'Phase '!

    I need to run a simple experiment using two USRP N200 auxiliary with labview program to receive the magnitude and the phase of the received signal?  Is this possible? and what is this phase value reception reliable because I checked the value of quantity calulating it manually which is OK!

    Also what someone incorpated GPSDO toolkit with USRPs? which helps with USRP two synchronous? It would be a great help if someone has the labview VI to check to make sure the GPSDO Toolbox works well with USRP or not?

    Hi Asimund,

    David is currently out of the office, then I wanted to touch base with you on your question about flashing your N200.

    I would like to talk with Ettus thereon, since you are flashing their FPGA.  They may have some utilities that you can use instead, and an overview on why you see this information in the Flash utility.

    Kind regards

  • swcth 2950 2901 router

    prejudice are Sorrento ciro I finished the CCNA I bought 2901 router machines and a 2950 switch catalist I programmed devices, so that they went on the internet dialer interface ip nat dhcp for the internal network, we only what I failed to do, I have configured the switch with vLAN different and I configured the router with interface sub with dot1q Protocol for both the router to the switch (trunk), but when I try to a ping from one vLAN to another not pingano although it seems strange because when it comes to the frame of the vlan 2 pc to the router via the router sees Tambella routing ip address sends in a different VLAN, type vlan 3. He is someone who can help me thanks.

    Hello

    reading what you're saying, I think you have setup of a router on stick design

    http://www.firewall.CX/Cisco-technical-Knowledgebase/Cisco-routers/336-c...

    You can post the configs you have if it is a laboratory?

    Don't I have the exact problem you cannot route between the VLANS?

Maybe you are looking for

  • Why must you Java?

    What are the benefits of the installation/updating Java on your MacBook Pro? I've not updated and get the pop of "the new version is available" to the top. I do not know what are the +/-to have this. Thanks in advance for your ideas. Marcie

  • RAID 1 on ix12-300r

    We have a storage ix12-300r without raid 1 option. This have only options raid 0, 5, 6 and 10. The version of firmmare is 4.0.20.33131. Please, it is possible to raid 1 on this storage option enabled?

  • How do you prefer can achieve this?

    Within your subnet only want 10 specific DHCP clients on 150 total on the network to use a test DNS server that is not assigned to any other computer via DHCP. How do you prefer can reach this objectrive?

  • Replace negative values of table 2d

    Hi all I have a large dataset I want for post processing... My data are in the form of a 2D array of typically 1e5 + lines by 100 + models! I want to replace all the negative values in the table with zeros. My initial was however to use two indexed f

  • SCCM 2007, WinPE30x86 - Optiplex 7040 - No. USB mouse keyboard in WinPE

    Hello!Im getting OSD works on Dell Optiplex 7040 with SCCM 2007 (Winpe30) of evil. No response from the mouse or keyboard in PE. I created a bootimage with the latest Dell WinPE drivers (tried A18 and A19). Driverpack WinPE from Dell contains 30 USB