Error Code 0xC0000025 (labview 2014)

Hello Everyone,
My labview program is communicating with a function generator (Agilent 33521A) and a frequency counter (Agilent 53230A) using the standard device drivers available on NI's website. I have recently upgraded from 2012 version and my labview program is consistently crashing. I get the same error code each time but the crash is random. Moreover if I run the code for function generator separately it completes the required number of iterations. But crashes if both instruments are used simultaneously. I have attached the screen shots of  front panel/block diagram along with the VI.
I will be grateful if anyone can help me.
Hamza
Solved!
Go to Solution.
Attachments:
Front_Panel.png ‏80 KB
LabView_Code.png ‏62 KB
Frequency Sweep + Counting.vi ‏50 KB

Driver specific questions are hard to get answers from: but here are a few things to try.
[before you start: I do not have these drivers installed, these are just things I noticed poking the Block Diagram]
Are you intending to close the generator duding each for loop run? On the next loop, the ref to that address has been destroyed.
You are using error mannaged drivers, Do you want the system to handle errors from previous loops?
This is a pictrure of how I would restructure
Remember you can add a contitional terminal to a for loop (right click border) to have the For loop end early on boolean or (more usefully) error. 

Similar Messages

  • An error occurred loading VI. LabView load error code 1: LabView load error code %ld: %p"

    I have been developing a VI file that has
    been working fine, until now. I am using 8.6.
    Every time I attempt to open this file
    I keep getting:
    How do I fix the error code:
    Labview: Memory is
    full.
    An error occurred loading VI. LabView load error code 1:
    LabView load error code %ld: %p”
    On a separate dialog:
    “Not enough memory to complete this
    operation.”
    I ran VI analyzer which told that the
    VI:
    One or more errors occurred during
    analysis.
    Testing errors tab – Vi not loadable
    and my file name. At the bottom in the error description I got:
    “Error 74. Memory or data structure
    corrupt. <my file path> and <file name>.”
    Could not be opened.
    Is there anything I can do to recover
    the file?

    Hi kevin_khan,
    I went ahead and tried to open it and got the error attached.
    Peter T
    Applications Engineer
    National Instruments
    Attachments:
    test.png ‏14 KB

  • LabVIEW load error code 1: LabVIEW load error code %Id: %p

    One of my VI crashed while trying to save some data to file, I then tried to save the VI afterwards, but message with Out of Memory popped up again and the IV closed down. So now I can´t open my VI, then I try I get the "LabVIEW load error code 1: LabVIEW load error code %Id: %p" message and I have been given no opportunity to recover an older version of the VI then I close down and open LabVIEW again!!! So my VI is lost or what?
    This is a huge problem for me, hope someone can help...
    Regards
    Jesper

    Hi Jesper
    For the future you should be good with LabVIEW 2012 (Normally realeased after NI Week in Austin in beginning of August). From what I know about this problem it have not been mentioned to be solved in a fixpack before release of LabVIEW 2012.
    If you are reading in large files that uses more memory than avaliable and do wan't to avoid LabVIEW from crashing then you could add more RAM to your PC. If you are using Windows 32-bit you could try to edit the boot.ini file for Windows to allow Windows to allocate more memory to LabVIEW as explained in the following article:
    Extending Virtual Memory Usage for 32-bit Windows
     http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/enable_lrg_ad_aware/
    You could also try upgrading to Windows 64-bit this will allow much larger memory operations, and Windows 64-bit will let LabVIEW allocate more memory.
    To use Source Code Control on your computer you will need:
    1) A Source Code Control server with space to store the backup VI's and previous versions on (this can be your own PC). All Source Code Control providers that follow the Microsoft Source Code Control API. We have a list of tools that we have been tested that can be found here (note that some is free and other is not):
    Which Third-Party Source Control Providers Can I Use with LabVIEW 8.0 and later?
    http://digital.ni.com/public.nsf/websearch/26EC5904169430CE8625706E00743997?OpenDocument
    2) After installing the server you need to configure LabVIEW to communicate with this server. In the article below under the section "Configuring LabVIEW to Call the Microsoft SCC API" you can see how to do this:
    Software Configuration Management and LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/4114
    3) You are good to go. Source Code Control uses the two most know functions "Commit / Check out." When you Check out a document you will be able to edit it, and when you then commit the changes then it will be saved with a new version number on the server. For each commit you will be able to select "Revert to previous version" to go back and restore a previous commited VI. You can use these functions on the VI it self or as I prefer from the Project Explorer.
    Bisides the advantage of being able  to restore previous versions, Source Code Control is also a great tool if your are multiple users working on the same project. You will i.e. be able to be 2 or more developers working on the same VI at the same time and then merging your changes to one VI when you are finished.
    Best Regards
    Anders Rohde
    Applications Engineer
    National Instruments Denmark 

  • Error code 30155002 Labview 7.1 PDA

    Hello everyone,
        I had a problem with my PDA.
        I developped a little programe and stored my datas in an array. Then I showed these datas in a 'PDA XY Graph'. After about 2 hours of mesurement, my PDA had an error messager : "Application failed. Error code 30155002. Unable to allocate the memory..." at that moment, I have stored 1574 points in my array.
        I think that maybe the memery of PDA is limited. But I am not sure of that. So I would like to know what dose this error message mean?
    And what exactely the tail of the memory of PDA.
         Thanks a lot for your answers!
         Sincerely!
         Zhang An

    Hello Zhang An,
    What is your OS ?
    The considerations to take into account are different if you are working with Palm OS or Pocket PC:
    Palm OS Considerations
    The following considerations can affect the way you design a PDA VI for
    Palm OS devices, emulators, and simulators.
    • Palm OS is not multithreaded and has limited memory for programs.
    • Palm OS does not use a traditional file system. It stores data in memory
    chunks called records that are grouped into databases. Expansion cards
    use a traditional file system.
    • Palm OS implements all files as databases and can have a maximum of
    64,000 records in each database. Each record can be a maximum of
    64 KB in size.
    • Each VI within a PDA VI cannot be larger than 64 KB because of the
    way Palm OS links the applications together. However, a top-level
    PDA VI can contain several subVIs whose total file size is greater than
    64 KB.
    The size of a PDA VI on the host computer is not an accurate indication
    of how large it will be when you build it as a PDA application. When
    you build a PDA VI into a PDA application, LabVIEW notifies you if
    the file size is too large. Break up the VI into smaller subVIs to reduce
    the file size.
    • There is a total limit of 64 KB on all front panel array data.
    • Applications are limited to approximately 160 KB of heap, or dynamic
    memory space, for everything except code. The application uses some
    of this space to maintain state, so not all of it is available for data.
    PDAVIs immediately terminate if they run out of memory. You can
    use the PDA Memory VIs to manage the dynamic memory space.
    Pocket PC 2003 Considerations
    PDA applications are limited to about 32 MB of space for everything
    except code. The application uses some of this space to maintain state, so
    not all of it is available for data. PDA applications immediately terminate
    if they run out of memory.
    hope this helps
    Best Regards
    Alexandre D
    NIF

  • Installer build error code-21 Labview 8.6.1

    While attempting to build an installer I get an error code -21. What is the error and how do I correct it?

    I also have this problem.  The executable build itself works correctly, but the installer fails to build.  There are a number of DLL dependencies, but they are all included and present in the build and in the installer Source Files.  I put CDK.EnableLog=True in my LabVIEW.ini and logged the error from the installer build process.  Here is an excerpt from the relevant section:
        [LOG ON]  Fri Apr 30 13:46:02 2010
    <<<MDFConfig_SetDeveloperLanguage>>> Language id: 9
    <<<MDFConfig_SetDistributionLanguage>>> Language id: 9
    <<<MDFConfig_SetBuildDir>>> Build directory: C:\MyPrograms\MyApp_Working\Install
    <<<MDFConfig_SetBuildMode>>> Build mode: 1
        [NMDK BEGIN]  Fri Apr 30 13:46:02 2010
         Building developer part
    > Adding files to installer
    <<<MDFBuildDevPart_SetFileNames>>>
    <<<MDFBuildDevPart_SetDefaultInstallDir>>>
    <<<MDFBuildDevPart_SetUpgradeInfo>>>
    <<<MDFBuildDevPart_SetOtherProperties>>>
    >  
    > **************
    > *** Error: An internal tool or library returned an error. (Error code -21)
    Error in MDF API function: _MDFBuildDevPart_SetOtherProperties
    nmdkSetInformationalProperties returned error code 26024
    > *** End Error Report
    > **************
    >  
    Adding product dependencies to developer part
    >  
    > **************
    > *** Error: Windows SDK function returned an error. (Error code -12)
    Closing dist kit
    ***** About to begin MAXImportConfig:oMAXPartModifications...
    No MAX import files specified - nothing to do - returning.
    Error in MDF API function: _MDFBuildDevPart_Close
    Error in MDF::BuildDeveloperPart::Close.
    ERROR: Caught MSI Exception:
    <Unable to format error record.>
    MSI error code: 6
    > *** End Error Report
    > **************
    >  
        [LOG OFF]  Fri Apr 30 13:46:02 2010
        [MDF END]  Fri Apr 30 13:46:02 2010
         Closing MDF.
     I've also tried the same with a simple test application and it build/installs correctly, so I know it is my project somehow.  One notable difference is that I previously had namespace conflicts in the executable build that were resolved by the following these instructions:
    http://digital.ni.com/public.nsf/allkb/47272B69E2C​167DB862574AC006A258B?OpenDocument
    I hope someone can help.  I need to deploy this application soon.
    Regards,
    - Ray

  • Error code 28 LabVIEW Null menu

    The error cluster of my VI indicate that the error 28 : LabVIEW Null
    menu occur in it, but when I open the block diagram  of this VI to
    see which subVI cause the error, the error doesn't reappears anymore
    and everything is OK.
    Afterward, if I close my erroneous VI and run it again. The error
    Reappears. I try a MASS COMPILE but I still have the same problem. So I
    have 2 questions.
    1) What can cause the apparition of the error when I run my application normally and not when I open the VI block diagram.
    2) What can cause the Error: 28 : LabVIEW Null menu.
    Thank you for your answer
    Gpaito

    Hi,
    This is over 1 year old ?!?!  
    What i mean is that you can add your VI to a meesage so we can have a look at it
    Message Edited by K C on 02-26-2007 09:31 PM

  • LabVIEW load error cod %ld: %p

    All of the sudden, when I tried to open a VI, I got an error message that said, "LabVIEW: Resource not found.  An error occured loading VI 'VI name.vi".  LabVIEW load error code 1: LabVIEW load error code %ld: %p".  I tried to revert that particular VI to the previous version through source control, but that didn't help.  Does anyone know what I need to do to fix this?  Thanks!
    Kudos and Accepted as Solution are welcome!

    It was fine, and now I can't open the VI.  It is possible that I forcefully closed the VI a few times with ctrl+alt+del.  The name.vi is the host vi for an fpga application.  It interacts with user, calls .NET DLL to communite with a DUT, pass data to/from FPGA, etc.
    I had already looked at the link that you posted.  Not sure does it apply to me.  
    Kudos and Accepted as Solution are welcome!

  • Office 2013 C2R - Access denied to installation source from workgroup PC (Error Code 5-4 and 17002)

    I have set up Office 2013 Home and Business on a network share using the Office Deployment Tool.
    Domain members can install Office 2013 with no problems using the command line
    \\Server\share\Office2013\setup.exe /configure
    \\Server\share\Office2013\configuration-home-and-biz.xml
    However, if the PC is not a member of the domain I get an Access Denied message, even though "everyone" has full control of the share and NTFS files and subfolders
    The full message is as follows,
    Access denied to installation source
    Sorry, we ran into a problem accessing a required file. Please check that the installation source has correct permissions, the try again.
    Go online for additional help
    Error Code: 5-4
    As soon as I join the PC to the domain the installation works but I would like to pre-install Office as part of an MDT Task Sequence before the PC joins the domain.
    Does anyone know how I can make this work?
    The Office setup log shows a different error code
    03/05/2014 16:23:24.834 SETUP (0xe38) 0xec0  Click-To-Run apx75 Monitorable TryLaunchClient::HandleStateAction: C2R Client returned failing error code 17002
    FYI: My config xml file contains the following
    <Configuration>  <Add SourcePath="\\Server\share\Office2013\" OfficeClientEdition="32" >    <Product ID="HomeBusinessRetail">      <Language ID="en-us" />    </Product>  </Add>  <Updates Enabled="TRUE" UpdatePath="\\Server\share\Office2013\" />  <Display Level="Full" AcceptEULA="TRUE" />        <!--  <Display Level="None" AcceptEULA="TRUE" />  -->  <Logging Name="OfficeSetup-*.txt" Path="%temp%" />  <Property Name="AUTOACTIVATE" Value="0" /></Configuration>
    Thom McKiernan (UK) @thommck | thommck.wordpress.com | MCSA | MCTS

    C2R editions of Office, during the installation routine, will initially commence execution in the security context of the logged in user, but partway through the installation routine the installation transitions into the security context of the local computer
    account. This means that unless the computer account also has network access permissions to the installation source folder/share, the installation routine will fail.
    http://technet.microsoft.com/en-us/library/jj219423(v=office.15).aspx#PrepareDeploy
    Important:
    The computer account for the computer on which you install Click-to-Run for Office 365 products must have read permission to the network share that contains the Office Deployment Tool, the customized Configuration.xml file, and the Click-to-Run for Office
    365 product and language files. If you cannot give read permission to the computer account, you can copy the files down to the computer from the network share, and then run Setup from the computer. After the installation is complete, you can delete those files
    from the computer. 
    To workaround this, your installation script routine can copy the installation source files from the server folder/share to a local folder on the computer, then launch the setup routine from that local source.
    In your example scenario, the workgroup computer (because it is not a member of "DOMAIN\Authenticated Users" does not have access permissions to the server folder/share.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • User defined Error Codes

    Hello,
      I am using the "Bundle by Name" VI to insert error info into the Labview Error Cluster.   I am doing calculations and have assigned a -23096 to the error code and during program execution a dialog box pops up stating the following
    Possible reason(s):
    Analysis:  Too many decimal points.
    I am assuming the dialog box is being generated by the system because the -23096 is defined to in the the range for Math errors. So how do I defined my own error codes that Labview will not use and cause unexpected dialog boxes to appear. My approach to handing the errors is the I will check the error status flag and if the error is one of mine I will handle it.
    Regards,
    Kaspar
    Regards,
    Kaspar

    After rereading your last post I think I know what you are getting at. Here is how I create a custom error cluster.
    1.On your front panel lay down a "error in" control cluster found in 8.2.1 at Array Matrix and Cluster.
    2.Switch to your block diagram and right click this control and change it to a constant.
    3.Wire this constant into the top of a bundle by name function. Expand the bundle by name to show the 3 elements. For each element create a constant and enter your information. You can feed the output of this function to any error input of the following vi's or create an indicator and hook it to your front panel connector pane.
    Hope this helps
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Flash Player Install failed with error code: 30

    Hi, I want to report a problem with the Adobe Flash Player 13.0.0.182 (Mac OS X, English) installer on OS X 10.9.2. Mavericks.  I'm posting this so the engineers will know what to fix in the next update version.
    I have a 2013 iMac so according to Adobe blog posts it shouldn't be affected by the invalid cpu instruction issue.
    Symptom is the first installer downloads the 2nd, starts to launch it, then quits it with "Error: Unable to proceed with the installation" and a green (success?) checkmark.  The GUI provides no other assistance except to "FINISH", which leads to the generic "Adobe Flash Player could not be installed." page.
    The system log says: Adobe Flash Player Install Manager[22567]: Install failed with error code: 30.
    The FlashPlayerInstallManager.log says:
    2014-04-13 16:12:01 -0500 [I]  IM: ---------- log start ----------
    2014-04-13 16:12:01 -0500 [I]  IM: All install checks pass
    2014-04-13 16:12:01 -0500 [W]  IM: Unexpected umask value for process: 0
    2014-04-13 16:12:06 -0500 [I]  IM: User does not have any processes that need to be closed.
    2014-04-13 16:12:06 -0500 [I]  IM: [install started]
    2014-04-13 16:12:06 -0500 [E]  RA: Unable to launch FPInstallHelper. Error = 'launch path not accessible'
    2014-04-13 16:12:06 -0500 [E]  RA:
    Attributes for '/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/FPInstallHelper':
        NSFileCreationDate = "2014-03-27 04:20:43 +0000";
        NSFileExtensionHidden = 0;
        NSFileGroupOwnerAccountID = 0;
        NSFileGroupOwnerAccountName = wheel;
        NSFileHFSCreatorCode = 0;
        NSFileHFSTypeCode = 0;
        NSFileModificationDate = "2014-03-27 04:20:43 +0000";
        NSFileOwnerAccountID = 0;
        NSFileOwnerAccountName = root;
        NSFilePosixPermissions = 2541;
        NSFileReferenceCount = 1;
        NSFileSize = 13348;
        NSFileSystemFileNumber = 4892044;
        NSFileSystemNumber = 16777224;
        NSFileType = NSFileTypeRegular;
    2014-04-13 16:12:06 -0500 [E]  RA:
    Attributes for '/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T':
        NSFileCreationDate = "2014-04-07 13:43:21 +0000";
        NSFileExtensionHidden = 0;
        NSFileGroupOwnerAccountID = 0;
        NSFileGroupOwnerAccountName = wheel;
        NSFileModificationDate = "2014-04-13 21:12:06 +0000";
        NSFileOwnerAccountID = 0;
        NSFileOwnerAccountName = root;
        NSFilePosixPermissions = 449;
        NSFileReferenceCount = 12;
        NSFileSize = 408;
        NSFileSystemFileNumber = 4552991;
        NSFileSystemNumber = 16777224;
        NSFileType = NSFileTypeDirectory;
    2014-04-13 16:12:06 -0500 [E]  IM: [install failed: 30]
    2014-04-13 16:12:06 -0500 [E]  IM: Install failed with error code: 30.
    2014-04-13 16:12:06 -0500 [I]  IM: ----------  log end  ----------

    I have a 2013 iMac so according to Adobe blog posts it shouldn't be affected by the invalid cpu instruction issue.
    Regardless... I still recommend "falling back" to 12 until they get this release right for everyone. I've read plenty of posts in the Apple forums from new iMac, Mini and MacBook users who've had nothing but trouble. Even the "gurus" there are linking to Chris Campbell's post here:
    ATTENTION MAC CUSTOMERS - Flash Player 13 "Plugin Failure" Workaround
    Using the offline installer completely eliminates the errors seen with the stub installer.

  • Error 77009 labview 2014 with solidworks 2015

    hello please am a student  i want to ask you some quastion that i have probs with it
    i want to creat an application with labview 2014  and solidworks 2015 with softmotion simulation so i got a probs that i cant deploy my project with error 77009 (0x00012CD1)
    message error : 
    NI SoftMotion Error Codes
    A function in NI SoftMotion was called without creating or starting the controller service. Verify that the NI Scan Engine switched to Active mode and that there are no faults on the axes.
    please your help was a great things
    thank you

    Hi,
    Here are a few helpful resources further explaining Scan Engine and developing with cRIO.
    http://www.ni.com/pdf/products/us/fullcriodevguide.pdf
    http://www.ni.com/white-paper/7693/en/
    I hope this helps. Have a great day!
    - Kale

  • LabView 2014 - DSC module with Ethernet Modbus: Error 56

    Sorry,
    I try to connect modbus by Labview 2014 DSC module like this figure, and it occurred error code 56 at "Read Input Registers",
    I have look for many soluctions, but still fail, can someone help me? thank you very much!

    Did you confirm the address and port of your slave device is correct? Also, is your device a modbus master device or slave device?
    I suggest you to read the help first, and then run the corresponding example
    You can run the two example to test if the modbus function is OK. Then you can come back to test your third party device.

  • Spartan 3E with Labview 2012 (32 bit) on WIndows 7 64-bit - Error Code: -310602 NI-COBS: Unable to communicate with device over communication cable.

    Thanks for the info, Kyle.  I will probably try to find an older 32-bit XP machine.  VM is just not an option for me right now.

    Hello everybody,
    I am trying to use the DIgilent Spartan 3E board with Labvew 2012 SP1 32 bit.  I am able to compile the example code for LED shift.  I am however unable to transfer code to the FPGA.  I get the following error message:
    Error Code: -310602 
    NI-COBS:  Unable to communicate with device over communication cable. 
    Please verify that the cable is connected to a supported device and that the appropriate drivers are installed.
    My system configuration is as follows:
    Windows 7 (64 bit) on Dell XPS laptop.
    Labview 2012 SP1 (32 bit)
    Labview FPGA 2012 SP1
    Labview 2012 FPGA support for Spartan3E
    Xilinx 13.4 tools
    DEFB LV FPGA 2012sp1 support installer
    Xilinx USB cable driver v1.3 installed.
    I took all the precautions mentioned by others on this forum and others, mainly that the cable must be disconnected before installing the Xilinx cable driver. All software and drivers were installed correctly.  I even uninstalled and reinstalled the entire Labview software set I had.  I still get the same error.
    A few other questions:
    1.  Is the Xilinx cable different from a regular USB cable of the same configuration ?
    2.  When I program the FPGA I only have the USB cable connected between my computer and the Spartan 3e board.  Should any other cable be connected ?
    3.  What should be the correct jumper settings for J1 - JP30 (especially J30, J11, JP9, JP6, JP7, etc) ?
    I have been at this or over 3 days trying to figure it out.  Any help will be greatly appreciated.
     

  • When Trying to Install Labview 8.6.1 on Windows 7 Get Error Code -12

    When Trying to Install Labview Deveopment Suite 8.6.1 on Windows 7 Get " *** Error: Windows SDK Function Returned an Error (Error Code -12)"
    I assume a compatability issue will Labview installer and Windows 7.  Is there a work arround?

    I figured as much, but maybe if enough peole are interested NI will be pushed to a solution.
    It's not that the programm won't run, it's that the installer fails before it even gets installed.
    I am using Windows 7 RC Build 7100.  It installs and runs just fine in Virtual XP Mode on Virtual PC for windows 7 (http://www.microsoft.com/windows/virtual-pc/download.aspx) which I find works better than compatability mode.
    Thanks for your help.

  • Premiere Pro Update Failure: Adobe Premiere Pro CC 2014.0.1 Update Installation failed. Error Code: U44M2P7

    Hi,
    I can't seem to update Premiere Pro. I get the following message:
    Adobe Premiere Pro CC 2014.0.1 Update
    Installation failed. Error Code: U44M2P7
    Have tried the patch, no dice. Need to avoid re-install.
    Would like an Adobe staff member to step up and help out on this.
    Thanks

    U44.. update error http://forums.adobe.com/thread/1289956 may help
    -more U44.. discussion http://forums.adobe.com/thread/1275963
    -http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html
    -http://helpx.adobe.com/creative-suite/kb/error-u44m1i210-installing-updates-ccm.html
    or
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

Maybe you are looking for

  • BI 4.1 Multiple Errors on Event Viewer

    Hi My client uses BI Platform 4.1 Support Pack 1 Patch 1. During the past 2 days, there have been several errors logged on the Event Viewer on the BO server. Now, the infoview platform is unresponsive and just hangs for all the users. On having a loo

  • Messages are set to "To be delivered "

    Hi, we are having a problem in XI adapter engine. all the messages are being set to be delivered we are finding this status as "to be delivered" after we disconnected the target systems as we are moving our servers to a different location but if the

  • When i plug my iphone in to my computer it doesn't show up that it's plugged in. what do i do?

    I'm trying to transfer motoblur contacts to my new iphone, but it doesnt show up that the uiphone has been plugged in. what do i do??

  • How do I backup and view text messages from my iphone 4?

    How do I backup and view text messages from my iphone 4? I want to know where and how to backup and view text messages and all other personal files, including voicemail, recent calls, etc. from my iphone. Is this function in iTunes and/or does iTunes

  • [Solved] How to test Boinc if it is 64 bit?

    I have archlinux 2.6.18 and have installed boinc via: pacman -S boinc. Boinc seems to run just fine, but the boinc project does not. On the project forum they have suggested that I use 32 bit version of boinc instead of 64. On Archlinux, is there a w