LabVIEW program works in highlight mode and does not not in normal mode

Hi all

I want to explain my program first,

I wrote a program where try to establish communication between Labview and the microcontroller. I am trying to select the com serial port automatically by this program. I joined VI which shows the logic that I used. LabVIEW checks each port working on the computer, writing of visa "and expected to read the '." The fi ' is recived then the loop ends here and shows the good port where the microcontroller is connected. Otherwsie, he continues to look for... each logic works I tried to check in any case, it is work, but it does highlight mode. When I try to run in normal mode, the loop is not able to properly read the microcontroller running permanently. I checked for the output baud rate, no bytes ect., tried somany ways... but it still does not work.

I checked with all the delays, but I could not understand the problem. I don't have much expirence with Labview... Can someone please help me solve this problem?

Thank you

Dembélé

I see a lot of possible race conditions in your code and no time between write 's' and read the port.

Also follow these steps:

Do this way:

You may need to reverse your logic too.

Tags: NI Software

Similar Questions

  • Help, please! Why this code work in 6i form and does not work in forms 11g

    I tried to fix this thing for weeks and for some reason that I can't understand how to operate.

    Here are the error codes I get:

    FRM-41219: can not find the report: invalid ID (this pop on the screen I then click on the ok button the next show at the bottom of the screen)

    FRM-40738: Argument 1 of builtin RUN_REPORT_OBJECT cannot be null

    Basically, this code is supposed to call a report that puts another screen pop up and display the report.

    Here is the code behind the button on the form "File Print".

    :OVERALL. THE_NUMBER: =: REQUEST_SEQUENCE;

    IF : REQUEST_AMOUNT<100000 THEN : TEXT_ITEM83: =: request_amount;

    ELSIF : REQUEST_AMOUNT> THEN 1000000 : TEXT_ITEM83: =1;   / * I think the ELSIF should be replaced with ELSE IF don't know * /.

    END IF;

    : TEXT_ITEM74: =:GLOBAL. THE_NUMBER;

    THE_REP;

    Here is the code that is behind the box of quere.

    Start

    : global .qry_rep_val: =: quy_rep;

    : display_item78: =: global .qry_rep_val;

    If: global .qry_rep_val = '3' then null;

    elsif: global .qry_rep_val = 1 then

    run_vba_rep1;

    elsif: global .qry_rep_val = 2 then

    run_report_for_last_query;

    elsif: global.qry_rep_val = 4 then / * Yes, there is an extra space between the two, the 'val' and '='. Should I delete TI * /.

    Call the form ('/ export/home/oracle/Middleware/Oracle_FRHome1/forms/vba_tda_qry ', HIDE, NO_REPLACE, QUERY_ONLY);

    end if;

    : qry_rep: = 3;

    end;

    I guess that the problem is in the run_report_for_last_query procedure. There will be something like run_report_object. Could you post this code?

  • The Ezcosmos program is older and does not work in Windows 7

    It works under DOS programs maybe it's 1995.

    And does not work in Windows7

    and the company has not updated this software since the last editin

    If you have the 32-bit version of Windows 7, you might be able to run it in compatibility mode.  If you have the 64-bit version, you would need something like XP Mode.  XP mode requires you to have the Professional, Enterprise, or Ultimate version.  You can use the Anytime Upgrade If you are not one of these.  Graphics mode XP are not suitable for fast action games, but I get 1360 x 760 with 16 bit color, when I enlarge the window XP Mode.  It's good enough for most applications.

    Good luck.

  • big problems after the installation of Yosemite (10.10.2) with Photoshop CS6... The program crashes - last time 10 times during my working session... wacomtable does not work... It's slow... and receive errors on the graphics card... It s a terror to work

    big problems after the installation of Yosemite (10.10.2) with Photoshop CS6... The program crashes - last time 10 times during my working session... wacomtable does not work... It's slow... and receive errors on the graphics card... It s a terror to work with my beloved Photoshop!

    Yosemite upgrade very often damage existing Photoshop.  I thank Apple for that.

    You must uninstall and reinstall Photoshop, then apply all the updates of Photoshop from scratch.

    But first, give us details about your configuration:

    STANDARD TEXT:

    Note that it is standard text.

    If you give complete and detailed information on your configuration and the issue,

    as your platform (Mac or Win),.

    accurate versions of your operating system, Photoshop (not just "CS6", but something like CS6v.13.0.6) and the bridge.

    your settings in Photoshop > Preferences > performance

    the type of file you were working.

    specifications of the machine, such as total installed RAM, scratch file HDs, total available disk space, video card specifications, including total VRAM installed.

    What troubleshooting steps you have taken so far

    what you receive, error messages

    If problems of opening raw files also the exact camera brand and model that generated

    If you experience problems printing, specify the exact brand and model of your printer, the size of the paper, the dimensions of the image in pixels (so many pixels wide by pixels high). If going through a TEAR, specify that too.

    A capture of your settings, or the screen image could be very useful also,

    etc.,.

    someone may be able to help you (not necessarily this poster, which is not a Windows user).

    Read this FAQ to get advice on how to ask your questions correctly to get faster and better answers:

    http://forums.Adobe.com/thread/419981?TSTART=0

    Thank you!

  • The foot pedal RS27 and Olympus AS-5000 - work of transcription for Windows 8 or 10 (pedal does not work on Windows 7 and do not want to shell out $300 to Olympus again)

    The foot pedal RS27 and Olympus AS-5000 - work of transcription for Windows 8 or 10 (pedal does not work on Windows 7 and do not want to shell out $300 to Olympus again)

    Any help Nauru will be stuck with Windows Vista, I had to get three versions of Olympus and their pedals over the years and all they do is change the wiring or jacks, stupid as * I just like five different types.

    Desperately need to know if these pedals will work or does he know about the Sony or another software of transcription for the typist, not the dictator.

    Help.

    Hi Marvin,.

    Thank you for the quick update.

    Yes, I understand your question. However, if the programs worked with an earlier version of Windows, they can work with Windows or Windows 10 8.1 if you install programs in compatibility mode. If you access the executable file (.exe) for the game, I suggest you follow the steps provided below:

    Step 1: Download and save programs on the desktop.

    Step 2: Install the programs in compatibility mode.

    • Right click on the .exe file and click Properties.
    • Go to the compatibility tab.
    • Check the box for run this program in compatibility mode for:
    • In the list of operating systems, select Windows Vista (or any other compatible OS) .
    • Click OK.
    • Double-click the executable file to install the program and follow the instructions on the screen.
    • Restart your computer.

    Additional information:

    Make the programs more compatible with this version of Windows

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • I can't get adobe to work and when I look in ms confing is shows that it is stopped and does not work how can I run past

    i cant get adobe flash player to work and when I look in ms confing is shows that he is arrested and does not work how can I change to run again

    Hello

    This can help you:

    Download and run the Flash Player uninstaller program.

    http://helpx.Adobe.com/Flash-Player/KB/uninstall-Flash-Player-Windows.html

    Then download and install Flash Player; After unchecking installing Chrome and Google toolbar option:

    http://get.Adobe.com/flashplayer/?promoid=BUIGP

    If the problem persists, you may want to ask in the Forums of community Flash Player:

    http://forums.Adobe.com/community/flashplayer

    See you soon.

  • Windows media Center and games does not work, and does not work error message d3d8thk.dll

    my media library does not work and message d3d8thk.dll isn't continuous work to come.  How should I do?

    D3d8.dll error message could apply to any program that uses Microsoft DirectX, most video games.  I suggest following the steps below to solve the problem.

    1 restart your computer if you have not yet.

    D3d8.dll error could be a stroke of luck and a simple restart could clear up completely.

    2. install the latest version of Microsoft DirectX.  Chances are, the upgrade to the latest version of DirectX will fix the d3d8.dll not found error.

    Note: Microsoft frequently publishes updates of DirectX without updating the version number or letter, so don't forget to install the latest version even if your version is technically identical.

    Note: The latest version of DirectX should be installed no matter if you are running Windows 7, Windows Vista or Windows XP.  Installation can include DirectX9 and DirectX10 files but they run side-by-side without problem on all these operating systems.

    3. assuming that the latest version of Microsoft DirectX does not correct the error of d3d8.dll you receive, search for an installer of DirectX on your game or application CD or DVD.  Usually, if a game or other program uses DirectX, software developers includes a copy of DirectX on the installation disc.

    Sometimes, but not often, the DirectX version, included on the disc is a better fit for the program than the last version available online.

    4 uninstall the game or software program and then reinstall it again.  Something could have happened to the files in the program work with d3d8.dll and a reinstall might do the trick.

    5. restore the file d3d8.dll since the latest DirectX software package.  If the troubleshooting steps above have not worked to resolve your error d3d8.dll, try to extract the d3d8.dll individually from the downloadable package of DirectX.

    I hope the information is useful.

    Kind regards

  • printer do not wake off mode 'sleep' and does not turn off when the Start button / stop pressed or pushed.

    HP printer all-in-one B210a win 7 64 bit.

    no error message just don't wake up from power saving mode and does not turn off when the power button is pressed. must be disconnected and then turned back on. works fine until the power saving mode he did go to sleep then not answer the test print command or Toolbox controls.  power saving mode is turned off, but still goes to sleep.

    First, you will need to make sure that the printer is under warranty.  You can do it here.  So, if you are in warranty, you must contact HP at 1-800-474-6836 and the United States in computer science, international users click here.

  • Network type changes 'Public' and does not return to work when the default gateway is detected

    Original title: Type of network not restored on ethernet cable reconnect.

    I have a Dell Precision R5500 running Windows 7 Professional Service Pack 1. It is connected to a network that is stored as a type of 'work '. When the ethernet cable is removed and replaced network type changes to 'Public' and does not return to work when the default gateway is detected. I also have a Toshiba Tecra M10 running Window 7 Professional Service Pack 1 that initially detects the network restored as 'Public', but 'Work' once again Exchange is a connection to the default gateway. Is there a setting somewhere in the strength of the network to double check its type periodically?

    Hello

    You have any other network assets wireless (specifically) running on the computer?

    Have another active network connection could also cause this.

    Allows us to follow the methods mentioned below and see if they help.

    Method 1: Run the network troubleshooter.

    When the network type gets changed to 'Public' after the cable is disconnected and reconnected. The troubleshooter should let you know if there are errors with the associated services.

    See the following article:

    Using the troubleshooter from network in Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7


    Method 2:
    check if network discovery and file sharing options are enabled in the network and sharing Center.

    See the following steps:

    a. click on start toreduce this top, type network and sharing Center in the Start Search box, and then click network and sharing Center in the programs list.

    b. If network discovery is off, click the arrow to expand the section, click turn on network discoveryand then click apply.

    Reduce this includes this imIf that you are prompted for an administrator password or for confirmation, type your password or click continue.

    c. If file sharing is off, click the arrow to expand the section, click turn on file sharingand then click apply.

    Collapse this includes this ima

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


    Method 3: Uninstall the network drivers and then install the last set of drivers on the manufacturer's Web site and check the issue.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) expand the network adapter, right click on the adapter option

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • Elements of Contact Sheet II 14 shows a program error and does not open

    PSE 14 poster program to the file/Contact error card II and does not open.  How to make it work properly?

    If you go to

    (user) Library\Preferences\Adobe\Plugins\Adobe Board Contact II PSE12\Elements

    and remove the

    Adobe Board Contact PSE12 Pref.

    If all goes well, you should be able to use the plugin Contact Sheet II again.

    To view your library, the user in the menu go to the Finder press the Option key, then you should see library listed in the menu to reach.

  • I got creative cloud, InDesign now says the trial has expired and I have to buy the program. It seems that it does not update I already have a plan. How can I do to?

    I got creative cloud, InDesign now says the trial has expired and I have to buy the program. It seems that it does not update I already have a plan. How can I do to?
    If I pay for a product that I can't use.

    Using creative cloud | Applications creative Cloud back to update evaluation Mode to 2015 CC

  • I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application also does not work for my site

    I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application does not also work for my site.

    Settings > privacy > location Services > confirm you always give permission to these applications to use your location.

    If not, try these standard troubleshooting steps.

    -Reset: hold the Home and Power buttons until you see the logo Apple (10-15 seconds).

    -Restore your iDevice: https://support.apple.com/en-us/HT204184

    If your backup is in iTunes, make sure that it is encrypted.

  • iPhone 7 more - Siri iOS10 not work and does not

    I received my iPhone 7 Plus 3 days ago and tried to set up "Hey Siri". In the process, I noticed that Siri was insensitive and does not work.

    I did some troubleshooting and started with the reset, restore, turned dictation & Siri/off voltage (before and after reboot) and still no response from Siri.

    I proceeded to remove the hardware problem by making a call and speaking directly into the microphone with high and low height during a call. Nobody who assists heard both high and low perfectly. I only tested the microphone with voice memo and the microphone worked fine.

    Called customer service on speaker (which call was working properly) but they were unable to provide a response, rep said she would follow with me Wednesday.

    I press the home button, Siri will appear with the wavelength and as soon as I said a word Siri States "I didn't understand" and rest wavelength normal. I don't know if there is a problem with my phone or iOS10, but if someone has an answer or has the same issue please chime. Thank you!

    iOS 10, when using Siri, you hold DOWN the home button while talking with Siri.  Release the button when you are finished speaking.

    Best,

    GDG

  • As I installed Sierra, my Trusteer account to my Bank quit and does not work when I reinstall. Neither will Quickbooks!

    As I installed Sierra, my Trusteer account to my Bank quit and does not work when I reinstall. Neither will Quickbooks! Help!

    Trusteer (report) has caused a lot of problems Mac users such noted search Apple Support communities here.

  • Download Nikon D90 photos via a cable of Photos does not work. The picture freezes and does not matter. Any ideas?

    Download photos of Nikon D90 Photos OS El Capitan 10.11.16 cable does not work. The picture freezes and does not matter. Any ideas?

    Try with Capture of Image (in your applications folder)

    LN

