FGEN error -107411589​6

Can anyone please explain the error listed below? I'm using the PXI-5761 and the NI streaming API to stream float 32 IQ files. I've added code to the API to modulate the data while streaming. My options are no modulation, AM, or FM. I can stream the files perfectly with the selections of no modulation, FM, and AM-DSB. However, whenever I select AM USB or LSB I receive the error below. I've checked all of my array sizes when writing to the hardware and they are the same for all of my modulation selections. I've even tried setting the write location of my waveform handle manually to the start but I still receive this error.
"Error -1074115896 occurred at niFgen Write Waveform (Complex DBL).vi:
Possible reason(s):
Driver Status:  (Hex 0xBFFA4AC8) DAQmx Error -200311 occurred:
Measurements: You cannot write data outside the boundaries of your waveform.
Make sure you are not trying to write more data than your waveform can accomodate and that your write location and write offset are set correctly.
Status Code: -200311"
Thanks,
Tim S.
Tim Sileo
RF Field Account Specialist
National Instruments
You don’t stop running because you get old. You get old because you stop running. -Jack Kirk, From "Born to Run" by Christopher McDougall.

Hi Chris,
I'll try to keep that in mind as it wasn't something I was really checking for in my code. However, just to experiment, I played a couple of files to get exact numbers on block sizes and such. It's not really possible for me to post code that would make any sense but I'm still basically following the ni.com/streaming API. I've just added AM and FM modulation to the incoming data from files. Anyways, here are some numbers for you that might make more sense of things.
My block size for writing samples to the Arb is initially 16384 samples. I needed to add upsampling for very low IQ rate files so I have an upsample factor that varies based on the sample rate of the file. For my test file the upsample factor was 5. So I am always writing to the arb with (16384)*(5)=81920 samples/block.  I set the number of blocks to be 5 so that the buffer size when I use the niFGEN Allocate Waveform VI I set the buffer size to (81920)*(5)=409600 samples. I'm writing to the arb using Complex Double data type for a total of 16 bytes in each IQ pair. So, after doing a manual math check It seems like I am writing to the arb as you've detailed. The only time I would expect to see that error is at the end of a file when the number of samples remaining does not equal the block size that I set. But I'm seeing the error long before the end of the file and only when I use AM-SSB. Playing the file out with no modulation, FM, and AM-DSB all work fine. What baffles me the most is that I'm always writing 81920 IQ samples to the arb regardless of modulation type.
(Just for more background information)...Using the same file I prime the arb with 409600 samples before I even start generating RF. Then, after initiated, the code checks to make sure that there is greater than 81920 samples of space available in memory before writing another block.
Let me know if you have any other thoughts,
Thank You,
Tim Sileo
Tim Sileo
RF Field Account Specialist
National Instruments
You don’t stop running because you get old. You get old because you stop running. -Jack Kirk, From "Born to Run" by Christopher McDougall.

