AM demodulation in NI PXIe 5641r

Hi
    I am doing demodulation in NI PXIe 5641r using Labview 2009 DS1.
    After demodulation i am trying to put Bandpass filter.
    In this while specifying lower cut off frequency and higher cutoff frequency i am getting error like your frequency should be withing 0<L_freq<=H_freq<=fs/2
    I tried with all the frequency but i am getting the same error.
    Please help me to rectify this....
    I have attached my block diagram of this
Thank You
Attachments:
am mod.jpg ‏81 KB

Hello,
The problem lies in the build waveform function.
The dt input that we specify in the build waveform function is basically the time in seconds between two samples. This can be correlated to the sampling frequency.So according to this value you should set the values in the bandpass filter.
If you want the high cutoff frequency at 500 Hz, your minimum sampling frequency should be 1000 Hz, which means that the time between two samples is 0.001 s. So set this value as dt in your build waveform function and it should work.
I think this should solve your problem.
Have a good day!!!!

Similar Messages

  • Synchronous upconversion and downconversion using NI PXIe 5641R

    Hi,
    I am using the NI PXIe 5641R board to:
    - acquire an RF signal and downconvert it to a baseband IQ
    - process the IQ signal (basically by using PID controllers)
    - upconvert the IQ signal to RF (same frequency as input)
    Now, I suppose that both the downconversion and the upconversion operation require a local oscillator.
    Is this oscillator the same for both operations?
    If not, is it possible to synchronise the local oscillators in order to have the same phase?
    Thanks
    Solved!
    Go to Solution.

    The VCOs in the ADCs and the DACs are completely separate on the two devices. Synchronizing the DACs with the ADCs at a local oscillator level is not officially supported. The ADCs and DACs are fed the same sample clock, so you might be able to achieve some level of synchronization. However, sub-sample synchronized VCOs between the DACs and ADCs is not likely. You can look at the clock circuitry diagram in the installed NI IF Tranceivers Help >>Devices>>NI PXIe-5641R>>Clocking page. The NI-5640R software gives you control functionality into the ADC and DAC chips directly when using LabVIEW FPGA to program the device. You could look at the datasheets for the ADCs and DACs to potentially get some ideas for synchronizing the ADCs with the DACs.
    The datasheets for the AD 6654 ADC and AD 9857 DAC are available from the www.analog.com™ Web site.

  • Spectrum Frequency Error with PXIe-5641R and PXI-5600

    Hello,
    following situation: I am using the PXIe-5641R (in FPGA-mode) in combination with the PXI-5600 downconverter to get a spectrum.
    After trying out with different span widths I've experienced strange frequency errors in the range span <10M.
    To negotiate errors in my program I've evaluated also the NI example of http://zone.ni.com/devzone/cda/epd/p/id/6196 - unfortunately same error in frequency happens there.
    What is meant with frequency error, for example:  I have a transceiver which sends FSK with center frequency 443,92MHz. Readings with span-width = 12,5M shows overall good results.
    Reading with span width smaller 10M, eg. 3,125MHz, gives unexpected readings. 
    With a center frequency of 433MHz and a span of 3,125MHz the transmission is out of range of spectrum. When I add an offset of 2M to the calculated IF-frequency, I get right results.
    With a center frequency of 434M I've got readings at 434,92MHz, means at 1MHz too high (after adding an offset of 1M to IF freq readings are correct).
    With center frequency 435MHz readings are correct. The limit between correct and wrong is exact at 434,5MHz (resulting IF = 14,5MHz) readings at that center frequency are good, just one step below (434,49MHz) readings are 1MHz too high.
    Where is the error hidden? Like I said this behaviour happens also with the NI example.
    Thanks for helping!
    Message Edited by Lars.B on 05-20-2009 04:26 AM
    Message Edited by Lars.B on 05-20-2009 04:28 AM
    Message Edited by Lars.B on 05-20-2009 04:29 AM

    To get closer to the problem: I've managed to get constant right results in editing the VI which calculates the IF-frequency for the IF-RIO after setting center frequency and span of PXI-5600.
    But the new values make no sense at all. Documentation says that with spans higher 10MHz step size of center frequency is 1MHz, below it is 5MHz (with lower phase noise). After my modifications it seems that step size is 1MHz at all span widths higher 1MHz and 5MHz at span widths lower 1MHz. 
    Attachments:
    Get NCO Frequency.vi ‏8 KB

  • Spurious signals in PXIe 5641R IF transceiver

    Hi all,
    I am using the example named 'RFSG Single Tone Generation.vi' to generate a signal from the RF signal generator and give its output to PXIe 5641R IF transceiver. And then using the FPGA example named 'Analog Input' for PXIe 5641R IF transceiver, i tried to view the spectrum of the generated signal. The spectrum shows some spurious signals that disappear with the reduction in signal span. I have tried it with different Signal Span options and the results are shown in the files attached. I am getting these spurious signals even if i don't give any input to the IF transceiver. 
    Any ideas why is this so?
    Thanks
    Attachments:
    PXI 5652 [Signal Generator].JPG ‏28 KB
    PXIe 5641R [IF Transceiver].JPG ‏71 KB

    The center frequency of the generated signal was 2MHz and power level was -30dBm.
    I have attached another image that shows the results when there is no input connected to AI port of PXIe 5641R. I get this peak of a very high level at the specified AI center frequency.
    Attachments:
    5641image.JPG ‏128 KB

  • Driver NI PXIe 5641r for Labview 2012

    hi. i have module NI PXIe 5641r and labview 2012, i installed driver NI PXIe 5641r; however this driver did not support labview 2012 softwave. help me please!

    Hello!
    You should be able to download the PXIe-5640R 1.7 to work with your PXIe-5641R. Here is a link to that driver:
    http://www.ni.com/download/ni-5640r-1.7/4371/en/
    According to the readme, this will work with a PXIe-5641R as well as 32-bit LabVIEW 2012. Hopefully this helps!
    Thanks,
    Stephanie S.
    Application Engineer
    National Instruments

  • BW in FM Demodulation using PXI-5660

    In FM Demodulation (Labview) using PXI-5660, what is the BW? is it the filter after down-converter (PXI-5600)? or is it a software defined filter after digitizer (5620)?
    Thanks,

    Hello Aborna,
    The PXI-5600 is always going to send data to the PXI-5620
    with a Bandwidth of 20MHz, which will be centered at 15MHz on the PXI-5620. (This
    down conversion is done through hardware and not software.)  The Bandwidth that can be configured is done
    on the PXI-5620.  If the Bandwidth is
    below 1.25MHz, then the PXI-5620 is capable of On-Board Signal Processing
    (OSP).  If the Bandwidth is above
    1.25MHz, then all the processing is done through software.   If the OSP is converting the data to I&Q
    data on the PXI-5620 (Bandwidth less then 1.25MHz), then the Bandwidth is set
    by the Bandpass filter.  This filter is
    after the PXI-5600 and before the PXI-5620 OSP.
    Message Edited by Robert F on 10-22-2007 11:05 AM
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments
    Attachments:
    5660 DDC.JPG ‏50 KB

  • Error 301994 using 5641R

    Hello,
    I am using a RT system implemented on a PXI-8108 controller mounted inside a 1062 chassis.
    The system also includes two PXIe-5641R fgpas boards, mounted inside the same chassis.
    I am trying to configure the IO ports of the FPGAs from the RT controller by using the library made by NI to program the 5641R boards.
    I am getting the following error:
    Error -301994 occurred at ni5640R Template.lvlib:ni5640R DAC Get Calibrated Correction Factor.vi
    I have tracked the error and it seems to come from the following subVI (provided by NI): Reed Cal Date (EEPROM).vi
    Now, what is puzzling me most is that the whole system used to work fine. I haven't turn it on for a while (6 months) and now I have got this error message.
    I couldn't find any documentation about this error message.
    Does anybody has any clue about the meaning of the error?
    Thanks

    Hello and welcome,
    The answer on your post on the winamp forum suggested installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).
    Have you tried that?
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Real Time TCP/IP communication

    Hi,
          I am using the following hardware:
         PXIe-1062Q
         PXIe-8108
         PXI-5600 (02 card for 40MHz Bandwidth)
         PXIe-5641R (both inputs are used; one for each PXI-5600)
         PMA-1115
         Labview 2009
         I am using instrument mode to detect the real time hopping signal and writing it to a spreadsheet.
         My question is that how can I transfer data on LAN in real time to create a waveform in software on a remote computer before writing it to spreadsheet.  I am looking for something like real time TCP/IP communication.I have attached my VI. Kindly guide me that how can I do this?
    Thanks and Regards,
    Rashid
    Solved!
    Go to Solution.
    Attachments:
    FOR.vi ‏54 KB

    Hey Rashid,
    Check out this tutorial with examples and let me know if it helps.
    Stephanie O.
    DIAdem Product Manager
    National Instruments

  • Modulation Toolkit not found in Speedy-33

    HI,
    I am facing a very basic problem in using LabVIEW's modulation and advance toolkits in Speedy 33.  When I open Speedy 33 environment, I am unable to find modulation toolkit on it although this toolkit is available in normal LabVIEW environment. What can be the problem and how to use these toolkits in Speedy 33 environment. Or do we have modulation toolkit available in Speedy-33?
    Thanks
    Regards

    I would take a look at the PXIe-5641R RIO IF Transciever. This sounds like it would fit what you're trying to do. Otherwise, depending on what frequency you're looking to generate/receive, you could look into some of our RF hardware or you could simply use the Modulation toolkit and use one of our arbitrary waveform generators and one of our high speed digitizers.
    Chris

  • Is real time module necessary?

    Hi,
    I want to use cRIO-9073 for simple system control. Do I need Labview Real-time module if I don't need real-time support?
    Thanks in advance.
    Karpis

    Hi Karpis,
    This is the forums for IF-RIO, which is the PCI-5640R and PXIe-5641R devices. Please post your question to the cRIO forums found here:
    http://forums.ni.com/t5/Real-Time-Measurement-and/bd-p/280
    You can get faster response to your question there.
    Best Regards,
    Jignesh P
    Applications Engineer

  • Input data format

    Hi:
    I am using ni5640r.
    1. I want to transfer an array of data which is generated by labview from host to fpga by using Invoke method (write), do I need to set up I and Q before I transfer it and which format am I using U32, U16 or I16? 
    2. In FPGA, when I read the data from host and send it to FPGA I/O node, do I need to convert it to 14 bit?
    Thanks
    Austin 

    Please refer to the Analog Input Output example which ships with the NI-5640R drivers.
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\instr\ni5640R\FPGA\PXIe-5641R\ni5640R Analog Input and Output\...
    Hope this helps!
    --Vinay

  • 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

  • Configurat​ion of RTSI_ref_c​lk for FPGA compilatio​n

    Hi All,
     I have a target VI which has a HDL Node inside it. I configured the RTSI_ref_clk using the "Compile for a single frequency" option and
    generated the bitfile and the functionality of the bit file is as expected.
     Now, I want to generate a bitfile which can work for a range of frequencies. For this, I configured the RTSI_ref_clk using the
    "Compile for a range of frequencies" option. The generic variable named Clock Frequency of the HDL Node is configured to a fixed frequency irrespective
    of the range provided. And when CheckSyntax is done, the following error is displayed.
    ERROR:HDLParsers:414 - "C:/DOCUME~1/Test-01/LOCALS~1/Temp/WBM_Tx.vhd" Line 10. The integer value of 4293967296 is greater than integer'high
    Can you provide any help to resolve this issue. Please its urgent
    Regards,
    Raj

    Hi all,
       Did anyone tried using the "Compile for range of frequencies" option in RTSI_ref_clk properties window?(Under Clocks of FPGA Target - PXIe-5641R)

  • 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

  • NI PXI-5105 FSK Demodulation

    I'm able to sample an FSK waveform (2MHz and 1MHz carrier frequencies with a 115200 baud signal) with my PXI-5105 Digitizer.  I'm now trying to demodulate that signal back into a binary stream.  Below is an image showing my front panel.
    I originally wanted to use the Modulation Toolkit FSK demodulation block, but I then noticed it (I believe) requires IQ, and is used with the RFSA blocks.  What's the best way to go about decoding this FSK signal back into binary?  Below is my block diagram.  I've also attached my VI (requires Modulation Toolkit).  Any help is appreciated, thanks in advance!
    Attachments:
    FSKDemod.vi ‏36 KB

    Hi,
    You should be able to find that file under this file path:  C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\Modulation\Digital\Support\Controls
    I've also attached the file in case you don't have it.  
    Regards,
    Marcus M. 
    Marcus M.
    PXI Product Support Engineer
    National Instruments
    Attachments:
    CPM System Parameters.ctl ‏7 KB

Maybe you are looking for