Long term experiment application error

Hi I am running a long term experiment where I am continuously reading in and plotting/saving Bluetooth Data, using a LabVIEW executable.  After about a day, a pop up appeared titled:
"SMessaging.exe - Application Error"
Application has generated an exception that could not be handled.
Process ID=0xe4c (3660), Thread ID=0xe7c (3708)
Click OK to terminate the application.
Click CANCEL to debug the application.
Nothing appeared in my Error Handler list, however when I cleared the pop-up error and ran the vi again, Code 1: source - ??? in btnew.vi appeared and the vi wouldn't run, I had to shut down the computer.
Is it something to do with the .exe build that I made? I am running Windows XP with the LabVIEW runtime. 

Well, two things stand out to me:
1.  Your inner loop has no timing. That means it is going to run as fast as possible, taking up 100% of the CPU until it is told to stop. And it is only told to stop when you get an error. You cannot stop it without hitting the Abort (stop sign) which screws up everything. And if anythng else comes along that wants to use CPU time, they're going to have to fight for it.
2.  Your outer loop also cannot be stopped without hitting the Abort, because you have wired the F to the stop loop terminal. Again, not good.
I have no idea how you can stop your executable without just turning it off (might even have to go into Taskmanager to do so, but you'll have to fight for CPU time).
You would be much better off putting some reasonable timing in there so you could at least stop things manually, as I assume you are going to want to stop the program sometime, unless the Bluetooth signal you're reading is actually a "5 minutes to Doomsday" signal and you want to be sure you are ready.
The comments by others about what might happen when the PC sleeps/hibernates/etc. are also relevant, unless you have disabled this.
Programs are much easier to troubleshoot before they are compiled into an executable.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ

Similar Messages

  • Result recording to be done after UD with long term inspection

    Dear All
    I have activated two MIC's for long term inspection. Inspection lot is created and UD is provided after Result recording. i have run QA12 and go to EDIT/RESET/INSPECTION COMPLETION.  status of UD changed to LTIN and then in Qe51 / qe51n i selected long term inspection but error message is coming '' NO CHARACTERISTICS WERE FOUND". Plz help , how to do result recording after UD.

    Dear Even if the char is long terms & if you have forcefully completed the chars then even if char has LTIN status it will not allow you.
    But check this in your sandbox and revert.
    1. In the MIC set the 'Optional Characteristic' and 'Long tem inspection ' in the control indiactors.
    2. Attach MIC in inspection Plan
    3. Do results recording and comlpete UD. all short term charactericts are closed.
    4. QA12Change UD with history for Inspection Lot ,
    Menu-> Reset inspection completion -> Status changes to LTIN
    5. Goto QA02 --> you woudl see " do you wnat to compete Long term inspections" --> yes
    6. Then Long term inspection characterictic is open for results recording.
    7. Change and complete results --> Make UD
    Check and Revert.
    Cheers
    KK

  • Hi I want to buy an unlocked iPhone 5in the Middle East. I want to know if I will be able to use my iPhone and all its applications when we go back to live in the US for long term.

    Hi I want to buy an unlocked iPhone 5 in the Middle East. I want to know if I will be able to use my iPhone and all its applications when we go back to live in the US for long term.
    Thank you

    Apple Online Store sells unlocked iPhone in the following countries: Australia, Austria, Belgium (French, Dutch), Brazil, Canada (English, French), China, Czech Republic, Denmark, Finland, France, Germany, Hong Kong (English, Chinese), Hungary, Ireland, Italy, Luxembourg, Malaysia, Mexico, New Zealand, Netherlands, Norway, Poland, Portugal, Singapore, Spain, Sweden, Switzerland (French, German), Taiwan, Thailand, United Arab Emirates, United Kingdom, and United States.
    You can probably be absolutely sure any other source will be carrier locked
    It also appears that only Zain offer unlocking (of all the ME carriers )  in Jordan and Bahrain
    A ME iPhone 5  ( A1429 GSM )will not  work on US LTE when you return 

  • Long-Term Trends of Query and  Statistcs - BI Application Type

    HI all,
    There is a query to read the statistical data as to how many times a query has been executed, and how long has each query taken while its run for a specific time period. The name of this query is Long Term Trends of Query and statistics, 0TCT_MC01_Q0424.  After making a bit of modification in this query, I added a key figure that says Count (To give u the count of the number of times this BI application object has been run).
    In this query, there is a navigational attribute called BI Application Type, its values are XLWB, TMPL and # (Not Assigned). XLWB would be for queries or workbooks that have been run, TMPL would be for templates but what is the # for.
    I ran this query for a day. The result showed that there is another query which has been run almost 88 times today, however, when I drill down on BI application type, I find that XLWB count is 5 while # count is 83. I want to know what is this #.
    appreciate if anyone can clarify this.
    Rgds,
    Sree.

    Any update on this,
    Rgds,
    Sree.

  • A photo upload application in my business software will no longer work, as I keep getting the message "Application Error General Exception"; how can I fix this?

    Continuing from the original question above...
    The full error message reads:
    Application Error
    General Exception
    Name: com.aurigma.imageuploader.ImageUploader
    ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
    This seems to be tied in with an update to Java 7, but my software won't allow me to proceed w/o the update. As soon as I update Java, the system gets corrupted and I just continually get the above message. I've done all I know to do, and I'm on my 4th 'restore', all the way back to June 14th. I really need this resolved, as my livelihood depends, in part on uploading pix I take in the field.
    I'm using a 2.3Gh dual-core PC w/ 4 Gs of RAM on a totally updated WIndows XP operating system using Mozilla Firefox.
    PLEASE, if there's a fix readily available, or if you can help me find one, I would be most seriously grateful.
    Thank you!!!

    Does this software run in Firefox, or is it a stand-alone program?
    Assuming it is a stand-alone program:
    If you need to stick with an older version of Java until that software is updated, you can disable Java in your web browers to protect against its vulnerabilities. Naturally this will disable some website features (for example, this uploader on sites that use it). To disable Java in all browsers, you can use the Java control panel, security tab and uncheck the box to use Java in browsers.
    (I don't know whether that takes effect immediately or after exiting and restarting the browsers.)

  • First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longer have access to network settings

    First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longerhave access to network settings

    Unfortunately, it says I can't delete anything without the missing password.

  • Application Error: Adobe Has Encountered a Problem?

    I know this thread is a million times posted and one fix for one system doesn't resolve the issue for another system so instead of reinventing the wheel with this error I am reverse engineering the error.  I will post what fixes it for my situation in hopes to find a permanent long term solution instead of a simple bandage.  I have an internal application that uses a pdf reader to view pdf's and when using Adobe Reader 9.x (multiple versions attempted and all properly uninstalled/reinstalled), a popup is displayed onscreen with the generic Adobe Reader has Encountered a Problem and Needs to Close notification.  After reading many posts regarding this error and attempting a multitude of fixes I was able to identify my point of failure.  The application calling upon Adobe is launched as a different user then the actual user signed into the OS (application is launched as an administrator account but the user is actually a limited user account) so when Adobe attempts to access user specific files then it fails and inevitably crashes the application.  I have added special permissions to every file ProcMon identifies as being touched (Adobe included) but still end up with the same results (all other readers work fine but I prefer Adobe) so the only work around was to imbed a call out into the application code to forever launch Adobe as a set user anytime certain extensions were called upon.  Outside the application Adobe works fine and there are zero errors when launching pdf's, internal and external to IE.  However, I am now experiencing other issues due to this "arranged marriage" between these two applications (i.e. a third OS user attempts to use this application then it fails, File does not begin with '%PDF-') so if anyone has ever been able to find the root of this error under these circumstances (a solution would be a bonus) then any added assistance in where to go next would be greatly appreciative.  Many thanks all!

    CS6 was tested with XP you didn’t give us your system specs.
    Bob

  • "Application error:unable to launch the application"

    Hi Friends,
    Now i want to open ENDEAVOUR(bio conductor
    package) tool.that is runned by java web start .so that purpose i want to run the java(net beans).
    i can access the net beans and endeavour in my home,but my office i can´t
    In office,The last week i tried to run the net beans.it couldn't run.i faced the following error
    "the proxy configuration cannot connect to the internet"
    i thought the the problem of proxy.but i checked some of the forums ,they said "the problem because of the firewall"
    3 days after i got it.but,now i want to run the ENDEAVOUR.The Endeavour ,it opened,but i can access partially,whenever i opened the application, i faced the following error.
    error:
    "Application error:unable to launch the application"
    i click the error detail ,the following details will be displayed
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for ENDEAVOUR -->
    <jnlp
    spec="1.4+"
    codebase="http://www.esat.kuleuven.be/~bioiuser/endeavour/"
    href="endeavour.jnlp">
    <information>
    <title>ENDEAVOUR 2.44</title>
    <vendor>University of Leuven - Developed by Bert Coessens, Stein Aerts, Peter Van Loo and Leo Tranchevent</vendor>
    <homepage href="http://www.esat.kuleuven.be/endeavour/"/>
    <description>Endeavour for computational prioritization of candidate disease genes</description>
    <description kind="short">
    </description>
    <description kind="tooltip">ENDEAVOUR 2.44</description>
    <description kind="one-line">ENDEAVOUR - Prioritizing candidate disease genes</description>
    <icon href="http://www.esat.kuleuven.be/~bioiuser/endeavour/images/endeavour2.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" max-heap-size="400m" />
    <jar href="endeavour.jar" main="true"/>
    <jar href="distributions.jar"/>
    <jar href="jai_codec.jar"/>
    <jar href="mysql.jar"/>
    <jar href="rmiservices.jar"/>
    <jar href="axis.jar"/>
    <jar href="jaxrpc.jar"/>
    <jar href="jaxrpc-api.jar"/>
    <jar href="jaxrpc-ri.jar"/>
    <jar href="commons-logging.jar"/>
    <jar href="commons-discovery.jar"/>
    <jar href="saaj.jar"/>
    <jar href="wsdl4j.jar"/>
    <jar href="xerces.jar"/>
    </resources>
    <application-desc main-class="biovec.gui.MainFrame"/>
    </jnlp>
    I try to close the error,the application also closed.
    i want to access the full application.i don´t know how to clear the error. please help me,

    Hi,
    Application Error:unable to launch the application
    i installed java network launch analyser(janela).then,i load the JNLP file to (janela).the analyser (jaNeLa) displayed the following issues.
    Content type application/XML does not equal expected type of X-java -jnlp-file.
    XML encoding not known,but declared as utf-8
    *code base +href 'http://www.esat.kuleuvan.be/~biouser/endeavour.jnlp'is not equal to a actual location of "file :c:/documents....so on*
    *''tooltip´ description is longer than ´short´ description.*
    porblem fetching resource endeavour .jar  .connection timed out.:connect
    *porblem fetching resource jai codec.jar.connection timed out,like the same for rmiservice.jar,mysql.jar,axis.jar,jaxr.pc jar,,jaxrpc-api. jar,commenslogging-jar,common discovering- jar,saaj.jar,xerces.jar*
    *problem fetching resource 'http://www.esat.kuleuvan.be/~biouser/endeavour/.connection timed out:connect
    can you have any idea about these issues ,please reply me.
    thank you very much.

  • Acrodist.exe application error

    I installed Adobe Acrobat 7.0 successfully. But when I convert a word file into PDF file, a error message pop-up as " AcroDist.exe application error --- the instruction at "0x0048C9e5" referenced memory at "0x0190eb6c", The memory could not be "read" Click on OK to terminate the program "
    If I click the program Acrobat Distiller, the same message box shows up.
    I tried to uninstalled and re-installed. Couldn't solve the problem.
    need help.

    This problem came up on my laptop today and I have found a solution, at least on mine. I was getting the exact same error as above (with different memory locations) when I tried to start Distiller (Acrobat 7.0). It had worked fine for years. On mine it was limited to my specific user account. I could run Distiller fine from the Administrator account. I also created a new standard user account to test with and it ran fine from that one as well. But it wouldn't run from my personal account. So I knew it was something with that specific account.
    To make a long story short, it ended up being a corrupt cache. You can find the cache in the following location:
    C:\Documents and Settings\[your user name]\Application Data\Adobe\Acrobat\Distiller 7\
    What I did was just rename the old cache folder and let distiller recreate it. That fixed it. Good luck.

  • Internal application error  in scheduling a  dis file.

    Hi friends , i am finding a problem in scheduling a dis file . discoverer says internal application error. some other files are getting scheduled. the query for this particaular report is long. any suggestions , its urgent.................. discoverer version is 4.1 .

    Hi,
    Not really enough informatoin to debug via a forum, you may need a Service Request with Oracle Support. If staying on 4.1 (recommend 10.1.2.0.2), I suggest you are patched to 4.1.48.08
    Additionally, ensure the worksheet runs to completion without scheduling... since you mentioned it is long you may need to increase the data cache, etc.
    Regards,
    Steve

  • Long term: Mountain Lion or Snow Leopard

    Hi,
    Had to have new hard drive installed a few days ago. System was "upgraded" to Mountain Lion. I had a backup from TimeMachine but for whatever reason, when configuring hard drive it would not see my external hard drive so I had to restore applications manually (read one by one) after "blank canvas" configuration. Now I find out all my powerpc-based applications wont work because Apple has not renewed licensing for Rosetta (info gathered from Communities). My powerpc applications are Adobe Photoshop and Illustrator, Microsoft Office 2011, turboCad, etc.
    I found out I have two options:
    1) Erase hard drive and Restore from TimeMachine to previous hard drive contents from 10 days ago, which run on Snow Leopard (which I had downloaded, so no disks). Will this work?
    2) Install Parallels 7 or VM firmware, and somehow install Snow Leopard there and run my powerpc applications from there. How to do this I have no idea...
    Long term:
    If Apple will never restore Rosetta or powerpc capabilities, should I go with option 2 and get on with the "new world"? I'm not too technically savvy and not sure how I can do this on my own... so would need to go see the Geniuses for this, I guess...  But I'm not sure what the advantages of Mountain Lion are! So far, I dont see much, and I am not sure I would know how to maintain a "Parallel PC universe" without doubling everything.
    Since I'm not sure of any advantages to Mountain Lion, I should maybe go back to my Snow Leopard version, then? but I am not sure how, exactly, without loosing everything once more.
    Of course, if someone knows there are powerpc capabilities for Mountain Lion in the future, then I am all set, right? Does anyone know how Apple or Microsoft plan to "help" us poor souls who choose Mountain Lion without being aware of these issues?
    (note: I have moved three times in the past two years and cannot get my hands on my iWorks CDs or my Microsoft Office 2011 CDs)
    Any recommendations?

    Dropping Rosetta was a technical decision. As stated, Apple has traditionally only supported it's current and last OS versions.
    There are tons of advantages to updating to Mountain Lion, assuming your hardware supports it. Look HERE for details and HERE for hardware compatibility and instructions on how to upgrade properly.
    Alansky is correct that this is not new news as well. He also is correct in saying that Rosetta will never again be supported. If I remember correctly, the last PowerPC version of Photoshop is CS2 released in 2005. That's 7 years and 4 major releases ago. Sorry to say, but it is time to bit the bullet, move to Mountain Lion and update your legacy software.
    I am using Microsoft Office for Mac 2011 and it runs fine on Mountain Lion 10.8.
    You can certainly install and run Snow Leopard in a Parallels partition but I don't recommend it. Take a look HERE for details.
    Not having your Office install disks sounds suspicious but we'll assume that you have a legal copy. In that case, you should be abe to contact Microsoft HERE for assistance in retrieving your product key and getting a download link.

  • In Lion, I can no longer replace an Application...

    In Lion, I can no longer replace an Application without the error "The operation can’t be completed because the item “Info.plist” is in use."
    I have to delete the application first, then move the new one into the Applications folder.
    Is there a fix? Older Mac OS X's never had this problem.

    The Applications folder is protected a bit more under Lion. But, you can still replace Applications. However, if you weren't the user that put the Application there in the first place, then you won't be able to replace it.
    I don't think I've seen that error associated with those permission issues, though. That sounds like something was accessing the info.plist for some reason while you tried to replace it.

  • Photoshop Service Application Error

    I just installed Premere Elements 9.  When I open Organizer in the Premere Elements welcome screen I get the message
    Font Capture: Photoshop Service.exe Application Error
    The instruction at "0x103e8453" referenced memory at "0x0000a74".  The memory could not be "read".  Click on OK to terminate the program.
    Since I had no other choice I clicked on OK.
    In the past I have hade a problem with Elements Organizer - Each time I opened Organizer the region/county box appeared.  Now, Organizer no longer requests the region / country when I opened it. 
    Can any one tell me what all this means and should I be concerned about the Photoshop Service.exe application error?

    I'd recommend you contact Adobe Tech Support with this one. It's not a typical issue by any means!

  • Firefox.exe +application error +the application failed to initialize properly (0x0150004) +click on OK to terminate the application.

    Win XP Home SP2
    Installed Firefox, but receive the following error message:
    firefox.exe +application error +the application failed to initialize properly (0x0150004) +click on OK to terminate the application.
    Have uninstalled and reinstalled several times, but same message. Firefox won't even open.

    Usually someone has been down the track before and occasionally they post some useful details which may help others to investigate and/or eliminate factors in their particular case.
    This AccessibleMarshal.dll error seems to have a long history --- posts from 2006 with early Firefox versions had issues similar to yours.
    There is a link and an excerpt below which could be worth checking in your case,
    particularly since it mentions the problem would occur on a clean install (no previous instance of Firefox on the system and Windows before Vista --??)
    Have a look here:
    https://bugzilla.mozilla.org/show_bug.cgi?id=712960
    and the post to read:
    '''Mark Banner (:standard8) 2011-12-22 12:55:21 PST'''
    "Created attachment 583905 [details] [diff] [review]
    Add the Win32 redistributable directory to the mozconfigs"
    "Somehow we missed shipping the Win32 Redistributables from Visual C++. We didn't detect this as it would only show on Windows versions less than Vista, and you'd probably only see it if you had a completely clean install, and you didn't have the dlls installed elsewhere (as it appears my XP system does)."
    "If you're seeing this then you want to copy the following files from a Firefox installation:
    Microsoft.VC80.CRT.manifest
    msvcm80.dll
    msvcp80.dll
    msvcr80.dll
    The patch I'm attaching updates our configuration files to specify the Win32 redistribution directory, which will then cause the build system to include the files in the build."
    .... ends....
    The earlier 2006 instances also had the same issue in some cases:
    forums.frontmotion.com/viewtopic.php?f=10&t=393
    Hope this progresses the search and resolution.
    Cheers

  • What are the main causes of slowdown (long term)?

    I've had my MacBook for about 3½ years now, and it's starting to slow down. (Hardware specs are in sig.)
    Yup, I know it's normal. It's happened with every computer I've owned, regardless of platform.
    *_WHAT I CURRENTLY DO ABOUT IT_*
    I routinely run Maintenance (http://www.titanium.free.fr/pgs2/english/maintenance.html), a free app that—yep, you guessed it!—performs maintenance on your Mac. It uses a mix of maintenance scripts that are built-in to OS X (OS X runs them silently, but this allows them to be run on demand), and some of its own methods for cleaning a Mac to keep it running smoothly.
    I've found that Maintenance does help—I definitely recommend it!—but the older my MacBook has become, it seems the less Maintenance can do to mitigate the slowdown that comes with age.
    *_MY CURRENT BELIEF_*
    I don't think it's because the hardware is old by today's standards, because in my experience if you reformat any machine it will operate significantly faster, even after restoring all of the software that was removed by the format.
    I've become increasingly suspicious about the hard drive's free space's effect on a system's performance. I've always known that it has a noticeable effect—less swap space for virtual memory—but I'm beginning to wonder if the effect of a mostly-full hard drive is much more than I have previously imagined. Just a feeling.
    *_MY QUESTIONS_*
    *#1: What are the leading causes of slowdown (long term)?*
    *#2: What are the solutions to each of the above problems?*
    • acknowledging that there may not be a solution to every problem, and
    • some solutions may solve a problem “more completely” than others
    Edited for clarity by Tony R.

    • I was under the impression that Disk Utility's “Repair Disk” would fix all non-permissions-related errors (other than physical damage, obviously). If they can be fixed by a backup-reformat-restore, then I take it they are software (filesystem) based problems. If so, why can't software solve the problem without a reformat?
    Disk utility can and does repair permissions and basic disk errors. However it does not rebuild directory data.
    • How exactly do directory structure errors happen, and what other consequences do they have (if any)?
    The article on alsofts website should help
    What is directory damage?
    It is worth noting that in the future when Mac OS X support the ZFS disk format directory damage will be a thing of the past.
    however as you said
    Yep, I'm at 11.2% free disk space. Thanks for the info!
    I think this is your main issue. Try moving your itunes and movie to an external drive then see how your mac performs.
    Also a good way to reclaim some space is to delete all the language localisations you dont use. It is amazing that iWeb alone can install a few 100megs of foreign language templates that you will never use.
    I used to use Mike Bombich's delocalizer to do this but that app is not longer available so I use monolingual now.
    edit, as you have macbook you are lucky in that it is really straightforward to install a bigger internal hard drive.
    You can now get 5000GB 2.5 inch sata hard drives. You could take out the old drive hook that up to a usb to sata cable, install a bigger hard drive. then connnect the usb cable to your mac. Then boot from your Leopard Disk then use disk utility clone your old drive onto your new drive.
    Message was edited by: Tim Haigh

Maybe you are looking for

  • Integration Scenario's utility in IR/ID ?? & Communication Channel

    Hi All, Please clear the following doubt about integration scenario and communication channel. 1. Is it necessary to create integration scenario in the IR(design) and then to import it in the ID(configuration) ?    Is it possible to create the integr

  • Improving Search for Keywords in NI Example Finder

    Search for Keywords is presently limited to logical "OR" search. It would highly profit from logical "AND" Search.

  • Pass URL Variables

    Hello - Thanks for Spry! I'm running into a problem that probably exists because I've cribbed a bunch of code from your demos that I don't fully understand. I have a set of photo galleries, which I've set up like the demo. A test link is here: http:/

  • New MacBook Pro 13' -- Random short buzzing sound

    Hi all, recently bought a MacBook Pro (Retina, 13-inch) laptop and have some issues which may or may not be related. 1. The last couple of weeks the laptop started making a random, brief, buzzing sound (maybe 1/4 of a sec in duration). Cannot identif

  • Airport express vista:help with joining a protected or unprotected network

    hello, i've been trying to set up a network between my computer and the airport express, with no luck, it works if i don't tell it to join my networks, but then i don't have internet access, and when i'm connected to the internet, i can't get both of