Similar Messages

  • I'm getting an error Starting up FGEN-SFP

    I'm getting an error starting up NI-FGEN Soft Front Panel v1.4. On the splash screen that starts up with the application, in the midst of loading NI configuration manager, the following error appears: "NI-FGEN for DAQ 2.0.0 or higher was found, but it could not be loaded. To run this software you need NI-FGEN for DAQ 2.0.0 or higher"
    I'm running on Win 2000.

    It sounds like there may have been a problem with the NI-FGEN install. I would suggest re-installing the NI-FGEN driver and seeing if that clears up the error.
    Here is the link to the 2.1 driver.
    NI-FGEN Version 2.1 for Windows 2000/98/ME/NT/XP
    NI-FGEN Version 2.2.1 for Windows 2000/NT/XP
    EvanMessage Edited by Molly K on 02-18-2005 11:58 PM

  • Error 9320 occured at ni elvis fgen-close.vi

    Are there any new fgen vi's to be used with  m-series 
    boards? I'd earlier got  new example vi's including rc
    transient.vi  which have vps vi's in them I'm getting error 9320
    with ni elvis fgen-close.vi . please help

    Thank you for contacting National Instruments.
    NI ELVIS 2.0.1 and later added support for National Instruments M Series devices. I recommend downloading and installing the latest version of NI ELVIS (currently 2.0.5).
    Michael P
    National Instruments

  • Odd error originating from NI-5411 (Error code: BFFA0002) when trying to load arbitrary waveform

    Hello everyone. 
    We have some equipment (PCI NI-5411) that is misbehaving in an odd and new way. When trying to load an arbitrary waveform onto the AWG (using a library call to the "niFgen Write Binary 16 Waveform"), it produces an error. The error code is "BFFA0002", but I haven't been able to find any information that can show what this error code provides. Previously, we had some problem when the system wouldn't find the file and produces an error even though the file is there. After changing our code so the file access is attempted several times, the problem was resolved. However, that doesn't work in this case and we do not know here the problem is.
    This is a pretty much shooting wild and hoping that something falls down, but if anyone could provide me with information about the error code or another probable error source I would be highly grateful.
    Thanks in advance!
    With best regards,
    Niclas

    Hi Niclas,
    That error code suggests that a file cannot be opened. This error is defined in IVI as  IVI_ERROR_CANNOT_OPEN_FILE.I don't think we return this error code from the NI-FGEN driver.
    You mentioned that you have an issue with finding a file. Is that file specific to your application? How is it being open or used? What API do you use to open that file?
    For NI-FGEN specific error code (and generic IVI error codes), you can query the error message by calling niFgen_error_message function or niFgen Error Message.vi.
    Thanks,
    - Liusdi

  • Reading Waveform (.hws) files from Analog Waveform Editor into LabVIEW causes read errors

    Hi Gang,
    In my application, I want to create files Using the Analog Waveform Editor and then, through LavVIEW, play them out through an D/A.
    I've not been able to read the .hws file into LV.  I've tried two methods:
    Using the Read Waveform VI in the Waveform palette, yields Error -1821.
    I looked in the knowledgebase and found the article "Using the Analog Waveform Editor and HWS Files with Multifunction DAQ Devices"  That recommended using the HWS VIs that are a part of the FGEN driver.  I tried that and get an Error -21515.
    The file I want to read is quite small, only 20 samples.  Is there some limitation on .hws files or the Waveform Editor I'm not aware of?
    I've attached the file if anyone is willing to experiment. I had to change the extension from .hws to .txt to be able to attach it.
    All responses will be appreciated.
    Thanks,
    Roger
    Solved!
    Go to Solution.
    Attachments:
    Havesine.TXT ‏108 KB

    Interesting. I tried to look at your file with the low level read .hws file vi's and I too got error -21515. So I tried the NI-HWS express load.vi and it looks like it worked. I'm not familiar with the analog waveform editor...does it store using the dynamic data type? Oh I converted the dynamic data to 1d array of waveforms using the convert from dynamic data.vi.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • How can I make the marker event pulse width longer in NI-FGEN?

    I want to generate a marker event on PF0 line using NI-FGEN.I can set the marker event pulse width but when I was trying to make the pulse width units as 65 I was getting an  error-1074115931. 
    How can I make the marker event pulse width longer without using script as I am using PXI-5412 which is not supporting Script.
    Can anyone help me out in doing the same?

    Unforunately, as you mentioned, the PXI-5412 does not support scripting mode. This will limit you to 1 marker using sequence mode. However, the PXI-5421 and PXI-5422 would allow the functionality. 
    As far as making the pulse width longer, and as the KnowledgeBase Article that you linked to discusses, I don't think it will be possible to create a marker as long as 1us - 10ms using just the Marker properties and without using scripting. You can still try to do this with property nodes and see if you can get a usable result. Start with an example such as "Fgen Arb Waveform Marker" and use the "Marker Position" value to set the start time (you would want 0 here it looks like), and then "Marker Event Pulse Width Value" to change the pulse length, but again I am afraid you will probably reach the maximum of 640 ns here. If you're not able to get this going with the property node, you will need either a FGEN card that supports scripting or another card that does Digital I/O to accomplish this. 
    Thanks!
    Stephanie S.
    Application Engineer
    National Instruments

  • Measuring with both channels of virtual bench simultaneously in labview, error 375903

    Hi, I am trying to perform two measurements simultanously using both channels of the Virtual Bench's analog input. I have selected MSO channel 1 and 2 for the measurements yet I am getting error 375903 returned evewry time saying the resource requested is reserved. I am not running any other software that should be using the virtual bench. The error occurs when I am initializing the session, before a measurement has even been made. Can someone tell me how to call each channel so that I am not getting this resource reservation conflict?
    I have included the VI and a screenshot of the error.
    Thanks!

    NGKai wrote:
    Hi, I am trying to perform two measurements simultanously using both channels of the Virtual Bench's analog input. I have selected MSO channel 1 and 2 for the measurements yet I am getting error 375903 returned evewry time saying the resource requested is reserved. I am not running any other software that should be using the virtual bench. The error occurs when I am initializing the session, before a measurement has even been made. Can someone tell me how to call each channel so that I am not getting this resource reservation conflict?
    The MSO only supports a single instrument session, and your VI uses two. To use both channels, remove the second MSO session and specify both channels in the MSO Configure Analog Channel.vi
    Here is an example that uses both scope channels:
    VirtualBench: Bode Analyzer With the FGEN and MSO
    http://www.ni.com/example/52076/en/

  • Fgen Arbitrary Waveform example not working

    Hello,
    I'm using an example for NI FGEN - "Fgen Arbitrary Waveform". I want to enable digital filter, but there is an error occures. What should i do to fix this error?
    Attachments:
    1.png ‏57 KB
    2.png ‏70 KB

    bahec666,
    What FGEN model are you using? Please refer to the Signal Sources help file to see if your model of FGEN supports digital filtering.

  • Calibration Executive error during PXI-5610 sequence.

    When running the PXI-5610 procedure in Calibration Executive, I get the prompt "NI-FGEN Create Arbitrary Waveform - Cannot write Real data when Data Processing Mode is Complex. Disable OSP or set Data Processing Mode to Real."  The procedure the errors out with the same message when I click 'Continue'.  I am using the NI PXI-5441 AWG (in place of the NI PXI-5421), but it is a selectable source during the initial configuration of the sequence.
    Am I missing something?  Am I doing something wrong?  Is there a hiccup in the Calibration Executive software when PXI-5441 is selected?
    Any help would be appreciated.

    Hi DaRock,
    We do not recommend making any changes to any of the test code for calibration as these may cause problems in your test sequence. We are still currently looking into the issue, however, in the meantime, if you would like to try and experiment some changes in the test code, please make sure to backup any original versions of the files you edit so you can load them back in they cause any problems.
    Just for your information, in a standard NI-FGEN application, you can manually disable OSP by accessing the OSP Enabled property from the NI-Fgen property node under Arbitrary Waveform Output»Onboard Signal Processing.
    Regards,
    S_Hong
    National Instruments
    Applications Engineer

  • Error 1603 during uninstall

    Hello,
    During install of LabVIEW 2013 somehow I corrupted my istallation of the LabVIEW development system. (Might have been becasue I installed 64-bit ahead of 32-bit??) Anyhow, decided to uninstall everything. Unfortunately I cannot uninstall some of the share components there are 11 parts of the uninstall which generate error 1603:
    1.NI-SCOPE Run-Time 3.9.4 (64-bit)
    2. NI-RFSG Run-Time 1.8.5 (64-bit)
    3. NI-HSDIO 64bit Driver 1.8.3
    4. NI-FGEN Run-Time 2.9.1 (64-bit)
    5. NI-DMM 64bit Driver 3.0.6
    6. NI-DIO 64bit Driver 1.8.1
    7. NI-DCPower 64bit Driver 1.6.4
    8. NI-RFSA 64 it Driver 2.5.5
    9. NI-VISA x64 support 5.2.0
    10. NI-Switch 64 bit Driver 4.5.5
    11. ... on the 11 part the unistall just ends.
    Really stuck here - theLabVIEW 2013 installation fails and I cannot finish the uninstall. For info: I did install LabVIEW 2013 on a second computer and everything went fine so its appears to be an unique situation.
    - Troy

    Ok. You can try the freeware version of Revo Uninstaller HERE It has worked for me in the past.  Make sure you create a restore point first as the software will remove remnants from the registry. Then when you reinstall, try running the installer as administrator.

  • NiRFSG Initialize​.vi Error: AWG Resource Name is invalid

    Hi,
    I using a PXIe-5442 Arbitary Waveform Generator and a PXI-5610 RF Upconverter. The PXI-5610 RF Upconverter is PXI1Slot5 inside the MAX and the PXIe-5442 AWG is PXI1Slot7. 
    When I start http://ftp.ni.com/pub/devzone/epd/rfsg-generate-f​m.vi  from http://zone.ni.com/devzone/cda/epd/p/id/5620 I get error messages. 
    For Resource Name = PXI1Slot5
    code -1074117675
    niRFSG Initialize.vi<ERR> A session cannot be created because the AWG Resource Name in invalid. Specifty the AWG Resource Name in MAX by right-clicking on the upconverter and selecting Properties. If you are specifying the AWG via the Option String, ensure the AWG Resource Name is valid.
    For Resource Name = PXI1Slot7
    code -1074117636
    niRFSG Initialize.vi<ERR> The device specified is not supported by this driver.
     which is correct, because PXI1Slot7 is the AWG and the VI is just using niRFSG VIs.
    When I am using a selector instead of the Option String, I only can select the PXI-5610 RF Upconverter is PXI1Slot5, but I am still getting the same error message.
    Solved!
    Go to Solution.

    Hi,
    I am trying to get the Packet-based Digital Link Example (https://decibel.ni.com/content/docs/DOC-18801) running on a RF Upconverter PXI-5610 and a AWG PXIe-5442 using the NI-RFSG and NI-FGEN drivers. The Upconverter and AWG should run as the transmitter while a USRP run as the receiver.
    After linking both cards in MAX and replacing the niUSRP functions with the niRFSG functions inisde the USRP Packet Transmitter.vi I received the following error message:
    code -1074118136
    niRFSG Write Arb Waveform (Complex DBL).vi<ERR> The AWG reported the following error:
    You cannot write data outside the boundaries of your waveform. Make sure you are not trying to write more data than your waveform can accomoate and that your write location and write offset are set correctly.
    Status Code: -200311
    I was able to solve this error by inserting the niRFSG Clear All Arb Waveforms.vi inside the transmitting loop. Now no error message appears anymore, but I can't receive any packets with the USRP Packet Receiver.vi. I also noticed the status LED "ACTIVE" at the front of the card is not on when the VI is running. When I am using the Soft Front Panel the LED turns on.
    Thanks in advance!
    Attachments:
    USRP Packet Transmitter for PXI-5610 and PXIe-5442.vi ‏60 KB

  • NIMCInit.dll NI-PAL Service Manager Error

    Hello all,
    I'm getting the attached NI-PAL Service Manager error every time I start my computer.  I've tried solution given in this post: http://forums.ni.com/ni/board/message?board.id=240&message.id=4362 thread with no luck.
    If I uninstall the NI-Motion drivers, or remove my PXI-7350 from the PXI chassis, the error goes away.  After I re-install the NI-Motion drivers and re-start the computer, the problem occurs as soon as the "Found New Hardware" wizard completes, and on every boot thereafter.
    Any pointers to what I should try next would be helpful.
    OS & Driver Versions:
    Windows XP SP2 Version 2002
    NI Measurement & Automation Explorer 4.4
    NI Motion Assistant 2.2
    NI-488.2 2.5
    NI-CAN 2.5.2
    NI-DAQmx 8.7
    NI-FGEN 2.5.1
    NI-Motion 7.6
    NI-VISA 4.2
    Hardware:
    PXI-1042 Chassis
    PXI-8187 Controller
    PXI-7350 (Slot 2)
    PXI-2566 (Slot 3)
    PXI-8464 (Slot 4)
    PXI-6254 (Slot 5)
    PXI-6602 (Slot 7)
    PXI-5402 (Slot 8)
    Attachments:
    NI-PAL Error2.png ‏19 KB

    Hi Mark, 
    Make sure that when you uninstall everything you also
    1.  Uninstall MAX
    2.  Delete the MAX data folder (this doesn't uninstall when you uninstall).
         On Windows XP and Windows 2000:
    Navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data\
    The folder named Application Data is a hidden folder.  You can view hidden folders by selecing Tools » Folder Options..., click the View tab, and selecting Show hidden files and folders.
    Note: Remember that deleting the Data folder in its entirety
    will remove all configuration settings.  The next time MAX is launched,
    you will have to configure all of your hardware again.
    Thanks,

  • NI DC Power Soft Front Panel Error - 200247

    Hello All,
    I am having trouble opening the ni DC power soft front panel. The error message I repeatedly am seeing is below:
    When I try to run the vi mentioned in the error above, the same error occurs:
    How can I go about getting my soft front panel to work? I have been using the DC power API to execute tests over the past week using the example VI's, but am at a point where the soft front panel would be very helpful to my workflow.
    I am using the following:
    NI PXIe-4139 SMU
    NI PXIe-1082 Chassis
    NI PXIe-8360 Controller
    Windows 7 64bit
    Labview 14
    MAX 14.5.0f0
    DC Power 14.2
    I have tried running the soft front panel using clean installs of DC Power 14.1 and 14.2 and see the same error message. I have uninstalled the other modular instrument driver packages on my computer, NI-Fgen and NI-Scope, reinstalled DC Power, and still I see the error message. It could be that I am not uninstalling these software packages 100% correctly (I use the windows add/remove to NI Remove software dialog process....)
    I appreciate any help getting this DC Power soft front panel working.
    Thank You,
    Andrew Goett

    Hi Andrew,
    Can you possibly give me a MAX technical report for your system?  The instructions can be found here.  Use Method 1.
    Also, can you check which version of niModInst.dll you have on your system?  This file can be found here: <Program Files>\IVI Foundation\IVI\Bin\niModInst.dll
    Right-click on the file, select Properties, and then click on the Details tab.  The information I need is the "Project version" field.  See the image below:
    In addition to the MAX report, could you send me a ZIP file of the contents of this folder: <Program Files>\National Instruments\Shared\niModInst
    I've attached a simple program (NI-ModInst Code.vi) to test if NI-ModInst is failing across the board or if it only is failing to identify NI-DCPower devices.  Open the program, select a driver that you have installed on your system, and run the program.  The code should tell you the number of devices you have in the system that are associated with that driver, as well as list out the model numbers for those devices.  This list will include simulated devices.  Test the code with various drivers in your system to see if you get the same error.
    Let me know how this works out.

  • NiFgen Close.vi function call error

    I'm trying to use my PXI-5411 with a fresh install of NI-FGEN 2.0 in LabVIEW 6.1 on Windows 2000.
    I'm getting an error in "niFgen Close.vi", though: "The function name specified for this node cannot be found in the library."
    It appears that the function in question is LV_niFgen_close in niFgen_32.DLL.
    Why is this newly-installed FGEN function not working, and what can I do to fix it?

    Good Morning,
    The older version of NI-FGEN stored the niFgen_32.dll file in the C:\VXIpnp\bin directory. It is possible that your VI's are still pointing to this location, and cannot find the .dll. Currently, the niFgen_32.dll file is stored in c:\Program Files\IVI\bin. Perhaps the path of this single dll was hard coded.
    Now that you upgraded to the new version of NI-FGEN, the dll is no longer in the same location. To fix this issue, you should do two things:
    Open the NI-FGEN close.vi and configure the call library node. Insure that the Library Name or Path is only niFgen_32.DLL
    Then you should check to ensure that C:\Program Files\IVI\bin directory is in your Windows search path. You can check this by right clicking on "My
    Comptuer" on your desktop and choosing "Properties". Then click on the advanced tab, and click on environment variables. Under System variables, scroll down to PATH. Double click on path, and you can cursor through the search paths. Make sure that C:\Program Files\IVI\bin; is in this list. Please let me know if you have any additional questions. Have a great day.
    Sincerely,
    Will Denman
    Application Engineering
    National Instruments

  • FPGA code using too much memory? getting error 52000

    Hi all,
       I'm having trouble getting some FPGA code to run. What I am trying to do with the program is acquire data using DAQmx from two fgen's, and then use an FPGA based lock-in amplifier to find the frequency of these signals and their phase difference (It's actually only a slight modification of a lock-in amplifier available on the NI site). I keep getting error 52000 when I start up the program, indicating I'm using up too much memory somewhere. I don't know why this is, as even the lowest sampling rates I give to the DAQ do not keep this problem from happening. Could someone look at my code to see whats going on?
    Thanks,
          Grant
    Attachments:
    LIA_SSTL.lvproj ‏90 KB

    I am using a PXI-7852R card in a PXI-1033 chassis, all connected to my comp through a PCI bridge. I'm also using a PXI-6115 data acquisition card, which is feeding data to the FPGA.
    Sorry for not attaching the VI's, I thought they were contained within the llb. Here they are.
    Thanks,
         Grant
    Attachments:
    LIA_FPGA.vi ‏285 KB
    LIA_Host.vi ‏2346 KB

Maybe you are looking for

  • Lines on your iPhone diplay?

    I suddenly found lines across the upper half of the display on my well cared for original iPhone. Genius Bar said that it needs to be replaced "the displays go bad after a while". this $600 smart phone should have given me alittle more service time,

  • Why mozilla.cfg file is not working with Firefox 21

    <pre><nowiki>//@line 2 "e:\builds\moz2_slave\rel-m-rel-w32-bld\build\browser\app\profile\channel-prefs.js" user_pref("browser.startup.homepage","https://www.mytest.com"); lockpref("browser.shell.checkDefaultBrowser", false); lockpref("app.update.enab

  • Create a linked list

    Hi guys! I read the manual of java 2 and says that is not that pointers don't exist, they do exist but they are not explicit as they are in C languagge. So in need to create a circular linked list how can I do this? The instructions of the manual are

  • D7000 files not working in Adobe Premiere pro CS6

    I recently took a lot of video on my D7000 DSLR. All of my video I shot though when I import them into Adobe Premiere "breaks" the file plays perfectly on the computer strait from the file but the miniute I try to import them into Premiere the files

  • Help on JTAPI -how to work with it

    hi , i want to start working with Jtapi i downloaded the class files for jtapi -it's a zip file containg classes how can i start working with it , where do i need to extarct it !! do i need a certain hardware !! and how do i compile new application i