Why does my program run fine in highlight execution, but not normally?

When I highlight execution, the program runs fine, but when I run the program normally, nothing happens. (I believe the program is stuck at the initialize cam vi). If someone could help me out, I'd be very thankful
Attachments:
intensity10.vi ‏139 KB

The first troubleshooting technique I did was to add several "waits" throughout the program, particularily with the loops. I learned the problem was actually with the hardware itself and the camera mode. The camera must take an empty frame before it can store the image, thus the for loop needed to be replaced with a while loop.
However, after fixing the program using boolean logic, 2 of the buttons disappear on my front panel during use (which I will have to further troubleshoot). Thank you!
Attachments:
intensity11.vi ‏158 KB

Similar Messages

  • Why does my iMac run fine in Safe Mode but has many problems when it isn't?

    If you take a look at my previous posts you will see that I have had the usual problems that many, many other iMac G5 1.8 20" Rev A owners have been recently experiencing (Kernel Panics, Screen Blurs, Screen darker at top more than bottom, etc)
    I have discovered that the only way to stop all the numerous problems that I have been having is to start the iMac up in Safe Boot Mode
    In this mode it has been running Perfect! No Crashes! No Screen Problems! It's been wonderful to get it back to normal after all the peristant problems I have had! The only thing being that you can't use sound in or out or the DVD Player with Safe Mode!
    So the question I would like to ask is:
    So does this mean that the problems I had before were just Software conflicts/issues and not Hardware ones?
    Cheers for your help
    Bob
    iMac G5 1.8 20" Mac OS X (10.4.3) 2 Gig RAM

    When you start up in Safe Mode various things aren't loaded at startup, Bob.
    Have a thinbk about which of the following may be involved in your own case:
    It forces a directory check of the startup volume.
    It loads only required kernel extensions (some of the items in /System/Library/Extensions).
    It runs only Apple-installed startup items (some of the items in /Library/StartupItems and /System/Library/StartupItems - and different than login items).
    Mac OS X 10.4 Tiger only: It disables all fonts other than those in /System/Library/Fonts .
    Mac OS X 10.4 Tiger only: It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501.
    Mac OS X 10.4 Tiger only: It disables any Login Items.
    (from http://docs.info.apple.com/article.html?artnum=107392)
    Have a look at http://docs.info.apple.com/article.html?artnum=106464 for some more possibilities.
    You may find it worth while using System Prefernces/Accounts to creat a new admin user account and see if the problem persists with it. THis may help you narrow down the problem further.
    Cheers
    Rod

  • I can't seem to run my Playlist under Yahoo Music.. it runs fine with IE 9 but not Firefox 4 .... any idea why?

    I can't seem to run my Playlist under Yahoo Music.. it runs fine with IE 9 but not Firefox 4 .... any idea why? I can run a single song just not my playlist.
    Thanks.

    Had this problem for quite a while but found a work-a-round. I click anywhere in the text I want to delete and insert any character. I am then able to block and delete any text I want to. It's been working great.

  • Why does Build Application vi work in development environment but not in executable; error 1025

    Hello,
    I have an application ("A") that I am trying to build using another application ("BuildA").
    I can create an application for A manually from its project using the Build Specification, and it works fine (A.exe).
    Also, when I run BuildA.vi in the development environment it calls the "Build.vi" correctly and again builds application A.exe just fine.
    Then, when I make BuildA an application (manually) and run BuildA.exe, I would expect it to also create A.exe just like BuildA.vi did in the development environment.
    However, it fails with the error:
    Code: 1025
    Open VI Reference in NI_App_Builder_API.lvlib:Build (path).vi->BuildA.vi<APPEND>
    VI Path: <b>C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi</b>
    I noticed this thread , which looks like a similar problem, but no conclusion was reached.
    Why does BuildA.vi work fine in the LabVIEW environment, but the application BuildA.exe does not work?  All paths are hard-coded, so it shouldn't be a path issue.
    Thanks,
    -john
    Solved!
    Go to Solution.
    Attachments:
    AppBuild.zip ‏175 KB

    Interesting code.  I'm curious how you came to decide 324ms in your while loop, and 58 in the other, and then 5136ms at the end.  In any case I suspect this has to do with this line of text in the help of the Build.vi.
    If you plan to run a build specification on the LabVIEW Run-Time Engine, do not include the Build VI in any of the VIs for the build specification.
    I don't fully know what this means but it might be why it isn't working.
    The Build.vi opens all Context (application instances) and then looks for the one named "NI.LV.MxLvProvider".  This I assume is a application instance NI uses to build applications.  It then uses this and opens some other VIs in this instance for the building.  The error you are getting is "Application Reference is invalid" meaning it couldn't find the NI.LV.MxLvProvider instance it needs to build.  Again I believe this maybe because you are in a run-time environment and that instance doesn't exist there.
    At the end of the day I'm guessing since Application Builder is not free, NI probably doesn't include it in the Run-Time engine, which is free.  So you can't build the way you want.  You could have and EXE running in the run-time open an instance in the development, then run your VI from there if you must make this an EXE.  It maybe easier to just edit the BuildA.vi to have a "Run When Opened" so that you double click the VI and it runs which behaves like an EXE sorta.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Why does a program run in one account but not another?

    I am trying to run Prism (from graphpad) on my macbook pro. The application is hosted on a server accessed using an adress beginning with smb:// . I have copied the application shortcut to the dock and am able to run it absolutely fine on one user account. In my other user account, the program starts and goes through an initialization screen, then freezes (colourwheel when the mouse is over the menu bar). This application has run fine for the last 18 months, and has only now developed a problem. I have spoken with our institute's IT professionals, and they have suggested some things, but none have worked. My network connection is stable and, as far as I can, I have repaired all permissions.
    Any ideas? I really, really don't want to have to flip between accounts to use this somewhat essential graphing program!
    Thanks in advance!

    again,
    "start debugging by using the following in both functions:
    trace(this);  // to check if you're still within scope of your class in both."
    Ambari wrote:
    public function geoPieceBegin (e:MouseEvent): void {
                this.startDrag();
                this.addEventListener(MouseEvent.MOUSE_MOVE, geoPieceMove);
                this.addEventListener(MouseEvent.MOUSE_UP, geoPieceEnd);
                PuzzleGlobals.pieceActive = true;
                MovieClip(root).nameDisplay.text = this.fullName;
                if (PuzzleGlobals.currentLevel == "Name") {
                    MovieClip(this).nameOfState.textColor = 0xFFFCCE;
                trace (this); //traces [Object myGeoPieceObject].  this is helpful
                MovieClip(root)["bmc"+PuzzleGlobals.puzzleAbbrev].addChild(this); //works just fine
    public function geoPieceEnd (e:MouseEvent): void {
                //removing extraneous code
    trace(this);
                MovieClip(root).nameDisplay.text = PuzzleGlobals.currentPuzzle; //works just fine
                this.stopDrag();
                if (this.dropTarget.parent is GeoPuzzle) {
                    if (GeoPuzzle(this.dropTarget.parent).abbrev == this.abbrev) {
                        //removing extraneous code
                        MovieClip(root)["bmc"+PuzzleGlobals.puzzleAbbrev].removeChild(e.targe t); //removes object

  • Program running fine in Debug mode but failing in direct execution

    Hi All,
    I am facing a peculiar problem, I have created a report that create STO then Delivery and then Shipment one after one. I have used BAPI to do so. If STO creation is successful then Create Delivery and if delivery creation is also successfull then create Shipment.
    When I run this program by pressing execute button it is only creating STO and coming out ,but if I run it in Debug mode I get all the three( STO, Delivey,Shipment). Since it run fine in debug so I can't found where the problem is.
    Can any one help???
    Regards
    Hemant

    Hi guys,
    A learning for me .... how important WAIt parmeter is in commit work .. Initially i have not set WAIT paramater in commit BAPI to X due to this further processing.. Delivery and Shipment creation was failing in direct execution ... as after STO creation I was reding EKPO and that was failing in direct execution , but in backgroung everything was ok.
    Thanks for your time.
    Cheers
    Hemant

  • Why does malloc operation fails on solaris 9 x86 but not on solaris 10 x86

    Hi:
    - We are building an application written in C
    on x86 Solaris 9, x86 Solaris 10, and sparc Solaris 9.
    - During testing, we noticed that
    when the application is built on x86 Solaris 9, it dies silently;
    when the application is built on x86 Solaris 10, it runs perfectly fine;
    when the application is built on sparc Solaris 9, it runs perfectly fine;
    when the application is built on cygwin, it runs perfectly fine.
    - The statement which causes the application to die silently is:
    /* Allocate space for procedure arguments. */
    if (( myArgv = (char **) malloc(( argc+1) * sizeof(char *))) == NULL)
    - My question is: how should I change our x86 Solaris 9 nightly build
    to build the application properly ?
    - Our build systems are:
    sparc Solaris 9
    ===========
    SunOS host1 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-5_10
    Solaris 9 12/02 s9s_u2wos_10 SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 05 November 2002
    x86 Solaris 9
    ==========
    SunOS host2 5.9 Generic_118559-11 i86pc i386 i86pc
    Solaris 9 12/03 s9x_u5wos_08b x86
    Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 21 November 2003
    x86 Solaris 10
    ==========
    SunOS host3 5.10 Generic_120012-14 i86pc i386 i86pc
    Solaris 10 8/07 s10x_u4wos_12b X86
    Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 August 2007
    Thanks
    JL

    You should never pass something to free that wasnt received from malloc.
    Although as a special case, free of the null pointer is allowed.
    Thats all clearly written on the malloc man page..
    So if your program is free'ing non malloc'ed pointers, then thats a bug in your program.
    So based on your code sample above
    free(ds_namv[j]) would be illegal.
    But free(data[j]) should be OK, since thats a null pointer.
    However, it should be perfectly fine to assign a new malloc'ed value to an existing pointer whether or not it was originally initialised using malloc.
    When you assign it, the original value is irrelevant.
    Additionally, the code fragment ds_namv[j] = (char**)"\0"; demonstrates some further conceptual problems.
    "\0" isnt of type (char **). It's of type (char*). And its a pointer to constant space. So writing to the area pointed to, would be illegal.
    As to why it works on sparc but not x86.
    The code appears to have a number of errors, and you just got lucky that it ever worked on sparc...

  • Why does lightroom read my images on my laptop but not on my desktop from an external hard drive?

    I use an external hard drive for my Lightroom images. When I travel I take that external (plus a second identical one for back-up) with me and use my laptop. When I return home, I use that external to view and edit my images on my desktop. Suddenly about 350 images show up as missing or offline when I view that external drive on my desktop. When I return it to my laptop, everything is fine. Nothing is seen as offline or missing. What can have happened? I use the same external, the same catalog and do not understand why the images are seen only on one computer and not the other. I am an Apple user but can't see what difference that would make. This is the first time I have had this problem. Help would be appreciated.

    Thanks for your thoughts. I have compounded my problem now by upgrading my desktop's operating system. (I had upgraded my laptop and thought that that might be a problem...two different operating systems) Now my desktop cannot open Lightroom 4.2 for some reason. I have an appointment with the Apple people tomorrow so I will see what comes next. Right now it is from the frying pan into the fire for me.
    Check "New Images" Gallery at:
    http://Noffi.smugmug.com

  • Why does my computer say that its plugged in but not charging yet the battery is not reducing

    it says plugged in, not charging, 99% (battery life)
    but the battery life is not reducing & hasnt for 2 days. it just stays like that.
    hp pavillion dv5-2132dx    laptop
    windows 7 64 bit
    i have had a few weird occurences and im not sure what caused it. abruptly my speakers would stop working & my battery life would start reducing. that happened i think 3 times over the course of several months. this last time which was the 3rd is when i changed electrical outlets thinking that maybe that was the problem. and the power & speakers immediately went back to normal. its only been a few days since i changed outlets & everything is working as it should be however as mentioned the battery icon on the taskbar says that its plugged in but not charging & it remains at 99% for the last 2 days.

    Hi,
    First of all, shut down the notebook, unplug the AC Adapter, remove the battery, and then hold down the Power button for 30 seconds.
    Now, plug in the AC Adapter without the battery inserted, start the notebook, open windows Control Panel, open Device Manager, expand the entry for Batteries, right click on and the Microsoft ACPI Compliant Control Method Battery and select Uninstall - do not uninstall anything else here.  When the uninstall is complete, shut the notebook down, unplug the AC Adapter, re-insert the battery and then start the notebook on just the battery.  Windows will automatically reinstall the driver - leave Windows running for a few minutes. Shut down the notebook again.  Now plug in the AC Adapter ( with the battery still inserted ) and start the notebook to see if this has helped the charging issue at all.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Why does data/3g work on my O2 sim but not with Three sim (iphone 5)?

    as the title says...
    i have been using an O2 sim for a while in my iphone 5 without problems.  today i tried a sim from the three network.  calls and texts work fine, but i can not get any data connection to work.
    i have been on the phone to three and tried many different settings/network resets etc. 
    when  i put the sim in the phone updated automatically - i was directed to go to "settings>about", where it asked me to update. i clicked yes. after a long phone call with three, they say all my settings are correct. 
    i have tried the same sim in an iphone 4 and the data works fine with it, so there's definitely something a miss with the actual iphone 5 handset.
    i am running ios 7.0.4
    (in setting > about)
    carrier: Three 15.6
    Model: ND662B/A
    Modem firmware 5.02.00
    any ideas?
    thanks 

    Hi. :)
    Thanks for the reply.
    When I insert the three SIM card there is no option for apn. From what I've read, three do not allow it. The apn settings show up fine with my O2 sim.
    I have noticed something strange when playing about with the data. If I open tunein radio app with wifi and steam a live broadcast, if I switch on data and then switch off wifi, the stream still plays. Then when I look at my data usage it shows data has been used. If I try and use data at the start of the app, it will not connect and I still can't get the data to work on anything else. So some slight element of the data connection is getting through.

  • Why does my itunes work in the guest account but not my administrator account?

    I have tried to reset, retry, restart, reinstall and restore itunes on my pc to figure out why it won't work on my administrator account yet it's fine if I sign into my guest account. It worked fine one day and the next, just didn't work.  I have Windows 8.1. Any ideas?
    Thank you,
    Simone

    Make sure that mouse keys aren't on. System Preferences > Universal Access > Mouse and Trackpad
    System Preferences > Language and Text > Make sure that U.S. is selected. If there are multiple languages selected there will be a flag in the menu bar and make sure that that is set to U.S..

  • Why does the flash player work on some website but not others??

    I have the new flash player, and for the most part the player will work on some web sites. However I like to be on myspace and it says that I have to install the new version of the flash player. However I ALREADY have the new verison. There are other site that I go to as well and it tells me the same thing. what is going on and how can I fix it. I am at my wits ends right now and I dont know what to do. Can any one help me please

    I had the same issue when I had created Flash Paper items. I had found the a solution on my opinion.
    http://www.eolsoft.com/freeware/flash_movie_player/
    you actually need a Flash Movie Player and not Flash Player. they are different. the only issue is that Adobe does not support this anymore.
    so what I did is placed the EXE file of Flash Movie Player found on the link above on my server, made a note to my viewers that Flash Movie Player is required to view the documents.
    I found this solutlion when my boss asked why he could not view any of the Flash Paper Documents

  • Why does a particular iCal calendar appear on Mac but not iPad?

    I use several calendars within the iCal application ( personal, business, etc.)
    All of those calendars sync between my Mac and iPad just fine, except one,... it's a football schedule i named 'Buckeye.'
    All my calendars, including Buckeye, appear in the drop down menu on both my Mac as well as my iPad. Why won't this Buckeye calendar appear on my iPad?
    Caveat:
    This Buckeye calendar happens to be a 'subscription' calendar. The others are all 'normall calendars which I key in manually.

    Thanks for your help... here's the link:
    http://edtech.boisestate.edu/dbeck/Page%201.htm

  • Why does my site appear "messed" up in CS6, but not in CS5?

    I am on default preferences on both programs, and within cs5 my site appears just fine in design/split mode, but in cs6 it appears messed up. Here are two screenshots:
    CS5:
    CS6:

    As per your previous identical post: http://forums.adobe.com/message/4508394

  • Why does my Web Handler work with Internet Explorer, but not with Firefox

    I am trying to develop a web page that uses the Simile Timeline (http://code.google.com/p/simile-widgets/wiki/Timeline) with data from SQL Server.
    In initial testing of my timeline I tested it with Example.xml, a static XML file in the correct format to be event data. I wrote the following in the appropriate place within mytimeline's Javascript: -
    var WebHandler = "Example.xml"
    tl.loadXML(WebHandler, function (xml, url) { eventSourceFamily.loadXML(xml, url) });
    This worked fine with both Firefox and Internet Explorer. I then changed the assignment to
    var WebHandler = "GDBTimeline.ashx?Type=Family&Userid=" + getControlValue("input", "hdnUser");
    so that invoked a web handler that could look up the SQL database and return the XML that I wanted, and wrote this web handler.
    This works perfectly with Internet Explorer, but with FireFox the timeline band is blank. Yet when I examine the http traffic with Fiddler2 (http://www.fiddler2.com/fiddler2/) I see that with either browser there is a response from URL
    /GDB_pages/GDBTimeline.ashx?Type=Family&Userid=robertb
    that returns the XML that it is supposed to.
    I have previously used web handlers with Firefox before, with no problems. The Fiddler results conclusively show that the web handler is invoked, and returns the appropriate XML, and this XML is identical to the XML from the static test with Example.xml.
    Where do I start looking for answers? I don't even know if this is a Simile problem, a Firefox problem, or an ASP.NET problem.
    Thank you, Robert.

    Problem solved. The issue: Content Type was not correct.
    Visual Studio creates the web handler with dummy code like this: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    context.Response.ContentType = "text/plain"
    context.Response.Write("Hello World")
    End Sub
    I wrote a database query that set a string variable to the XML I wanted: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    Dim Outstring as string
    ' my logic to fill Outstring with XML
    context.Response.ContentType = "text/plain"
    context.Response.Write(Outstring)
    End Sub
    This works with Internet Explorer. However it's not strictly correct: to make it work with other browsers as well,
    context.Response.ContentType = "text/plain"
    should be
    context.Response.ContentType = "text/xml"
    It now works with IE, FF, and Chrome, and presumably all others.

Maybe you are looking for

  • Can't update my ipod software

    i have the 2nd generation ipod touch and the latest version of itunes (10.4.1) the software version on my ipod is 4.2.1 but i think the latest is 4.5.something right now. when i go to the summary tab and click check for update, it says that my ipod h

  • How to hide a report

    Hi, I have a form and report on the same Apex page. Is there a way to only show the report when the user clicks on the "Submit" button. That way the report will only show up when the "Submit" button is clicked on with the form data. Thanks.

  • How to check frequency of ABAP program usage

    Dear Experts, How to find out the frequency of ABAP programs executed by users? the reason is because we want to do a housekeeping on all the ABAP reports that we have developed over the years, we want to deactivate those reports that are no longer e

  • Linking relational data to folders in XMLDB Repository by using metadata

    Hi, We want to use the XML DB Repository to store documents (PDF, Word, etc) belonging to customers, dossiers of customers, invoices of customers, etc. To accomplish this we are thinking of a folder hierarchy with the first level being customer folde

  • Flash drive for 10.6.8

    I have a ibookg4 on a ox 10.6.8 use to be 10.4.1. i used a flash prayer 1.0.2.164 flash drive, but i tried to put a 12 adobe flash player on it.  don't work.  what flash drive to i get.