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

Similar Messages

  • Why modulation and demodulation with PXI-5673 and PXI-5663 was wrong%3F

    iam using PSK-demodulation-modulation  example found in find examples to perform modulation-demodulation for the transmitted signal iam using PXIe-5673 and PXIe-5663 as VSG-VSA 
    i found that the received bits not as the transmitted bits any help in this issue

    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

  • 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]

  • PXI 8430/8 Com Issue

    Hi all , 
    I Have a strange problem, with my 8430/8 PXI Card , In the begging I've entered it to slot 5 , 
    The card was identified and set coms 3-10 to it's com ports.
    Then I transferred it to Slot 6 and the card sets it's coms to 11 - 18 , and while doing so he did not deleted coms 3 - 10.
    I've tries to change it manually thru the Device manager but the computer says the coms ( 3-10 ) are in use !
    Any idea's ?
    Kobi Kalif
    Software Engineer

    Can you see these ports listed in Measurement and Automation under Serial and Parallel? Can you post a screenshot of that screen? It might be that the system is looking for the disconnected module there.
    Product Support Engineer
    National Instruments

  • Pulsed Multitone Signal for RFSG

    We tried combining the sample codes provided with NI LabVIEW 2013. We tried integrating the RFSG Pulsed Data VI and the RFSG Multitone - Uniform Spacing VI, and we seem to be producing noise.
    We're currently using a single RFSG (NI PXIe-5673) and a single RFSA (NI PXIe-5663) in an 18-slot PXI chassis (PXIe-1075). Since we are pulsing the Multitone signal (in this example, a dual tone), the received signal is not we're expecting.
    Attached in a zip file are the reults and the codes that we've used. The signal was transmitted using the Pulsed_Multitone VI and was received and analyzed using the RFSA IQ Graph VI. What are we doing wrong? Or is there a better way to do it?
    Attachments:
    RFSG-RFSA Files.zip ‏117 KB

    Hi,
    Thank you for including the screenshots. I think the first thing to try would be running a simple test in the Soft Front Panels with a single tone to see if you see the same behavior. If you are able to run this successfully, try a multitone in the SFP. This will help us determine if it is a hardware or software issue. Please feel free to upload screenshots of these tests and I would be happy to take a look.
    Best regards,
    R. Brill
    Applications Engineer
    National Instruments

  • PXI 5611

    Hi,
         I have a set of RFSG with PXI 5611 as the RF signal generator. What types of antenna should I choose for the port of "RF out" at pxi 5611? Should I provide DC power for it? Do I have an option to control the DC output at RF out port of PXI 5611?
    Thanks

    Hello Long,
    For deciding on an active or passive antenna, we need to know the transmit power need for the wireless communication to work properly. Looking at the specifications of the PXIe-5673 on page 21, the maximum output power is Noise Floor (-152dBm/Hz) to 10dBm. What is the maximum output power need for transmitting your signal?
    If you need more power, we have a RF amplifier, PXI-5691 8GHz Programmable Amplifer, that can output up to 24dBm. Will this be enough output power to transmit your signal? If it is, a passive antenna can then be used for your applicaiton.
    Even though the PXI-5691 provides a lot of flexibility, it might not be the best option for your application if you just need a fixed gain. For this case a active antenna would be a better option. Again, like I said above, it will be imperative to ensure that the impedances are matched. Looking at the VSWR specs for the PXIe-5673 on page 22, it states how much reflections you can have due to impedance mismatch.
    I hope this helps you with selecting a passive or active antenna.
    Jim St
    National Instruments
    RF Product Support Engineer

  • Is there any limitation for PXI 5670 to generate QPSK signal?

    Hi,
    I would like to select PXI 5670 to generate the QPSK signal in my system. How does is it make the QPSK modulation?As I understand, QPSK modulation would need to have two AWG to generate the I and Q signal. See below:
    But PXI 5670 only integrated one AWG (PXI 5421). So how does it make the QPSK modulation? 
    Do I need to download the user−specified baseband IQ waveform into the memory first,then playback it to generate the IQ signal and then upconvert it to the desired QPSK signal? if yes, the playback time will be limited by the onboard memory size. Even if I select the one of 256 MB of onboard memory , it can only 1.28 seconds of waveform data at the default sample clock rate of 100 MS/s.  Does it means the QPSK signal can only apear within 1.28 seconds? That's definitely not enough for me.
    I am not sure if my understanding is correct or not. Any reply is appreciated.
    BR,
    Ivan Chen
    Solved!
    Go to Solution.

    Hello Ivan.Chen,
    This is correct given the PXIe-5611 performs the complex modulation and direct upconversion in the physical analog domain. Typically, you will still be generating your waveform in software based upon I and Q however. The real I waveform will be generated on channel 0, and the real Q waveform will be generated on channel 1. The I and Q analog waveforms will then be modulated in a quadrature fashion and generated at the appropriate RF frequency.
    The fundamental difference between the PXI-5670 and PXIe-5673 is that your the PXI-5670 eventually needs to received a waveform at full rate (100 MS/s) which has already been complex modulated while the PXIe-5673 only requires two real waveforms, I & Q, which can be at streamed to the device at a decimated rate since the onboard signal processing supports interpolation. This allows the PXIe-5673 to be an ideal streaming platform. It is also much faster in regards to tuning, and is capable of a 4x instantaneous bandwidth improvement - the PXI-5670 is 20 MHz, while the PXIe-5673 is > 100 MHz in bandwidth.
    Check out the specifications for the PXIe-5673 for more detail on the overall device, as well as the PXIe-5450 specifications for more detail on the onboard signal processing capabilities.
    Chris Behnke
    Sr. RF Engineer
    High Frequency Measurements

  • NiRFSG_CheckGenerationStatus fails periodically

    Hello:
    I keep observing this strange effect once in a while with my 3 channel PXI-5673 system. Just to make it clear - I have yet to find a way to reproduce this problem.
    NI-RFSG 1.6.3.
    There are three generators, daisy chained. I set them to generate the same file continuously for 1000 repetitions. Then after some delay I check the completion status with niRFSG_CheckGenerationStatus on all channels. In a normal case I would get 1,1,1 - i.e. all generators finished generation. However, sometimes the instrument returns 1,0,1 - i.e. the second generator didn't finish generating even though the other two did. The status of the generation flag returned by niRFSG_CheckGenerationStatus never changes. Also, niRFSG_CheckGenerationStatus never returns an error.
    Any suggestions on what might be causing this error?
    Thank you,
    -Ilya.
    Attachments:
    Capture_RFGEN_2chan_complete_tmo.spy ‏946 KB

    Hi Dan:
    It happents perhaps every 50 times. Sometimes several times in the row.
    In my code I have a loop that repeatedly generates the same waveforms on all three generator boards at different power levels. I have the same delay after which the code will start checking the completetion status.
    As a result, I have a reason to believe that the actual generation is done and that the driver doesn't return the completion status for all cards. The completion status is '1' for two of the three instruments. It is '0' for just one of them.
    Let me know if you need more information.
    -Ilya.

  • 5450 Test Panel error

    Hello,
    I am trying to execute a vi using PXIe 1065 with NI 5673 RFSG and NI 5663 RFSA. When I try to test NI 5450, using MAX, it passes self test but upon clicking the Test Panel and running it using start, the sine wave isn't running and I donot get an amber light on the device's LED? Also after some time i get the timeout error!
    Please help.
    Regards,
    prads 

    Hi Prads,
    First, make sure you have configured the PXIe-5611 Properties page, setting the PXI-5652 as the LO source and the PXIe-5450 as the baseband arb.
    Next, make sure there is a cable running from the PXI-5652 REF IN/OUT to the PXIe-5450 CLK IN, assuming you are not trying to lock the PXIe-5673 to an external 10 MHz reference.
    Also try running self teston each of the three individual modules, and try Test Panels on the PXI-5652 and PXIe-5450 individually to see what happens.
    Let us know what you find. Also, if you can post a screenshot of the error if you are still receiving one that would help.
     Thanks,
    Andy Hinde, MBA
    Systems Engineering - RF
    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

  • LabVIEW simulated drivers - WiMAX

    Hi Everyone,
    I am new to LabVIEW ... and I am trying to understand the extent of the functionality of the simulated drivers.    Do these drivers generate some random test data that can be used to drive the analysis stage when developing new VIs without the hardware?  
    Also, I am interested in the WiMAX toolkit ... does anyone know who to create a simulated driver for the PXIe-5663 and PXIe-5673 ? I would like to evaluate the toolkit before we look to acquire the hardware.  I have downloaded the full Feb 2013 drivers and installed all the RFSA and RFSG drivers which I understand influences which drivers you can simulate.    Under MAX, I only see lower series 5600 hardware (RF downconverter, etc) but no vector signal analyzers, etc.   How would I get the 5663/5673 modules to appear under the RF devices group in the simulated driver option of MAX?
    Thanks in advance !
    Mike 

    Hi Mike,
    I'm going to go at these in reverse order, to simulate the 5663 you have to simulate each part and then configure them as one device. So you would follow step 2 here to simulate a device and choose the 5601, 5652, and 5622 under the RF Devices heading, After that you have to go through Associating the Devices in MAX and you should be all set for measurements.
    As for the data that you'll be receiving back, the simulated devices will generally read in a fake sine waveform for the AI channels and digital ports will count up, for instance going 0 to 255 for an 8 channel port. That way you see varying data that will let to do some analysis and make sure the software works. With a configured simulated VSA like the one I described creating above, you'll see a two tone signal around your configured center frequency. So if you are going to test with the WiMAX toolkit you won't necessarily be able to get a simulation of real data, but you should be able to make modifications to the example programs to see if they would throw any errors during operation, and once the real hardware arrives you can test the code for validity.
    I hope that helps and let me know if you have any further questions or need clarification on anything above.
    Best Regards,
    Peter W.

  • Communicat​ions link test system (BER measuremen​t)

    I am currently brainstorming ideas on how to create a bit error rate (BER) measurement system across an ethernet communications link. What I have been thinking of doing is, using shift registers and some logic gates to create a pseudo-random bit sequence on the transmitting side. This sequence will then be sent across the ethernet via UDP (not TCP since I want errors to occur at other end), and received and compared with a locally generated PRBS. I just wanted to know what kind of difficulties might I face (such as synchronization issues, protocol issues, feasibility, etc.) and if there may be a better method to accomplishing such a test system from someone who may have had experience with this. The point of this is to test a wireless 802.11a/g network injected w/ noise. Any suggestions would be much appreciated.
    Thanks,
    nilak

    Hi Jerry,
    Thank you very much for your reply.We are trying to introduce PXI solustion for semiconductor test for the production test. If the PXIe-5673 is capable of testing the IIP3, we would not willing to add one more signal generator.Because,you know,the test cost is very sensitive for the production test. The following is the test specification of DUT. Would you help to have a look?
    Parameter
    Condition
    Frequency
    Min.
    Typ.
    Max.
    Unit
    Intermodulation intercept point (IP3)
    Two-tones 900 MHz, 5 MHz spacing
    +10 dBm each tone
    0.5–3 GHz
    46
    dBm
    As I can see from the datasheet of 5673:", NI PXIe-5450 is capable of producing more than 100 MHz of RF bandwidth". For the frequecy,I think it should be able to generate two-tones 900MHz with 5MHz spacing.Is it? But I am not quite sure about the Intermodulation Distortion (IMD3) of the PXIe-5673's signal if we generate it in this case. Do you have any information I can refer to?
    It will be highly appreciated if you can give some suggestions on it.

  • Share clock between two Local Oscillators

    Hi,
    I am using PXIe-5673 and PXIe-5663 for my project. I want to synchronie the two local oscillators (5652).
    Can I connect the CLK OUT terminal of the digitizer (5622) to the CLK IN terminal of the IQ Signal Generator (5450)? This way the Local Oscillators of 5663 and 5673 will share same clock.
    Can someone please let me know if I can follow this approach?
    Thanks so much
    Sharmi

    Hello Sharmi,
    To synchronize the 5663 and 5673, we generally use the internal clock on the 5652 for both the VSA and VSG.  Essentially, you need to connect your hardware as shown in this diagram:
    And you need to make sure that you export the reference clock from the VSG to the VSA:
    Thanks for the question,
    Lisa Jiang
    National Instruments
    Applications Engineer
    National Instruments

  • 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

  • 10 KS/S data for 28 Channels

    Hi All,
    From the field I have 28 channel sensors data, the data rate is 10KS/S for each channel.
    I have to store field data upto 3 Month to generate the historical reports or to analysis the field conditions.
    The data is very huge so i want some suggestion from you all to store this much of data techinique or prefered way to store this much data.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!
    Solved!
    Go to Solution.

    Thanks for your suggestions.
    The project requirements are already define by the costumer. The costumer wants complete 10K data of all 28 channels. He can't afford the less sample rate or data loss.
    I tried with TDMS file to store 10 KS/S (SGL Format) data for 28 channels(Sine Wave); the file size is around 3.5 GB for 1 hour. The complete day data come around 84 GB, I am not sure about the TDMS file size this can support upto this much of file size, if this not support then again I have to save complete day data in set of bunch of TDMS files. Now if costumer want to see complete 1 hour data report in graphical or tabular format the task to perform the action takes around 2-3 minutes or some time it come up with some error like "Not Enough Memory". So in the end of the day if user want to see the complete day report how I can provide the report that have such kind of huge data.
    I am using PXI RT system with some local hard disk. The PXI always have 7 days data as an backup or in case of connection failure with server the data backup is in PXI.
    So my issue now same what database or file format i have to chosse to store complete data.
    If there is any techinque to compress the data please suggest me.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

