Reconstruction of IF siganal using NI-5640R

Hi,
I am trying to reconstruct the recorded Baseband IQ Signal in the QAM mode or in the Interpolation mode at 70MHz using NI-5640R.
Details of the recorded file is as follows
Samplerate : 3.125MSPS(3.125MSPS of I and 3.125MSPS of Q)
bits per sample : 16bits for each I and Q
Allignment of data: Alternative I and Q
I have tried in the QAM mode. The code is attached. I am able to generate the signal with some gaps. But I need to generate the signal continously. I need to get the data from file and I need to generate the signal continously with out interuption till the end of file.I am using LabVIEW 8.2 and the version 1.2 drivers.
Attachments:
28_08_10_2.zip ‏2444 KB

Sandeep-
The Shipping Example called "ni5640R Analog Input and Output" does exactly what you are looking for. By default, its generates a single tone (sine wave) and output's it to AO0. It also reads in AI0, so all you have to do is connect them together and you should be all set.
Also, please keep IF-RIO (NI 5640R) questions limited to the IF-RIO forum as you will usually get a faster response.
Xaq

Similar Messages

  • Using NI PCI-5640R as Real-Time Spectrum Analyzer

    Hi,
    The code for NI PXIe-5641R Real-Time Spectrum Analyzer demo is posted HERE  for LV 2009. I want to use the same code for NI PCI-5640R instead of NI PXIe-5641R. Since I am using a 5640R, I have changed the device in the project.
    Can any one guide me what else changes I have to make in this Demo code so that I can use the same code for NI PCI-5640R
    instead of NI PXIe-5641R?
    Thanks and Regards,
    Rashid
    Solved!
    Go to Solution.

    Hi Eug,
    It sounds to me like you need to go back and re-install support for LabVIEW 2009 and 2010 through the NI-RFSA driver. You can do this through Add/Remove Programs. Select National Instruments "Change/Remove" and when the pop up window comes up select NI-RFSA and select "Modify." This will re-load the installer for NI-RFSA and through there you can add/remove support for versions of LabVIEW. Make sure that LV 2009 and 2010(if you're using it) are selected.
    As for your application, if I understand you correctly your setup goes something like PXI-5600»PXIe-5641R»PXI-5610 (»PXI-5690?). If you're just trying to acquire a signal on the 5641R and amplify it digitally before replaying it on the AO port, then you could try to use the example code "ni5640R Analog Input and Output" that is found here:
    C:\Program Files\National Instruments\LabVIEW 2009\examples\instr\ni5640R\FPGA\PXIe-5641R\ni5640R Analog Input and Output\
    as a base to follow, but you'll need to modify the code so that you're not providing the AO data from the host, instead you'll re-route the AI data on the FPGA through some amplification block and then feed that to the AO port. If you're including the 5600 and 5610 in this process, then that modified example will just need to include some code on the host to setup the 5600 for downconverter only mode and the 5610 for upconverter only mode. There are examples of this that you can find in their respective driver examples:
    C:\Program Files\National Instruments\LabVIEW 2009\examples\instr\niRFSA\RFSA Downconverter with External Digitizer.vi
    C:\Program Files\National Instruments\LabVIEW 2009\examples\instr\niRFSG\RFSG External AWG (5610).vi
    The addition of these last two pieces of code will make this modified example look a lot like the code that NAyer linked above without the FFT processing.
    I hope this helps.
    Chris W

  • Can I use IF-RIO with LabVIEW 8.20

    I am going to upgrade my LabVIEW to 8.20 but I am not sure whether the driver of IF-RIO can work with it properly.
    Does anybody know this?

    Hi,
           My customer get problems when using PCI-5640R in LabVIEW 8.2, but they could work in LabVIEW 8.0. Is there any latest NI-5640R driver support LabVIEW 8.2? Or PCI-5640R only works in LabVIEW 8.0? 
    Operation system and environment:
    LV 8.2
    LV FPGA 8.2
    NI-5640R 1.1
    NI-RIO 2.1.3
    Display error message in LV 8.2 FPGA complier server.
    An internal software error has occurred. Please contact National Instruments
    technical support at ni.com/support with the following information:
    Error 1003 occurred at Open VI Reference in
    nirviGetModInfo___nirviEIOImplementation_modGen.vi​->nirviGetModInfo___nirviE
    IOImplementation_modGen.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  The VI is not executable. Most likely the VI is broken or one of
    its subVIs cannot be located.  Open the VI in LabVIEW using File>>Open and
    verify that it is runnable.
    VI Path: C:\Program Files\National Instruments\LabVIEW
    8.2\resource\RVI\StockIO\private\StockFPGA_io_modG​en\nirviGetModInfo_StockFP
    GA_io_modGen.vi
    Please refer the attached reproducable example code.
    Best Regards
    NITW AE
    Gary
    Attachments:
    UsingFilterCore.vi ‏550 KB
    filt20070509104003.zip ‏255 KB

  • Using FPGA Interface Functions pallete

    Hi,
    I am using PCI-5640R  and PXI-5600. I want to use "Scaled Window" and "FFT" exspress VIs of "FPGA Math & Analysis" Functions Pallete in my "FPGA VI" and "FFT to Spectrum" VI  of "FPGA Interface" in my "Host VI".
    Can any one post some example code in which these three subVIs are used.
    Thanks in advance.
    Regards,
    Rashid  
    Solved!
    Go to Solution.

    The answer to this question is available at 
    http://forums.ni.com/t5/IF-RIO/Using-FFT-to-Spectrum-SubVI-of-FPGA-Interface-Functions-pallete/td-p/...

  • Error code 1054: compiling error on examples with the 5640R

    Hi,
    I'm trying to use the 5640R to analyze the I and Q outputs of a set of downconversion mixers. I found that I might be able to slightly modify some of the examples that came with driver 1.3. However, when I tried to compile the FPGA part of the "ni5640R Analog Input and Output" example (before I made any modifications), I get a Code Generation Error 1054 (Cut and pasted below)
     Error 1054 occurred at nirviUIDToObject.vi
    Possible reason(s):
    Error getting object reference for UID.
    All text parsed:
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>7</ErrorCode>
    <DynamicText>Error calling module generator VI: NULL</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>7</ErrorCode>
    <DynamicText>Error calling module generator VI: NULL</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    The code goes on for pages and pages.  When I use the pre-compiled "NI5640R Analog Input and Output (FPGA)" module that came with the driver, I seem to have no problems. Could anybody please shed some light on the issue?
    Thank.
    Richard Tseng

    Hi, I just wanted to report that I seem to have solved the problem. The issue was that while Labview was recently updated to version 8.6.1, the Labview FPGA module stayed at version 8.6. I found information leading to the solution through these two posts:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=423223
    http://digital.ni.com/public.nsf/allkb/A711119FE89E39E78625754E00075E92
    Richard Tseng

  • Help needed with generating a sine wave with NI-5640R card

    Hi there,
    I have created a simple programe using the 5640R card, and i am attaching the programe to this question. Using a "sine generation" function/block i am generating a sine wave and outputting to one of the o/p ports and then i am connecting that o/p port to one of the i/p ports using a cable. Then i am plotting what ever i have recieved through the i/p port (this has to be same as what is generated using "sine generator" ). The graph shows that i am not receiving aything from the i/p port, but when i plot the o/p of the "sine generator", i see that the sine generator is generating the sine wave. Please refer to the attached figure and please tell me what mistake i have made in this simple programe.
    Thanks,
    Sandeep.
    Message Edited by sandeep palreddy on 07-08-2007 12:46 PM
    Sandeep Palreddy, Graduate Research Assistance
    The Microwave Remote Sensing Laboratory (MIRSL)
    University of Massachusetts
    151 Holdsworth Way
    Amherst MA 01003-9284
    Attachments:
    figure.doc ‏27 KB
    figure.doc ‏27 KB

    Hi sandeep
    This small segment of code will not work on the NI PCI-5640R.  This module does not support running the FPGA Vis directly.  A Host VI must be run that calls to the FPGA Vis.
    I suggest that you look at the ni5640R Analog Input and Output example that is installed by the NI PCI-5640R software. 
    Jerry
    PS: Make sure that you are using the NI PCI-5640R software version 1.1.

  • NI PCI-1424 used to grab TFT LCD Signals

    Can the NI  PCI-1424  parallel digital frame grabber be used
    to capture the an image from the siganal used to drive standard TFT LCD
    panels?  The LCD panel that I have has 6 digital bits per RGB, a
    vertical and horizontal sync, and a pixel clock at 40Mhz.  I want
    to use this to automate the testing of the LCD driver signals. 
    Currenly we have a person verify the image on the LCD screen.
    Solved!
    Go to Solution.

    Hello niklander,
    While the NI PCI-1424 card does support RS422, TTL, and LVDS standard video formats, it can only support a pixel clock rate up to 50 MHz.  National Instruments does not currently manufacture any Vision hardware that supports TTL or SVDS standard video formats and pixel clock rates greater than 50 MHz.  For more information on our Vision hardware products, please browse the NI Vision Hardware website.
    National Instruments does, however, produce a line of high-speed LVDS Digital Instruments that can support maximum clock rates up to 200 MHz.  You may want to consider one of these high-speed instruments, but please keep in mind that this high-speed product line is not designed for Vision applications.  If you choose to try an NI high-speed LVDS Digital Instrument, you may face significant development challenges when architecting your application.
    Best Regards,
    Travis M.

  • I am trying to find a business plan template for use in pages and numbers

    Hi,
    I am trying to find a template for a business plan for a start up company to allow me to submit and idea and costings to get financial investment.
    There are lots available on the net but they are mostly written for WORD.

    Glad someone does Peggy.
    The notification system seems to be quite sporadic.
    I go to get links for FAQs and occassionally spot the odd irrelevant comment and spam, but really unless it is totally off the wall I leave them be. At least for a month or two, then clean them off just so it doesn't bury the valuable stuff.
    Been thinking about reconstructing the entire thing using WordPress so I can get better control over the layout and sort them imto more logical groups. I have trouble locating stuff I know is there and I pity the newcomer who doesn't even know it exists.
    Peter

  • Simulation mode for PCI-5640R

    Hi,
    I am evaluating whether to buy a PCI-5640R (or PXI-5641R) card for a project.   I would like to prototype the code first to see if what I want to do would work.  Is it possible to use the 5640R driver in simulation mode, without a physical card installed?   M-series daq cards support this, is there similar support for 5640R / 5641R/
    thanks in advance
    greg

    Hi Greg,
    You can simulate the use of your IF Transceiver code before you make a decision on whether or not to purchase. There are a couple caveats though. First, you must have the NI-5640R driver installed in order to find that device as a simulated device. The other thing is that you'll need to have the LabVIEW FPGA module already purchased and installed. If neither of these are issues, then you are good to go for prototyping. I recently updated the instructions on how to set your IF-RIO FPGA project for simulation that you can find HERE.The updates that I made to include the IF-RIO may not be live yet, but should be up within the next day. Those instructions should get you rolling. Enjoy!
    Chris W

  • Using DAC0/DAC1 as I/Q baseband channel to work with zero-IF architectu​re RF front end

        Hi,
         I am using the 5640R FPGA card together with RF front-end to transmit and receive OFDM modulated signal. (something similar to 802.11). I was working with a low-IF architecure RF front-end (NI PXI 1042) and now I need to modify my design to work with a zero-IF(direct downconversion) architecture RF front-end.
       Therefore, I need to generate both I and Q baseband analog signal which I will use as the input to the RF front-end.  Thus, I need to gurantee the I and Q channel (ADC0/ADC1, or DAC0./DAC1) are both synchornized.
       I read Mauricio's post about synchronizing the two DAC and two ADC, in his response to the filtering with IF-RIO. It helps a lot. Yet I still have some questions. Advices would be greatly appreciated.
        If I want to synchornize ADC0 and ADC1, should I put a "ADC reset" vi in the host after I finish the DAC configuration VI? Besides, I could not find anything similar to the "Profile" used in the DAC configuration. Since DAC reset will reset the profile 0 which is undesired as discussed in the previous post, I am wondring if there is anything similar to the ADC.
       Besides, to get the received I/Q based band data, should I just read the ADC_0_Port_I and ADC_0_Port_Q? I will later set the Transmit Frequency and Receive Frequency to both 0M. Is there anything that I should do in addition to what Mauricio kindly listed in his post?
       I attached the picture of what I did to the Host VI and FPGA VI.
       Thanks a lot.
    David
    Attachments:
    zeroiffp.JPG ‏99 KB
    zeroifho.JPG ‏116 KB

    Hi,
       I was not able to run my vi after I clocked the configuration loop with RTSI_Ref_Clk and also did the other step as illustrated in "filtering with..." post.  A error -61046 occured with the following message.
      Error -61046 occurred at ni5640R Template (HOST).vi
       Possible reason(s):
        LabVIEW FPGA:  An error was detected in the communication between the host computer and the FPGA target.
        If you are using any external clocks, make sure they are connected and within the supported specifications. Also, verify that the rate of any external clocks match the specified clock rates. If you are generating your clocks internally, please contact National Instruments Technical Support.
       The attached .zip file is my coded project.
       Advice is greatly appreciated...Thanks.
    David
    Attachments:
    Joing Configuration of WLAN Transmitter and Receiver up to Carrier step_zeroIF.zip ‏4980 KB

  • DAC output without using DAC configure mode

    Hi,
    I am using NI-5640R and labview 8.2.
    Is it possible to send out anything without using DAC configure (single or quadrature) mode?
    Actually, what I am trying to do is to send out to DAC whatever comes in, like attachment
    Ahmet
    Attachments:
    ADC to DAC (FPGA).JPG ‏36 KB

    Hi there:
    I am also using the the NI PCI-5640R and I've been "studying" the program: "Frequency Translation", my intention is to modify it and produce a  closed-loop between I and O. 
    I am also interested in transferring what i am reading through the
    input port, directly to the output port but filtered and with a
    phase-shift (final Objective: Q-Control). 
    I need to visualize the signal in the HOST, so I need both FIFOS (DMA FIFO and  Local FIFO), and the "Quadrature Mode DAC Configure"
    I would like to know:
    1. How can I directly transfer the data acquired through the ADC port into the DAC?  (it is unclear due to the Event structure in the "Frequency Translation" example)
    2. How can I configure the "Quadrature Mode DAC Configure.vi" for it to bandpass-filter the signal comming from the ADC at a given frequency and BW, specified by the user in the HOST?
    3. Is it possible to configure the "Quadrature Mode DAC Configure.vi" to produce a phase-shifted signal (phase shift also specified by user in the host)
    I've been working for almost 2 months trying to program the 5640R, doing examples, and modifying them.  After playing with different examples I've come up to the conclusion that the "Frequency Translation" example is the one that best-suites my application.  My problem now is that I AM LOST because i need more information regarding the configuration parameters of ALL the different VI's inside the NI-5640R VI Tree  to exploit them correctly, specially the "Quadrature Mode DAC Configure.vi".
    Can anyone please help me?
    Cheers, Antonio

  • DAC-issue

    Hi,
    I am using PCI 5640R board. AD-9857 is the DAC. 
    I want to generate a signal(sine), digitise it in the Host, transfer those values to FPGA.
    Through DAC I want to reconstruct that original sine signal and send it through Analog output port.
    I will measure it in the AO port using some measuring device (oscilloscope).
     * I have used the Single tone mode of DAC effictively.
    * I am having difficulty in understanding the QAM  mode of DAC.   How to use it
    Thanks 

    Hi,
    You can download some examples for the 5640R at http://decibel.ni.com/content/docs/DOC-1710
    Do you have some prior experience working with the 5640R?
    The PCI-5640R offers different programming options.
    1. Host-based processing - you can work with LabVIEW and use the NI-5640R instrument driver.
    2.FPGA processing - you can use LabVIEW FPGA module along with LabVIEW and program the onboard FPGA.
    The  NI-5640R instrument drivers can be found here
    You could also refer the IF RIO manual for more information.
    http://www.ni.com/pdf/manuals/374603b.pdf
    Regards,
    Denver
    AE, NI India

  • How to store the output of a analog to digital converter into an 2D array

    Hi
    I am doing my M.Tech Thesis in Image reconstruction and I am using labview for simulation and I want to know how to store the output of a analog to digital converter into an 2D labview array.

    nitinkajay wrote:
    I want to know how to store the output of a analog to digital converter into an 2D labview array.
    How exactly are you performing 'Analog to Digital'???
    Grabbing image using camera OR performing data acquisition using DAQ card OR some other way????
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • IIR Filtering and response .vi: Butterwort​h filter magnitude response depends on sampling rate -why?

    Hi folks,
    I am not expert in filter design, only someone applying them, so please can someone help me with an explanation?
    I need to filter very low-frequent signals using a buttherwoth filter 2. or 3. order as bandpass 0.1 to 10 Hz .
    Very relevant amplitudes are BELOW 1 Hz, often below 0.5 Hz but there will be as well relevant amplitudes above 5 Hz to be observed.
    This is fixed and prescribed for the application.
    However, the sampling rate of the measurement system is not prescribed. It may be between say between 30 and 2000 Hz. This will depend on whether the same data set is used for analysing higher frequencies up to 1000 Hz of the same measurement or this is not done by the user and he chooses a lower sampling rate to reduce the file sizes, especially when measuring for longer periods of several weeks.
    To compare the 2nd and 3rd order's magnitude response of the filter I used the example IIR Filtering and response .vi:
    I was very astonished when I the found that the magnitude response is significantly influenced by the SAMPLING RATE I tell the signal generator in this example vi.
    Can you please tell me why - and especially why the 3rd order filter will be worse for the low frequency parts below 1 Hz of the signal. I was told by people experienced with filters that the 3rd oder will distort less the amplitudes which is not at all true for my relevant frequencies below 1 Hz.  
    In the attached png you see 4 screenshots for 2 or 3 order and sampling rate 300 or 1000 Hz to show you the varying magnitude responses without opening labview.
    THANK YOU for your ANSWERS!!!
    chris
    Solved!
    Go to Solution.
    Attachments:
    butterworth-filter-differences.png ‏285 KB

    Hello Lynn,
    thanks for the answer. You are right that there are few points "behind" the curve in the graph, see png.
    However, this is the filter response which Labview (2009) provides to me directly out of the "IIR Filter for 1 Channel. vi" in the "filter information" output cluster. Where up to now I do not know how to influence it - apart from adjusting the input parameters "IIR filter specifications". OK, I assume I have to gain more knowledge of this. The curve of the magnitude resonse dies not change when I change the number of samples of the input signal of the signal generator, only wehn I change the sampling rate.
    I used directly the example vi from Labview with the name indicated in my first post "IIR Filtering and Response.vi".
    So I assumed that everybody has it in his/her examples shipped with LV and it is not necessary to post it.
    I just adjusted the size of the diagram of magnitude response to see the curves better as you see in the attached vi.
    So I did no changes to the vital parts of signal generation and filter of the example. The screenshots are like they come from the example when using the option "one waveform" where I as user assume that this which is behind is quality-controlled by NI.
    I was also astonished that the filter magnitude response is different to the one I copied out of graphs 1 year ago - but I unfortunately cannot reconstruct which example I used there...
    Thanks for any further comments
    chris
    Attachments:
    IIR Filtering and Response_CH.vi ‏55 KB
    butterworth2nd_order_bandpass_0p1to10Hz_mag_response.PNG ‏18 KB

  • I do not have Aperture installed on my computer anymore but I do have my old library.  Is there any way to extract the ORIGINAL image from the library without having Aperture installed?

    I started using Aperture back when it first came out.  I really had no idea what I was doing when I set everything up.  I got a new computer but do not have my Aperture disc anymore but I do have my old library.  I can get into the library and find the pictures in the Preview and Thumbnails folders, but these obviously are not the original pictures.  The ones in the Preview folder are only 10% of the size of the original digial photo.  I want to know if there is any way to get or reconstruct the original picture using the files in the library without installing Aperture.

    Hi Refringgers,
    Install the 30 day trial of Aperture. Open your Aperture Library, export the Masters and Versions.
    Other than that I will make a strong recommendation not to muck within the Aperture library. Yes, you can find your photos in there, but if you ever decide to again use it may well be unable to be opened. The other thing is the photos are scattered around in a gazillion folders it would take a long time, of course depending on the number of photos, to retrieve them.
    Cordially,
    RicD

Maybe you are looking for