Maybe you are looking for

  • Equium - after installing Windows, I can't use the touchpad

    I think the TouchPad should work after Windows instalation. I can't use TouchPad although I 'Synaptics' mounting in versions: 9.1.14.0 and 14.0.3. Vista show me the message when I install the driver (thws-20070919162134): "bad serial number" so that'

  • Equium A100-027: Zoom unselected appears on the screen

    A zoomed undemanded on my screen area display took my Equium A100-027 (Vista).I was not able to identify what actions mine trigger this, and the only way to get rid of it is to restart the computer. Does anyone have any suggestions as to why this is

  • Cannot install Windows 10 on T460s with Samsung 950 PRO NVMe M.2 SSD

    I can't install Windows 10 on my T460s brand new. It was delivered with Windows 7. The original Windows 7 starts fineI started the installer of Windows 10 bootable USBI deleted all the partitions on the system and then tried to create a newThe error

  • Smart Array P400 (upgrade of cache)

    IM the raid card running with standard 256 MB cache module, but im having 2 512 Mo hiding laying around and you want to update the map with one. and all hell breaks in bulk... the map gives the error "cannot start/start card. When I put the 256 'orig

  • Standard SQL base License

    I have a server with 32 cores. I need to buy SQL Standard 2014 for this server. 2014 standard SQL supports maximum of 16 cores. Is it possible to use all of the server 32 cores. For example. If I buy 16 core license and install 2 Standard SQL instanc