Maybe you are looking for

  • Determinação de contas - Imobilizado em andamento

    Olá! Executamos o programa de depreciação e surgiram os seguintes erros para imobilizados da área CIAP. Erros: 1)  Pede para informar "conta de depreciação normal" ; 2) "conta de despesas" Como conta de depreciação normal informei "ICMS sobre ativo",

  • Cannot open prores 422 in AE or Premier CS5.5

    I have provided footage to colleagues in India. The footage is  ProRes 422 files. They work on PCs using windows 7. They say that they cannot get the clips to open in Aftereffects or Premiere 5.5. (Sorry I do not know the exact version of 5.5) I too

  • How do I integrate BDS into standard transactions?

    Dear all, I'm facing a new challenge here as the design guys want the BDS functionality that is e.g. available in transcation WTY available in some other standard transactions. Has anyone ever done this? Do I need to copy the standard program and tre

  • Printing Apple Mail messages: can date headers/footers be printed?

    Hi Folks, When printing an email from Eudora, nice headers & footers are added containing the name of the person printing, as well as the date it was printed, and to whom the printed email was from. Can headers & footers be added to print jobs from A

  • Changing pageheader

    Hi, I have a subreport I use for pageheader on many reports. It's made up of a number of detailsections of which some have to be suppressed, I use a boolean for this. On the actual report I have a group per user. The pageheader(subreport) has to be f