PXIe-5672 + RFSG NIRFSG_ATTR_UPCONVERTER_GAIN + NIRFSG_ATTR_DIGITAL_EQUALIZATION

I was using the RFSG+FGEN drivers to create a RF signal at 2.3Ghz with 12.5Mhz of Bandwidth. When I looked at the spectrum, the power of the signal seemed it was not equalized (variation of +/- 1.5dB along the 12.5Mhz BW). So, I tried to use the "NIRFSG_ATTR_DIGITAL_EQUALIZATION_ENABLED" attribute, but this attribute is not available when the RFSG is initialized in "UpconverterOnly"
mode.
So, I decided to use RFSG only to create my RF signal, and enable the attribute "NIRFSG_ATTR_DIGITAL_EQUALIZATION_ENABLED".
I used niRFSG_InitWithOptions("RangeCheck=1,Cache=1,DriverSetup=AWG:AWG");
The signal on the spectrum was much better (Variation of +/- 0.5dB along the 12.5Mhz BW).
But now I have a new problem: I can't change the power of the signal during the
generation state. The function niRFSG_ConfigureRF returns the error "Operation failed because the signal generator is not in the Configuration state". I used to be able to change the attribute "NIRFSG_ATTR_UPCONVERTER_GAIN" during the generation when I used the "UpconverterOnly" mode.
My question is:
How can I use the attribute "NIRFSG_ATTR_DIGITAL_EQUALIZATION_ENABLED" AND be able to change the power while generating, on a PXIe-5672?
I'm using RFSG 1.4. Would it be possible on a newer version of RFSG?
Serge Malo, ing.
Concepteur logiciel
Software Developer
T (514) 842-7577 x648 | [email protected]

Hi Doug,
Thanks for your answer.
This is a bit "sad". I mean, I used to be able to change the Power of the 5672 during the generation state, because I used to initialize the RFSG session with the option "DriverSetup=UpconverterOnly:1".
But now, since I need to be able to use the attribute  "NIRFSG_ATTR_DIGITAL_EQUALIZATION_ENABLED", I can't initialize the RFSG session with this option. So now, I lose the flexibility of being able to change the power "live".
I was wondering if there was a work-around for this. Something like enabling the equalizition through an option passed to the niRFSG_InitWithOptions function, along with the "DriverSetup=UpconverterOnly:1" option.
Or if this is really a limitation of the 5672 Hardware.
Serge Malo, ing.
Concepteur logiciel
Software Developer
T (514) 842-7577 x648 | [email protected]

