Error message: Exception error within external code

Hi
I am getting an error message on running one of my vi's that uses DAQ.mx that causes labview to close it reads:
An exception occurred within the external code called by call library node.  This might have corrupted LabVIEW's memory.  Save any work to a new location and restart LabVIEW.  "VI ......." was stopped at node OX19E4 DAQmx Start Task.vi.
The odd thing is if I put execution highlighting on the vi runs ok and then continues to run OK untill I close Labview and restart it.
Is anybody familiar with this error.
Many Thanks.
Ashley

I've never come across this error before but looks to be a problem with the NI-DAQmx driver. As a first step, I would recommend unisntalling the driver and then re-installing (i would also install the latest version 8.0).
Funny how slowing the code down doesn't present the problem. let me know how you get on with the above.

Similar Messages

  • SO Wait causes exception occurred within external code called by call library node

    when trying to run some old code that used to work ok, i now get this error message:
    exception occurred within external code called by call library node
    and the vi flagged as calling the exception is SO Wait. the error occurs with different soundcards. does anyone know what is causing this problem?

    Hi Kreuters
    It sounds as if you have a case of memory corruption. Which version of LabVIEW and DAQ (traditonal or DAQmx) are you running and also on which operating system?
    would it be possible for you to post your VI on this thread? in some cases there are ways to fix the problem
    Regards
    YatinM
    NIUK

  • Error "An exception occurred within the external code..." when stopping LabView

    I am having an error "An exception occurred within the external code called by a Call Library Node...", see the attached image, when I am trying to stop LabView. As a result of the error, the tag engine doesn't close normally.
    I am using LabView 7.1 with DSC. I read values from a LNS (LON) OPC-server.
    Is this a known issue and is there any way to repair it? I haven't noticed any direct consequences because of the error except that when I re-start LabView and the close it again without having first rebooted the computer, tag engine sometimes starts again when it should stop. This is fixed by always rebooting the computer before restarting LabView. I am getting suspicious that there might be some strange behaviour because the error says "it might have corrupted LabView's memory".
    For example, sometimes when I have made a copy of an input number field to another, they follow each other's value changes even though there is no connections between them.
    Simo Martikainen
    Message Edited by Simo Martikainen on 12-17-2008 03:11 AM
    Attachments:
    LabView stop error.JPG ‏45 KB
    TAGENGINE.JPG ‏16 KB

    Especially in earlier versions of LV these sorts of errors were common if the call wasn't made just right or the parameters were set up incorrectly.
    Where did you get the DLL from? Was it written internally or did it come from another vendor?
    Try building a DLL call into a very small, simple application. Do you see the same issue?
    Are there multiple calls to the same DLL in your code? If so, is there problems with all of them?
    Can you track it down to a specific function that you are trying to access that is causing the problem?
    Is there any indication of a memory leak?
    Finally any additional information you can provide would helpful.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • After upgrading to AppWorld 3.1.0.56 error message "Exception: java.lang.NoClassDefFoundError" occurs

    Hi,
    After upgrading to AppWorld 3.1.0.56 error message "Exception: java.lang.NoClassDefFoundError" occurs,  is there a way to downgrade back to the old version at this point.
    Thank you.

    RIM is aware of this issue and has yet to resolve it.
    One solution is to downgrade your AppWorld.
    First, delete what you have at Options > Device > Applications
    (or on OS5, Options > Advanced > Applications).
    Then, using your BlackBerry browser, navigate to this link for your OS level:
    BlackBerry App World v3.0.1.29 [OS7]
    BlackBerry App World v3.0.1.29 [OS6]
    BlackBerry App World v3.0.1.29 [OS5]
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Ssrs report web service to save report as pdf throws error Soap exception unhandeled by user code

    I am creating a C# web application to save  an SSRS report as a pdf file on my local machine.
    I added the ReportService web reference as RS2005 and ReportExecution2005 web reference as RE2005.
    http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx?WSDL
    http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx?WSDL
    I created the following function SaveReport that is called on button click. My report can be accessed on the report server with the following url:
    http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter
    On the Report Manager home page the report link appears as "SAMPLE LETTER".
    It is deployed in the DataMgmt folder on the Report Manager.
    It uses a data source called "DS Letter" with option "Credentials stored securely in the report server"
    My application gets compiled, but I get the following run time error:
    Error: Soap exception unhandeled by user code. The item '/DataMgmt/Sample Letter' cannot be found. ---> Microsoft.ReportingService
    s.Diagnostics.Utilities.ItemNotFoundException: The item '/DataMgmt/Sample Letter' cannot be found.
    Please check my code and let me know what I can do to run this successfully. Once this is done, I would like to get help with passing a parameter (memberID) to the generate report for that member, through this application.
    Thank You in advance for your help.
    public static void SaveReport()
    RS2005.ReportingService2005 rs;
    RE2005.ReportExecutionService rsExec;
    // Create a new proxy to the web service
    rs = new RS2005.ReportingService2005();
    rsExec = new RE2005.ReportExecutionService();
    // Authenticate to the Web service using Windows credentials
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rs.Url = "http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx";
    rsExec.Url = "http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx";
    string historyID = null;
    string deviceInfo = null;
    string format = "pdf";
    Byte[] results;
    string encoding = String.Empty;
    string mimeType = String.Empty;
    string extension = String.Empty;
    RE2005.Warning[] warnings = null;
    string[] streamIDs = null;
    string fileName = @"c:\temp\samplerHAPeport.pdf";
    string _reportName = @"/DataMgmt/Sample HAP Letter";
    string _historyID = null;
    bool _forRendering = false;
    RS2005.ParameterValue[] _values = null;
    RS2005.DataSourceCredentials[] _credentials = null;
    RS2005.ReportParameter[] _parameters = null;
    try
    _parameters = rs.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials);
    RE2005.ExecutionInfo ei = rsExec.LoadReport(_reportName, historyID);
    RE2005.ParameterValue[] parameters = new RE2005.ParameterValue[1];
    if (_parameters.Length > 0)
    //parameters[0] = new RE2005.ParameterValue();
    //parameters[0].Label = "";
    //parameters[0].Name = "";
    //parameters[0].Value = "";
    rsExec.SetExecutionParameters(parameters, "en-us");
    results = rsExec.Render(format, deviceInfo,
    out extension, out encoding,
    out mimeType, out warnings, out streamIDs);
    using (FileStream stream = File.OpenWrite(fileName))
    stream.Write(results, 0, results.Length);
    catch (Exception ex)
    throw ex;
    protected void BtnGenReport_Click(object sender, EventArgs e)
    SaveReport();

    Hello Devster,
    Thank you to post your question on TechNet forum.
    After reviewing the whole post, I have a question to you. You can access the report via the link, http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter.
    From the URL, I can see that the report is located at: /Data Mgmt/Sample Letter, instead of /DataMgmt/Sample Letter. In addition, I found that the target report is "/DataMgmt/Sample HAP Letter" instead of "/DataMgmt/Sample Letter" as the error described. I
    am not sure whether you post out the correct code segment.
    Please check the above things on your side, and hope it is helpful to you.
    Regards,
    Edward
    Edward Zhu
    TechNet Community Support

  • When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code".

    Hi Experts,
    When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code". As checked, we have configured OBCD and OBCA for the vendor and we are passing the Tax Jurisdiction code in E1EDP04 SAL segment. Can anybody give us some idea to resolve this issue.
    Regards,
    Sameek

    Hi Sameek,
    Please refer the below link. Hope it helps.
    http://scn.sap.com/thread/1435286
    Regards,
    Chandan.

  • I am trying to re-install Creative Suite 5.5 Design Standard on my Widows 7 Professional computer after I had to replace the hard drive. I keep getting error message and I get "Exit Code 15: Media DB Sync failed". I have run C Cleaner with same results. H

    I am trying to re-install Creative Suite 5.5 Design Standard on my Widows 7 Professional computer after I had to replace the hard drive. I keep getting error message and I get "Exit Code 15: Media DB Sync failed". I have run C Cleaner with same results. Have Disabled UAC and Startup items and Services with no success. Please help - frustrated to no end. Can someone help me?

    make sure you're using the adobe cleaner, not crap cleaner, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    copy the installation files to a desktop folder and install from there.

  • I just installed OS X Yosemite and now my WD My Book Live external hard drive won't re-connect.  My Safari keeps kicking out and giving me error message after error message and my computer is really slow.   How do I resolve?   Can I uninstall this ?

    I just installed OS X Yosemite and now my WD My Book Live external hard drive won't re-connect.  My Safari keeps kicking out and giving me error message after error message and my computer is really slow.   How do I resolve?   Can I uninstall this ?   I had to re-connect my iMovie t

    USB2.0 PCI cards that use the NEC chipset seem to give the least amount of problems for Mac users.
    OWC have a few different ones for sale.
    http://eshop.macsales.com/Search/Search.cfm?Ntk=Primary&Ns=P_Popularity%7c1&Ne=5 000&N=7057&Ntt=USB2**0**cards
    Do you also connect the external USB drive to the AC power as well while you use it ?
    Sometimes USB external drive problems are resolved simply by plugging them into the mains power and trying again.
    Stewie
    Message was edited by: stewiesno1

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Every time i try to download the update for my iPhone through itunes, An error message shows up!  The code is -39

    Every time i try to download the update for my iPhone through itunes, An error message shows up!  The code is -39  Please help! I need to restore my Iphone but it makes me Download the update to IOS 6 first and it doesnt download

    i am having the same problem, my error message is that basically it (connection) has timed out! i have tried all day to get it to go thur

  • Scanning problem. Receive error message: cannot write file. Code 10,242,7. Please help

    I just purchased and installed a Canon MX 922 multi-function printer. I'm having a problem with the scanner in that the output after scanning cannot be displayed and is accompanied with an error message : Cannot write file. Code 10,242,7. This occurs when scanning documents and images. My operating system Windows XP (32).  Can anyone please help me solve this problem? Thank you.  

    Hello. Please try the following adjustment to see if we can resolve this issue: 1.  Open the IJ Scan Utility from your Desktop or the Canon Utilities listing of the Start Menu.2.  Click Settings.3.  On the left, choose the Auto Scan tab.4.  Click the Defaults button on the lower right.5.  Continue this process with each tab on the left.6.  Click OK at the bottom of the Settings menu. Once this has been done, try scanning from the IJ Scan Utility to test the unit. If these troubleshooting steps do not work, feel free to call us at 1-800-OKCANON.

  • When synchig my iphone to my itunes, I get an error message at the end with code 1150.  What is this error code and what does it mean?

    When synching my iphone to my itunes, I get an error message at the end with code 1150.  What is this error code and what does it mean?

    try uninstalling and reinstalling itunes on your computer. here is a link for that http://support.apple.com/kb/HT1925

  • HT201303 I have changed all of my billing info to the correct info. Why am I still getting an error message that says invalid security code?

    I have changed all of my billing info to the correct info. Why am I still getting an error message that says invalid security code?  I have an IPod.

    Welcome to the Apple Community.
    The following article(s) may help you.
    Credit card security code or postcode issues.

  • I have burned CDs before from 2gb to 7gb using different types of discs. Now I get this error message Apple error The disc can't be burned because communication between the computer and the disc drive failed (error code 0x80020022). What should I do

    I have burned CDs before from 2gb to 7gb using different types of discs. Now I get this error message Apple error The disc can't be burned because communication between the computer and the disc drive failed (error code 0x80020022). What should I do

    Reset the SMC, as per > Resetting the System Management Controller (SMC)
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Wait fifteen seconds.
    4. Attach the computer's power cord.
    5. Wait five seconds, then press the power button to turn on the computer.
    Then zap the PRAM/NVRAM as per > About NVRAM and PRAM
    1. Shut down the computer.
    2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    3. Turn on the computer.
    4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    6. Release the keys.
    Then retry the Disc Drive.

  • On one PC but not another I am getting an error message: Exception: java.la

    There is an applet on my site which is not loading for some users and not others.
    On one PC but not another I am getting an error message: Exception: java.lang.ClassNotFound.Exception:CheckboxApp.class
    The name of the applet is CheckboxApp
    some other user of my site are also getting similar messages
    Is there something from sun that can be downloaded by the users or is there some problem at the server level?
    Thanks

    It's probably because of the way the html that's calling the applet is coded, in conjunction with the vendor (Sun or MS) and version of the Plugin/JRE. This will help you ger started with diagnosis:
    http://java.sun.com/products/plugin/

Maybe you are looking for

  • Is there any way of moving music from ipod to a new computer with out the old computer?

    i have an older ipod. the computer i set it up on is dead and gone. is there anyway to keep the music on it and put more on it with a new computer?

  • Can't connect via Airport Utility

    Just noticed that my shared USB drive wasn't connecting so I opened Airport Utility and got this message when trying to manually access my Airport Extreme: Make sure your AirPort wireless device is plugged in and in range of your computer or connecte

  • Printhead Problem Error

    Hello, I have an HP 8500 a909g all in one or 8500ag im not sure but it has a touch screen on it and when I turn it on I get the error message the following printhead has a problem Black/Yellow (k/Y)  I tried power resets, pulled the printhead out cle

  • Right part of menu bar and menu bar clock freezes.

    Right part of menu bar and menu bar clock freezes after a few minutes works. Happens every single session and seems to not be affected of what programs that are running.  There are other anomalities too, which seem to be somehow related, affecting my

  • Resist specified user to browse some fields in query

    Hi Gurus, I really need your help... some of QUERY fields should be invisible for some user-id,  how can I achieve this? or another suggestion... Thanks for any help. Jamie