My program works only in debug mode

Dear all,

I'm just starting to use LabVIEW and develop a pilot thing.

The program is rather in order because I only used to work with text-based program.

The current program works without any error message from debug mode.

To give an idea of how it is made:

1. configure the serial port settings (address of the machine, baud rate, parity, etc.)

2. send to the instument the name of a short to run program.

3 send commands of mutiple string instruments.  These channel commands build a short program to control the instrument.

4 send another command string to run the short program

The problem is that it does not work in enforcement mode.  It seems to me that the communication between the device and the computer seems to be too fast.

Given that the program is designed in a sequential manner, not have a loop while or do loop so I can not add any timing function.

Could someone give me a tip or a good direction for this problem?  It would be really appreciated.  Thank you.

You could do something like the amendment attached. Note how I modified the component of connector for the Subvi in the classic 4-2-2-4 operating mode and notice where I connected the terminals.

NOTE: I guess that the VI is supposed to work only once, and that you do not use the continuous run button in the toolbar. You're not, are you?

Tags: NI Software

Similar Questions

  • my windows box works only in normal mode, cannot run in safe mode.

    my windows box works only in normal mode, cannot run in safe mode, in the fourth stamp corner with 'safe mode '. And when the loading starts there is a note: "3 processor system, multiprocessor kernel". When I run the Action Center in reliability monitor there is a note: "DefaultTabSearch.exe stop working. And when I check in the user account, in the tab - configure advanced user profile properties, there are 3 users: '1 default pofile (1.63 MB)' - "2nd computername\NameFileFolder (20.6 GB)" and "3rd computer name\updatus (58, 2MB)» Please give solutuion for this problem.

    I tried to restart and press F8 and already choose all the list of options, and the result is noting changed.

    Hello

    1 did you change on your computer before this problem?

    2 have you tried to run the Startup Repair tool? If so, what was the result? For more information, refer to this link: Startup Repair: frequently asked questions

    As you're able to boot in safe mode, you can restore the system back to its previous state when it was working fine:

    a. click Start, type system restore in the Search box and then in the list click on the system restore program.

    Note: If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    b. in the System Restore dialog box, click choose a different restore pointand then click Next.

    c. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    d. click Finish.


    Reference:
    System Restore: frequently asked questions

    Hope the information is useful.

  • Internet Explorer will work only in administrator mode

    Original Title: Internet Explorer 8, Windows Vista Home Premium sp2

    Internet Explorer runs only in administrator mode.  When I right click on the shortcut on the desktop or go to programs to load it, it loads then immediately stops working and freezes.  What can I do to fix this?

    Internet Explorer runs only in administrator mode.  When I right click on the shortcut on the desktop or go to programs to load it, it loads then immediately stops working and freezes.  What can I do to fix this?

    Suggestions...
    1. first check if your IE8 has all the defects.
    Start > default of programs > Set Your Default programs > column to the left, click Internet Explorer. He said 'this program has all its default value'?
    If not, click on choose by default for this program > check mark on each entry in the list > click Save.

    2 use this Microsoft Support Fix It application.
    http://support.Microsoft.com/GP/ie_freezes_or_crashes/en-us?EntryPoint=lightbox

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Programs work only with windows vista

    I've had nothing but trouble with my new computer and am more convinced, it's because of Vista.  Every program that I buy, which says compatible with vista doesn't work properly or at all.  The most recent is Adobe Photoshop Elements 7.  It worked 'ok' for a short period and now does not start at all.  I uninstalled and reinstalled several times, and I get the same message "not responding".  I bought other programs and had to take them because they would not work with vista.  I also have a lot of programs that I can't use because they are not compatible with vista.  When I bought my computer, I asked for XP and learned from Dell that it came only with Vista... What I want to know is can I get a refund for vista so I can get an operating system that works?  Thank you.

    There may be a problem with the operating system.  Programs you cite have no problems on my computer and I have not heard of them being problems on someone elses.

    XP has not been for sale for a few years.  Any refund is Dell.  What edition of Vista do you have?  You can use the recovery software and restore your computer as long as the plant and start over.

    Colin Barnhorst

  • Program works only with windows 7

    I developed a small application and built in version windows 7 2011.

    When I run this app in Start menu, this application does not properly run in windows 7. but when I installed this app in another pc that has windows xp, it works perfectly.

    For the Sub attached draft, Windows 7 this application generates the file support 'list', when I managed the start menu. But when I run the application where it is built in windows 7, it works too.

    Help me solve this problem

    Hi Nagaa,

    have you read MS recommendations for writing 'good' software? Do NOT write data files in the program directory!

    Win7 can hang this even when your application has administrator privileges...

  • Cumberland trees program works only with Vista

    My program of Cumberland family tree V2 worked on my old laptop with Windows XP dead. I bought a new laptop with Windows Vista, but this program does not start. I get an error - internal error 01:WSLKEYB. I tried to reinstall the program but still get the same error message. How to operate - in simple terms? Thank you

    "Alberte" wrote in message News: c56bb267-6617-4fd b-9fd3-bcaaf0a1dc1a...

    Thanks but not really what I wanted to hear!

    Apparently, there was a version 3.20, which fixed the problems of Vista, BUT:
     
    "This product is no longer supported or is it made available by manufacturers, Cumberland family software.

    --

    Mike Hall - MVP Windows Experience
    He's http://msmvps.com/blogs/mikeha.

  • HP Officejet Pro L7580 - HP Scan program works only on Mac OS Mavericks 10.9.2

    Hello there Support HP,

    I can not open HP Scan on my Macbook Pro / Mac OS Mavericks 10.9.2.  I have a HP Officejet Pro L7580. Scanning HP program / app just will not open.  I just scan them with my printer, like I did with my other Mac computer that still works on Mountain Lion.

    I would like to reinstall my HP software (HP Scan / to see if that would solve the problem but I can't find the software online.) It's all in your site is the HP-Printer-Driver Update - Patch_v1.0.0, but who has not solved.

    Please let me know if HP has a "HP Scan" for the Mavericks working update for my HP Officejet Pro L7580.

    I would really appreciate it!

    See you soon,.

    TS

    Hi tsmadlucky,

    Thanks for the reply!

    You are the very welcome, I'm glad it's a viable solution for you

    If you don't mind, would you be able to score my post as an acceptable Solution? That way anyone with the same issue can find the thread more easily if it is resolved. If you don't that's fine, that it has never hurts to ask

    Wish you a great week!

  • Satellite L30 Vista screen don't be turned on; extrnal monitor works only in Mode safe

    Hello

    I have LS30-10s.
    first the laptop screen not lit up even if I saw a pale ghost of the icons etc.;

    I tried the fact to unplug and now the switch down (battery is dead long) successfully intermittent and random;

    I borrowed an external LCD (Lenovo $) and went well, and by pressing Fn + F5 would actually sometimes make the laptop screen live too.

    I changed the screen inverter and that seemed to restore the laptop screen, but the next time I restarted + or + screen would work unless I chose safe mode.

    Currently I can only use the screen external and only in safe mode.

    Everyone knows this?

    Hello

    Just a few questions:
    The external monitor works properly before disassembling the laptop and replaced the LCD inverter Board?
    What exactly happens if you start the computer in normal mode?

    Have you tried to start Notepad using a Live CD (PE Win or Linux live CD)?
    I would also recommend to check if new OS install is possible.

    Safe mode is just a test environment and the system does not access all recourses of material by using safe mode.
    So, theoretically the issue could be related to a faulty hardware or system problems.

  • RoboForm does not work with your new browser. It is very fustrating and works only with Windows Explorer. I need to reinstall the old FIREFOX program?

    RoboForm does not work with your new browser. It is very fustrating and works only with Windows Explorer. I need to reinstall the old FIREFOX program?

    RoboForm has already released a version with support for the latest version of Firefox. See http://www.roboform.com/support/news. Try upgrading to the latest version of Roboform.

  • Why some games and other programs need to be "run as Administrator" mode in 7RC which worked fine in normal mode on 7 beta and vista?

    Why some games and other programs must be run in Admin mode in 7RC which worked fine in normal mode on 7 beta and vista?

    An example of this is the game Guild Wars (www.guildwars.com). I had problems with this with random programs.

    cbello57,
    Run as administrator may be required for some games and programs because they have a permission structure different in Vista in Windows 7 (Windows 7 and Vista are different in how to manage certain permissions).

    I suggest test you installation of the game in the program by clicking on the Setup file by clicking on "Run as administrator".

    This will sometimes solve this kind of situation because it installed the program in a State of high permission.

    This output from test and let us know your results Rami
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The code works in debug mode but crashes when compiling in release mode

    I am facing the following problem. I have code that works well when it is run in debug mode. However, when I compile it in release mode and run the executable file, code freezes and does not work. The code acquires images from a camera of Hamamatsu. In debug mode, I'm able to acquire images permanently. However, in the release version, the code crashes after the acquisition of the first image.

    I use version 7 of LabWindows/CVI.

    I would be very happy if I can get any help/suggestions for this problem?

    Thank you!

    Kind regards

    Kaddour

    Neji:

    If you search this forum for "version crash debug" or "release version crash" or other similar expressions, you will find that it is a fairly common question.  Look through the other posts that you find here to see if something applies to you.

    The debug version does a few things like padding variable, then you can sometimes invaded your space variable declared without crushing the next variable.  In the statement, the variables are packed, so if you invaded one, you replace another.  Just a possible difference.

    You can do some things in your exit code to see where things get lost, as (temporarily using printf after several instructions at beginning and end of your loop to try to identify this failure of line of code.)

    Look through other threads for other ideas.

  • HP Photosmart Premium 310a only works in E-Print mode.

    HP Photosmart Premium 310 has.

    Windows Pro 8.1 with the latest upgrade.

    Worked correctly until about 2 weeks ago.

    Will only work in E-Print mode. Does not work in USB mode or wireless.

    When you try to print in wireless mode I only get the message "No printer found."

    When you try to print in USB mode nothing happens.

    I uninstalled and reinstalled 6 times. When to reinstall it it will print a test page, but no word on another application, will work

    Re - install, I get the Trayapp.msi missing message when you try to reload the missing component from the installation disk it says that is not on the disc.

    Incidentally, I have a copy of assessment of windows 8 on my computer and when I boot to make the OS, the printer works fine in all modes.

    I've fiddled with it for more than two weeks and do absolutely no progress.

    Thank you

    Problem solved (very easily)

    %#&@Canned the printer and I bought an Epson!

  • NICs not appearing only in normal mode and wireless not work not (witness still on orange)

    Hello all and thanks to anyone who responds! I'm pretty clueless when it comes to computers, so I hope it's just something simple.

    I am running Windows Vista Home Premium with a Presario F700. The processor is AMD Athlon X 2, processor Dual-Core TK - 55 1.80 GHz. 958 MB RAM and 32 - bit operating System.I don't know if you need this information but better safe than sorry. OK for the problem.

    The computer is supposed to be wireless, but I cannot make it work. When I go to Device Manager in a single Normal boot device shows. It is said: NVIDIA nForce 10/100 Mbps Ethernet #2. I'm not sure what that means, but he says that this device does not work correctly. I couldn't HP Wireless Assistant to work so I followed some advice that I've seen an uninstalled but that did not help at all. I'm sure that's not my firewall is disabled. And I use Norton Security, but I don't know which is not affecting him either since it was a problem before I installed Norton.

    Also, if I boot mode safe more things highlighted in Device Manager. For example, it shows these: card 6TO4, isatap.hsd1.fl.comcast.net, NVIDIA nForce 10 / 100 Mbps ethernet #2 miniport (IP) wide AREA network, wide area network (IPv6) WAN miniport, miniport Wan WAN (L2TP), miniport WAN (PPPOE), miniport Wan WAN (PPTP). But only in Safe Mode. Even if I try Boot Mode safe mode w / Networking they always disappear and it's the only one. I have tried everything I know how to do but I'm at a loss as to what prevents it from loading the Normal start.

    On a side note, someone said to make sure that the adapter is enabled in the BIOS and I checked and the only thing remotely sounding like a NIC is enabled. He wasn't that anything listed in the order of boot on an adapter until recently, and it's at the bottom of the list with an exclamation mark next to it. However, the exclamation point is now gone, but NIC is always at the end of the list. I also ran the check disk thing, and he came back fine. I ran a full scan of the system without any problems but a few tracking cookies. I tried to uninstall in safe mode and start back to normal to leave the computer to reinstall without success. I also used the option reset back to the factory. While time consuming which did not help either.

    If anyone has any ideas as to what I can I would be very happy. I'm hoping to give this computer to my brother as a Christmas gift. Sorry for the long post but I wanted to make sure I was as complete as possible to save everyone time. Thanks again. And if I missed any information please let me know and I'll fix it.

    If reset you to factory, it should work.  It is a switch broken (I don't him think) a motherboard problem or probable internal problems with the wireless. Take it to a store because it is a common problem with these computers.

  • App works perfectly well on the Simulator (using all modes) and peripheral when z10 in the communiqué of the execution and debug mode. But creates a 'SIGSEGV = 1 fltno = 11 ip = 781722ec error code' when the term is used.

    My application switches between two documents qml is a home page, and the other is actually a video player. Whenever I press the button to go to the video page, it crashes on my z10 and generates the error «terminated code SIGSEGV = 1 fltno = 11 781722ec = ip...» ". But on the Simulator, it works (without of course plays video). When I use the race version and the debug mode, it works perfectly on my z10.

    This problem occurs frequently when I add a new code element. First of all, it happened when I added a scrollview and container, and it's happening now again when a defined a struct in the header file.  It would be nice to ignore this problem? or y at - it some deeper underlying problem which is the cause

    Just tried, I received the SIGSEGV error too, it looks like parent to AbstractPane fixed it.

    void ApplicationUI::changeScene(const QString& newQmlFileName) {
        // Create root object for the UI
        QmlDocument *qml = QmlDocument::create("asset:///" + newQmlFileName).parent(this);
        qml->setContextProperty("_app", this);
        AbstractPane *root = qml->createRootObject();
        root->setParent(this);
    
        // Set created root object as the application scene
        Application::instance()->setScene(root);
    }
    

    My test project is also attached to this message.

  • iMac works fine with safe mode only

    iMac works fine in safe mode, but in normal mode, it freezes constantly, the wheel that turns, the freezing of the apps, and when I try to restart, it gets stuck. I have to hard reboot. I tried to reinstall the operating system, which did not help. I have reset the NVRAM, but it has not solved the problem. I came across another post in 2013, with another user who was having a similar problem. There are detailed instructions to run diagnostic tests via terminal and display the results. This seemed to fix the problems of the user, but I don't know what to do with the information it generates. I have an iMac 2009 El Capitan 10.6.11 running. Can someone help me understand what the problem is?

    Post edited by: Namaste85

    If you have any type of antivirus, cleaning or ANY other third party maintenance application installed, please find the developers instructions and uninstall. At best, these types of applications are 100% useless and at worst they cause more harm (similar to what you are experiencing) than good.

    If you don't have one of these types of applications installed, run a report of EtreCheckof your system. We then look for obvious problems. Please click on the link, download the application and run the report. Once you have the report, please copy and paste into your response to this post.

    If you would like more information on what is EtreCheck, just click on the link and you will find a description of the application.

Maybe you are looking for