Similar Messages

  • PXI 5673 RFSG WriteScript Issue

    I generated niRFSG.mdd and implemented MATLAB code to do the same thing as the ScriptTrigger CVI code. However, an error occurs when calling
    invoke(sig_gen.GenerationConfigurationScripting,'writescript',waveformscript)
    NI PXIe-5673E
    The instrument returned an error while executing the function.
    You cannot set the Power Level Type to Average Power in Script Mode. Either change the Power Level Type to Peak Power or use the Arb Waveform Mode.
    The instrument returned an error while executing the function.
    You cannot set the Power Level Type to Average Power in Script Mode. Either change the Power Level Type to Peak Power or use the Arb Waveform Mode.
    Error using icgroup/invoke (line 93)
    The instrument returned an error while executing the function.
    The AWG reported the following error:
    Error in niRFSG_test (line 66)
    invoke(sig_gen.GenerationConfigurationScripting, 'writescript',waveformscript)
    First of all not sure why I'm getting the Power Level Type warning since I'm actually using Peak.
    invoke(sig_gen.Generationconfigurationconfigurewaveform,'configurepowerleveltype', 7001) % 7000 - Average, 7001 - Peak
    I look into the second issue (script issue) and it seems like inside the .mdd generated code is not working correctly. When I replace invoke(sig_gen.GenerationConfigurationScripting, 'writescript',waveformscript) with my own local function call (by copying the actual writescript function from .mdd to a.m file scripttest(sig_gen.GenerationConfigurationScripting, waveformscript)
    It seems like the problem is right here:
    status = calllib(libname,'niRFSG_WriteScript', session, Script);
    I noticed the same calllib is done for other niRFSG functions and it works but for the WriteScript it does not. Please note that the same call in C or C# works great.
    I have been talking to mathworks support about this issue. They are still investigating. But since the instrument is generating this error, The instrument is informing through NIRFSG driver that the power level is set incorrectly, but most likely this error is regarding some other parameter set out of range. Perhaps this is causing the issue with the writescript. Can you provide any support to figure out this issue?
    Thanks!

    iam sending PN sequence or user defined pattern 01010101 
    the received is not as the transmitted 
    here i attach the code
    Attachments:
    MT RFSG Generate PSK.vi ‏53 KB
    MT niRFSA PSK Demod.vi ‏89 KB
    PN_Sequence_09.txt ‏2 KB

  • External trigger on PXIe 5672

    Dear all,
    I have two questions on 5672:
    1.Is script the only way to control a external tigger?If not,What are other methods?
    2.How can I konw a external trigger comes through LaBVIEW,or in other words,Is it possible that LabVIEW will get a signal when a external trigger comes.
    Waiting for your replies.
    Oshirs

    The 5672 supports two types of triggers:
       1) start trigger
       2) script trigger
    I assume you need more than just a simple start trigger.  To answer your question, yes, you must use a script in order to use script triggers.
    Once you initiate a script, there isn't a way to query the device to figure out which script instruction the device is currently executing.  Of course, if you can control the external trigger in LabVIEW, then you should know where in the script the 5672 is at.  So you may want to pursue the problem from that end.
    Hope this helps!

  • Synchronis​e NI-RFSG / NI-RFSA with NI-TCLK

    Is it possible to synchronise NI-RFGS and NI-RFSA devices using the NI-TCLK library?
    I have a PXI system with a PXIe-5672 waveform generator / upconverter and a PXI-5661 downconverter / digitizer.  I would like to synchronise them so they start transmitting / recording at the same time.  I believe in general the NI-TCLK library can be used to achieve this?
    I can't wok out how to use it.  The "niTCLK configure for homogenous trigger" vi takes an array of "sessions", however I don't have "RFSA Get Session Reference" or "RFSG Get Session Reference" functions.
    Is it possible to use the NI-TCLK library with RFSA and RFSG? If so, how do you configure it?
    Thanks in advance
    David
    Labview 8.0 / Windows XP 

    I have attemtpted to synchronise transmitter and receiver using the TCLK library and the  RFSG get Fgen session / RFSA get Scope session vi's. Both RFSA and RFSG have been initialised and have no start trigger set, and neither have been started.  Their session references have been wired to a niTCLK configure for homogenous triggers vi.
    However when I run TCLK synchronise or TCLK initiate I get the following erors.
    Is it possible to use niTCLK with the digitiser in DDC mode?  When I do not synchronise the RFSA (so only the RFSG is connected to the TCLK configure and initiate) I do not get the errors, but obviousy the RFSG is only synchronising with itself
    niTClk Initiate.vi:1<append>
    <B>Session index (starts at zero): </B>1
    <B>Error reported by the instrument driver: </B>
    TClk synchronization is not currently supported with the DDC enabled.
    Device: PXI1Slot5
    Property: Min Sample Rate
    Invalid Value:  1.0e6
    Maximum Value:  100.0e6
    Status Code: -214237
    niTClk Synchronize.vi:1<append>
    <B>Session index (starts at zero): </B>1
    <B>Error reported by the instrument driver: </B>
    TClk synchronization is not currently supported with the DDC enabled.
    Device: PXI1Slot5
    Property: Min Sample Rate
    Invalid Value:  1.0e6
    Maximum Value:  100.0e6
    Status Code: -214237 

  • RFSG ARB double-buf​fer implementa​tion

    I have a PXIe-5672 that I am using to generate a CPFSK waveform. What I would like to implement is a 2nd buffer type function, so that I can update the 2nd buffer, while the first is being transmitted, and then instantaneously switch the buffers, so I don't have abort and re-initialize the RF generation.
    All of the examples I've been able to find use "scripting' as a away of switching between to ARB buffers, but none of them will allow the switching to occur without stopping the generation if you need to modify the second ARB buffer's content. 
    If there is an example of how to do this buffer updating/switching, could you please point me to it.
    Thanks.

    Hey ATE_Dude
    For the 5672, you will not be able to modify a waveform on-the-fly while generating another one. Take a look at the state model for your device (top graph):
    http://zone.ni.com/reference/en-XX/help/371025M-01​/rfsg/ni_5670_programming_state_model/
    If you want to write a waveform, you will need to abort generation to go back to the "Idle" (or Configuration) state, where you'll then be able to write a new waveform.
    Xavier
    Applications Engineering Specialist
    National Instruments

  • National Instruments PXI with IEEE 802.15.4 standard (ZigBee)

    Bonjour,
    En fait, je travaille sur  un projet qui a pour but d’implémenter un émetteur/récepteur Zigbee en bande de base reconfigurable sur la plateforme d'évaluation XUPV5-LX110T qui embarque un Virtex 5. Je suis actuellement dans la phase de test réel.
    Premièrement, Je veux envoyer mes données venant d’un pc vers un FPGA et de les recevoir (pour traiter mes signaux sur Matlab). Est-ce-que cette tâche est faisable ou non ? Y a-t-il une solution pour ça en utilisant un média de communication (la liaison série par exemple)
    Deuxièmement, Y a-t-il un équipement de mesure et de test de National Instruments à l’aide des PXI qui supporte le protocole sans fil Zigbee ou autrement la norme IEEE 802.15.4 (à savoir RF Vector Signal Generator et Vector Signal Analyzer) de la partie frontale analogique que ce soit en émission ou en réception?
    Et merci d’avance pour tout le monde.
    Hello,
    In fact, I'm working on a project which aims to implement a reconfigurable Zigbee tranceiver on XUPV5-LX110T Evaluation platform which integrates a Virtex 5 FPGA. I am currently in the phase of real test.
    First, I want to send my data from a PC to FPGA and receive it (to treat my signals on Matlab). Is this possible or not? If yes, Is there a solution for it using a medium of communication (e.g. serial link)
    Second, is there a measuring equipment and testing National Instruments using PXI which supports the Zigbee wireless protocol or otherwise IEEE 802.15.4 standard (i.e. RF Vector Signal Generator and Vector Signal Analyzer) of the analog front-end either in transmission or reception?
    And thanks a lot in advance for everyone.

    Hello,
    I am not sure what data you will be collecting, or how you intend on using the board. Perhaps you can explain your application a little bit more?
    Is the FPGA code already developed for your application with the XUPV5-LX110T board? As long as the developed FPGA code is able to communicate with your PC via whatever protocol you choose, then you can use that as a channel to send data back and forth. Since the board is capable of many different I/O connections, you can pretty much sending/receive data over which ever connection you prefer, Ethernet, RS-232, etc.
    Just to clear up any confusion, if you do not already have FPGA code for the board, this is not something you would be able to develop with LabVIEW FPGA programming. The XUPV5-LX110T board is not supported for programming its FPGA using LabVIEW FPGA. You can however, program in labVIEW to communicate data back and forth with the I/O you have chosen to connect with to your PC, such as Ethernet or RS-232, as mentioned above.
    As far as measuring equipment NI offers for testing with the Zibee (IEEE 802.15.4) wireless protocol in the PXI platform, if your application requires you to both transmit to, and received from the board, and then you would need either both a Vector Signal Generator and Vector Signal Analyzer, or a Vector Signal Transceiver. See the list below for some examples of what we have to offer.
    VSAs: NI PXI-5661, NI PXIe-5663E
    VSGs: NI PXI-5671, NI PXIe-5672/5673E
    VSTs: NI PXIe-5644R/5645R/5646R
    From my knowledge of ZigBee, you would be capable of communicating with the board using any of these devices.
    Matthew R.
    Applications Engineer
    National Instruments

  • NI VST Compatibility with RF Measurement Suits and toolkits

    Dear all
    I Hope this message finds you all well
    I need to know more about the compatibility of NI Vector Signal Transceivers (VST) with the available RF Measurement Suits.
    The below information is what I have gathered so far , since there is no compatibility chart available to help : 
    NI WiMAX Measurement suit (Not Compatible with VST):
    In the Datasheet , It is mentioned that the compatibile hardware is 
    RF vector signal generators  : NI PXIe-5673 and NI PXIe-5673E 
    RF vector signal analyzers : NI PXIe-5663  and NI PXIe-5663E )
    NI GSM/EDGE measurement Suit : (Compatible with VST).
    NI WCDMA/HSPA+ Measurement Suit  : (Compatible with VST)
    NI LTE Measurement Suit : (Compatible with VST)
    In the Datasheet of all the 3 measurment suits (they are only one Measurement suit called NI Cellular High performance Test system) , it is mentioned that they are compatible with the NI VST Hardware
    NI Wireless LAN Measurment Suit : (Compatible with VST)
    In The Datasheet of the WLAN Measurement Suit , the VST is mentioned as a compatible hardware.
    NI Bluetooth Measurement Suit : (Not Compatible with VST)
    In it's Datasheet , it is mentioned that "The NI Bluetooth Measurement Suite is a software-defined approach to Bluetooth testing. With this solution, you can generate and acquire Bluetooth signals using vector signal generators (VSGs) and vector signal analyzers (VSAs)." , No VST was mentioned 
    NI GNSS Toolkit : (Not Compatible with VST)
    In it's catalog page , nothing is mentioned but the NI PXIe-5672 RF Vector Signal Generator
    Kindly I need confirmation about the above data , since I am not sure about it . in addition , some white papers are mentioning that the VSTs can be used with the RFSG and RFSA APIs , does that mean that the Measurement suits and toolkits supporting RFSA and RFSGs only will work on the VSTs as well ? 
    Thanks in advance
    Eng. Mohammed Ashraf
    Certified LabVIEW Associated Developer
    InnoVision Systems Founder, RF Test Development Engineer
    www.ivsystems-eg.com

    Hi Mohammed,
    I've spoken with R&D and determined that the NI Bluetooth Measurement Suite is VST compatible.  The NI GNSS Toolkit is also VST compatible, but only through the VST Instrument Design Library and not through the NI-RFSG driver.  The NI WiMAX Measurement Suite is not VST compatible.  
    Hopefully this information is helpful! 
    Josh B
    Applications Engineer
    National Instruments

  • Can i get an overview of this modulation using FPGA?

    Hi,
            I am modulating a digital signal using fpga.For this I am generating the IQ symbols in fpga. For upconversion, I have NI 5672 RFSG. how do I send these symbols to multiply with carrier generated in RFSG?

    schwaijo wrote:
    Hello jschell,
    thank you for your answer.
    let me try to clarify question with a few more facts about that what i want to do.
    I saw a example where the .dll file wich should be uses has been made available with:
    System.loadLibrary("XTapi");<<and the methods that are used has been declared with:
    private native int initTapi();<< for exampleWhat i want to do is, to access the methods of tapi32.dll file of windows in the same way, but there is nowhere to find a documentation about this file.
    You have a JNI library and you are not the owner or at least you do not have the source code.
    The JNI methods in the dlls cannot be accessed via java in any other manner than what the java code of the library already does. That is because the C signature of the name depends on the java package and class names.
    As I noted you can find the methods of the dll. You could, with a LOT of work reverse engineer the dll.
    So,can anybody tell me weather there is a way in JNI to get more Informations about the methodes in that file?As I already said, there are OS specific tools that allow you to determine at least the name of the method. I suspect that is all the information that exists.

  • Generating frequency hopping signal

    I'm working with 5661 + 5671.
    I want to generate frequency hopping signal with 5671. The frequency band is 2400-2500MHz, and the hopping rate is one hop per frame (1.024ms) or 976 hop per second.
    I also need to be able to test the hopping signal with 5661 RFSA.
    Does it possible to run such hopping test with the 5661+5671?
    Thanks,
    Chen
    Solved!
    Go to Solution.

    HI
    I want to generate a hopping signal with PXI-5671 RFSG and want to analys with PXI-5660 RFSA. While seaching for the related posts i came across ur post, The frequency range in my case is between 200-300Mhz but i will use 200-220Mhz due to BW of 20Mhz...the hopping rate i wil use is very slow as compared to urs..i m trying to do this with 10-20 hops per second..
    I m new with the hardware i have used it to generate and analyz the signals but stil unable to generate the hopping signal with predefined hopping sequence and hopping rate...
    can you guide me that how to do this????or can u give me a copy of ur VI so that i can learn it from ur program and regenrate with my specs to chk weather it works or not...??
    I wil b realy thankful if u can help me in anyway....
    REGARDZ

  • Generating Multiple Modulated Signals

    I was a bit surprised I didn't see this on the forums, though I am new to the RF gear.  What I would like to do is generate two modulated signals, such as 802.15, on two different frequencies.  I am already able to create the signals individually using the modulation toolkit.  I am using a PXI-5671 RFSG.  I have found how to generate with interferance two CW tones in the examples, but do not see how to generate the two modulated tones.  I also need to be able to set one of the modulated signals to a lower power than then other.  I am trying to test adjacent channel interferance with modulated signals.  Any thoughts?
    Troy

    Hi Troy,
    There are a few tricks you can play here but
    they are completely independent of hardware and more on signal
    processing. Basically you need to write both waveforms at the same time
    with different frequency offset.
    1) Frequency Shift. Assume you
    have two completelly independent baseband signals s1[n] and s2[n]. Each
    one should be the same lenght (time duration).
    One of them will
    be transmitted at Fc and the other one at Fc + df. s1[n] remains
    unchanged and s2[n] will be shifted by df using the following VI:
    The
    trick here is to make sure that your sample rate is high enough to
    support the shifting, otherwise you will be aliasing. If you create
    your waveforms with Modulation Toolkit make sure they have enough
    samples per symbol.
    Finally you need to sum all signals s[n] = s1[n] + s2[n].
    2)
    Apply different Powers. Before you add the signals, you only need to
    scale the data correctly. To do this, I recommend to normalize both
    waveforms. This is s1[n]/max(sqrt(|s1[n]|). Thenscale the smaller power
    one. Finally, you will add them together.
    Here is a spectrum of the composed signal:
    I have attached
    an example to do this using 802.15 signals with a few modifications: I
    am not normalizing data but applying headroom to each signal and I
    hardcoded the number of samples per symbol so the maximum frequency
    offset is about 12 MHz. Should be helpful to get started.
    Message Edited by Yardov on 10-17-2008 06:05 PM
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    frequency shift.jpg ‏9 KB
    Generation Multiple Channels.zip ‏32 KB
    spectrum.jpg ‏79 KB

  • A problem when installing the RFSA/RFSG for PXIe-5644R

    When I intall the software "NI-RFSA/RFSG for PXIe-5644R",there is always a problem,that says——
    NI-RFSA Instrument Driver Support
    This installer could not detect a supported version of NI-RFSA. To develop and run applications for the NI 5644R using the NI-RFSA instrument driver, exit this installer and install NI-RFSA 2.5.2. Then, re-run this installer.
    but I surely have installed the NI-RFSA 2.5.2 before. This problem bothering me for a long time.I really want to know how to solve it.Thanks.
    Attachments:
    The problem.png ‏114 KB

    Greetings,
    I am sorry for the trouble you're having installing this software. Can you post a copy of your installation log? I can take a look at it and hopefully get to the bottom of this.
    It should be located here:
    C:\programdata\national instruments\installation logs
    Thanks,
    James D
    Product Support Engineer
    National Instruments

  • Runnig RFSG Pulsed Data.vi on PXI-5652

    HI .
    I am trying to run RFSG Pulsed Data.vi on pxi 5652 but i keep gettin the error "niRFSG Configure Generation Mode.vi<ERR>Invalid value for parameter or property."...how can i resolve it .......and my other question is that wether this card is capable of generating  arbitrary waveform......
    I am new to this card although i did take  the hands on course available on the net but i am not familiar with all the block till now.
    I also change the parameters in the VI but nothing work .
    help needed
    thnx
    Regards

    Hi,
    The reason you are seeing this error is because this example is only compatible with the 567x devices.  Running this example with the 5652 will not work because it is not meant for this type of application. You need to have an arbitrary waveform to create the IQ signal and then an upconverter to convert the signal to RF.  I would recommend to review the manual and specifications for the 5652 to understand the full functionality of the device.  The 5652 is stated as being a continuous-wave RF signal generator signal generator with modulation capability.  Do you have any other modules in your system?
    PXI-5652 Support Page
    http://sine.ni.com/psp/app/doc/p/id/psp-582/lang/en
    There are specific examples that are dedicated to just the 5652 but there are no examples of generating arbitrary waveforms.  We have specific function generators that are for that purpose.  The 5673 for example is comprised of 5450, 5611 and 5652.  The 5450 is what produces the I and Q signal to the Upconverter (5611).  The 5652 provides the LO signal to the 5611 which upconverts the IQ signal to RF.  
    What other devices do you have in your system?  What is the overall application?  If you are just starting out and want to see the functionality of the 5652 I would recommend to check out the 5652 examples in the NI Example Finder (Help>>Find Examples, search 5652). 
    Regards,
    Regards,
    Jordan F
    National Instruments

  • I want the specification manual for NI PXIe 5611

    i want the specification manual for NI PXIe 5611

    You can adjust the PXI-5610 IF input signal to fall between 15-35 MHz. The IF input range of the PXI-5610 cannot be changed from this 15-35 MHz span.
    The PXI-5610 would be controlled via calls to the NI-RFSG instrument driver for NI's RF signal generator products.
    There is no PXI-5610 only manual. The PXI-5610 is part of NI's PXI-5670, 5671, and 5672 2.7 GHz RF signal generators, whose manuals are available here:
    http://sine.ni.com/nips/cds/nisearchservlet?nistype=psrelcon&nid=13478&lang=en&q=FQL:%28%28nilangs:e...
    Regards,
    Andy Hinde
    RF Systems Engineer
    National Instruments

  • How to integrate RFSG driver with sampling theorem labview code

    hi all, 
    I got the labview code of sampling theorem from labview-> find examples. How can I integrate this code with PXI system? How can I integrate the RFSG driver with labview code?

    Hi Nieman,
    LabVIEW 2014 should be compatible with the 9068 and the cRIO 2.1 drivers.  I verified it should work as expected earlier today.  Please make sure you are using the example cRIO PN-IO Device when you are moving the module over to the new target.  If you are already accessing that, please navigate to this folder:
    <Program Files>\National Instruments\LabVIEW 2014\Targets\NI\FPGA\cRIO\other
    Please let me know if you see a CS_cRIO-PNAD folder. This folder provides all the files necessary to discover and use the module in the project.  If we do not have that folder there, we will be unable to locate the module.  If that is indeed the case, then it may be the driver did not install correctly.  
    If after finding this folder and it is still not working, please send me screenshots of the error that you are seeing and a MAX Technical Report.  Thanks!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Use hardware to generate a certain number of pulses using PXI-5652

    Is it possible to generate a certain number of periods (turn on the output for a predetermined amount of time using hardware with micro-second resolution) using the PXI-5652.

    Hello Matt,
    If you had a Vector Signal Generator, this would be more controllable using something similar to this forum.
    Otherwise, the only way to control time on the 565x would be to use OOK modulation scheme. This will allow you to turn on the signal for a little time On and Off.
    There is a shipped example called "565x Digital Modulation.vi" (on versions 1.3 and later of the RFSG driver) that can perform this task. Basically it uses the function named "niRFSG Configure Digital Modulation User Defined Waveform.vi" to write the user bit sequence and with property nodes you will configure the OOK scheme and the symbol rate (refer to specifications of your card for the possible values).
    Hope this helps,
    Gerardo O.
    RF Systems Engineering
    National Instruments

Maybe you are looking for