Program LabVIEW will hang between 33% and 50% of the time.

I have a problem with a Labview program, I did. I have two programs that do the same thing. One is as a flat sequence, and the other is in the form of State machine.

As explained in the link below, I would like to use a microcontroller to perform wiring for automation of a measurement process. A separate current source and volt meter will be used.

https://forums.NI.com/T5/LabVIEW/sequence-a-good-idea/TD-p/2601333

I did some simple test programs that I join since then. The problem is when running, that the labview program crashes, but not all the time is to run the program.

For example: Hall 1.2.vi will correctly work twice with the third time, he is executed, it crashes. If Cancel you and try again, it will run again twice without any problem with the third hanging. It is in the flat sequence format (was in a flat sequence, but merged windows because I thought that was the cause). From what I can tell, the program crashes when calling Keithley 6517 unique Read.vi. Two connected Keithley devices are connected to the computer via GPIB to 16 and 27. The way I checked if it was this vi the cause or contributed to what I deleted the program never hung and it. I find it very strange that it crashes exactly on the third attempt every time.

Simple.VI Hall 1.3 will work the first time and hang the second time. If it works 50% of the time. It is in the format of State Machine. It hangs in the case entitled "Measurement 1" that contains the Keithley 6517 unique Read.vi.

I used the running highlight button and watched the program to run. Curiously, it only crashes when you use this button. So I tried to add some delays/waiting in different places without success.

This could be the cause? As a side note, I say that the program is suspended for two reasons. The principal is the program does not run so the execution arrow is always black. The second thing is that if you notice at the end of the labview program, I have a block he who turns to the power source which does not happen when it crashes. I have to turn it off manually, and then click the abort program button to stop labview.


Tags: NI Software

Similar Questions

  • opening program minimizes and optimizes all the time

    progam start showing some problem of its own.

    progam was started for the first time after starting the computer indicates a sound problem, windows Explorer minimizes and optimizes all the time until he is arrested. Pls suggest a solution for this type of problem.

     
    1 did you do changes on the computer before the show?
    2. you receive an error message?
    3. what version of operating system you are using on the computer?

    Method 1:
    You can run a Microsoft security scanner to make sure that the computer is free from virus infection:
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    WARNING:
    If you run the antivirus program that is infected by the virus scan will get deleted. Therefore, reinstall the program. Also if the files and folders are affected by the virus, while they might even get deleted

    Method 2:
    You can also perform a clean boot and check:
    Windows XP: How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353
    Windows 7 and vista:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete do not forget to reset the computer to a normal startup. Follow step 7 in the above article.
     
    Method 3:
    You can also try to run a SFC scan, it will scan and try to correct some of the system files.
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
  • I am trying to decide if I want to register at the price of 9.99 a month plan. Will I get LR6 and I have the choice of using PSE?

    I'm trying to decide if I want to register fo RL CC 9.99 a month plan. Will I get LR6 and I have the choice to use PSE?

    Cloud creative photography subscription only includes Photoshop and Lightroom.

    Photoshop Elements that you will need to buy as individual application that comes with the serial number.

    Please check the link for more details below:

    Lightroom and Photoshop | Plan of cloud of Adobe's creative photography

  • Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Trying to cancel my subscription but can continue to will return to bike and returns through the cancellation process - tells me I need to call customer service but no phone number is available.

    Hello Marilyn,.

    Please sign in to your Adobe account and then go to the link below:

    Contact the customer service

    Reference: cancel your creative cloud membership

    Kind regards

    Sheena

  • Windows Explorer does not work properly and hold all the time

    I have Windows 7 Professional as a platform. In the end, I find windows Explorer does not correctly and hold all the time. Pls advise on how to solve this problem. Note I am not a computer Savvy and I need a step by step approach.

    Thank you for your time and enjoy your time.

    .

    Hello

    Use the startup clean and other methods to try to determine the cause of and/or
    eliminate problems.

    ---------------------------------------------------------------

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Include
    everything you've ALWAYS had on this machine, including those you have uninstalled (they
    remains of leave behind which can cause strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows
    Vista or Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes without doing anything-
    then right click on taskbar - task manager - take a look at stored by -
    Process - Services - this is a quick reference (if you have a little box on)
    Lower left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Is a quick check to see who are loading method 2 - using MSCONFIG
    then after a list of these here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what files, registry keys, and other objects
    processes have open, which DLLs they have loaded and more. This unique
    powerful utility will show you even owned by each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically
    When your system boots and you connect. Autoruns also shows you the complete list
    locations of registry and files where applications can configure start automatic settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor file system, registry, process, thread and DLL
    activity in real time.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    WhatsInStartUP - free - this utility displays the list of all applications that are
    loaded automatically when Windows starts. For each application, what follows
    the information is displayed: Type of startup (registry/Startup folder), Command - Line
    Channel file, the product name, Version, company name, location in the registry or
    file system and more. It allows you to easily disable or remove unwanted programs
    that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe
    not. The window Watcher says it all, every window created by each execution of the statement
    program, if the window is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded
    on your system. For each driver in the list, additional useful information is
    Poster: load address of the driver, description, version, product name,.
    company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit Maker as replacements and system manufacturer of device which are
    the most recent. Control Panel - write - graphics card - device manager
    the brand and complete model of your video card - double click - tab of the driver-
    Note the version information. Now click on UPdate Driver (this can do nothing
    MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard
    If there are 3rd party with their own software and drivers and the other main device drivers
    you have.

    Now, go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restore)
    and site (Realtek, Intel, Nvidia, ATI, for example) and get the manufacturer and device
    their latest versions. (Look for the system to update the BIOS, Chipset and software updates
    Site of the manufacturer here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN -.
    REBOOT after each installation.

    Always check in the Device Manager - drivers tab to be sure the version you are
    installation actually appears. This is because that some rollback of drivers before the
    later is installed (particularly that audio drivers) so install a driver - reboot.
    Make sure that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW to the device makers DO NOT RUN THEIR
    SCANNER - check manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using
    the above methods is preferable to ensure the latest drivers from the manufacturer of system
    and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable driver facilities
    in the updates of Windows, which leaves on Windows updates, but it will not be installed
    pilots who are generally older and cause problems. If updates provides a new
    driver then hide it (right click on it) and then go get new ones manually if
    you want.

    Stop Windows 7 to automatically install device drivers
    http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/

    How to disable automatic driver Installation in Windows 7 / Vista
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/

    Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for the)
    Professional, comprehensive and Enterprise edition)
    http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/

    ===========================================

    Refer to these discussions because many more excellent advice however remember to check
    your antivirus, the main drivers and BIOS update programs and also to solve problems
    with the first method cleanboot.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • When I have something to stick in wordpad and then change the text, I'll then on preview before printing and most of the time the whole document is not there.

    Original title: need help with wordpad problem

    When I have something to stick in wordpad and then change the text, I'll then on preview before printing and most of the time the whole document is not there. I double space between lines and all that is more than one page disappears. I tried all the different formats (no envelope, window envelope, etc.). How can I fix?

    Hello

    ·         What happens if you use another application to preview before printing?

    ·         You are able to print the document correctly, or you receive no error message when printing?

    You try to use Microsoft Word or Notepad to check if you face the same problem.

    First of all, I would like to check to see if print preview is working on a new empty document with only a word in it.

    If Yes, then the problem is the document.

    You may need to clear any formatting, that depends on where you copied from.

    Your rule of printer drivers print preview

  • Hello. Yesterday morning, I installed Adobe Acrobat Pro XI, and due to the time required to download, I left my office for the day, back in the morning.  When I went to open documents filed electronically to the Federal Court in cases that I could

    March 31, 2016

    Hello.

    Yesterday morning, I installed Adobe Acrobat Pro XI, and because of the time needed to install, I left my office for the day and my computer left overnight. When I arrived at my office this morning, I checked my email and found Court electronic filing of notifications of PDF documents filed in two federal cases, I'm working on that. I went to open the documents in both cases, but the documents would not open, and I have lost these documents.  I could look at my computer screen and saw a message from reference in order for me to open documents, I had to accept the license agreement provided by Adobe.

    I'm not an individual computer, and I seriously need your help.  Could you please guide me for the license agreement I need to sign in order to retrieve and open PDFs that are filed in the federal courts, I practice before? I have some papers I have to drop off this morning in Federal Court, which must be filed in PDF, so time is critically important.

    Thank you for your help, cooperation and professionalism.  I sincerely appreciate your assistance.

    Best regards

    Dean Browning Webb, Esq.

    TV: [503] 629-2176

    Cel #: [253] 686-5111

    First of all, I'm sorry you had trouble. But you posted in the wrong place. This is the Adobe Connect forum, for users of Acrobat Connect Pro.

    How have you lost documents? If documents have been emailed to you, you should always be able to recover again from your email. Try to launch Adobe Acrobat FIRST, then using file > open to retrieve the documents where you stored the on your computer.

    Hereis a list of product licenses, but I do not think that this will help you. Try what I suggested and let me know what happened please. Good luck!

  • Whenever I have turn off my pc and reboot later, the time and date go to 0.00

    Original title : improve system performance slow slow start

    Whenever I have turn off my pc and reboot later, the time and date go to 0.00

    Probably means the ROM BIOS chip gone bad and must be replaced. Its a small coin like chip located on your motherboard. You should be able to buy one on where one sells computers and electronic products.

    How to replace the BIOS chip on a motherboard . eHow.com

  • Slow and freezing all the time

    My computer runs windows xp and its also kind of the ancients in regard to computers today, and I recently installed all updates and microsoft security system. Now my computer is running very slowly and crashes all the time! Help please! Its driving me CRAZY!

    Hi DawnMichelle,

    You can update the computer with the latest device drivers by visiting the manufacturer's Web site.  In addition, make sure you have the latest Windows updates installed.

    See also:

    Increase the speed of the PC: optimize your computer, help your PC run faster

    Windows XP performance

    Hope this information is useful.

  • I can't install the LR. I made the account, and paid at the time of install the creative cloud wrote the application has stopped working. What should do?

    I can't install the LR. I made the account, and paid at the time of install the creative cloud wrote the application has stopped working. What to do

    Install the application of cc, Download Adobe Creative Cloud apps desktop | CC free trial Adobe

    Use it to install your lr.

  • I need a program that will make my logo and place it on a drawing that I have the patent logo is an overlap of 2 letters and I need woukd any utterance logo at the back of the product I designed

    I'm looking for a program that will help me with my logo and place it on the product I designed that I have a patent for. The logo has 2 letters this overlap and then I need the complete words of the logo at the back of the product. Anyone have any suggestions for this?

    Hi Chicky,

    Looking at your statement, Illustrator should be the best program to work with, if you need to be a vector art, otherwise you can use Photoshop as well. Please see the links below for some basics of Illustrator:

    Tutorials Illustrator CC | Learn how to use Illustrator CC

    Illustrator tutorials | Lynda.com

    How to design a crest logo | Adobe Illustrator CC tutorials

    Kind regards

    OM

  • Simulate the sine wave using LabVIEW FPGA with NOR-myRIO and display in real time

    Hello

    I'm relatively new to LabVIEW FPGA. I am trying to test (and later apply) controllers high speed on myRIO.

    At this point, I'm trying to simulate the sine wave from 1 to 10 kHz using Sinewave generator VI express. I also intend to display the sine wave on the time real (RT) using FIFO. However, I had a bit of trouble to understaing various synchronization parameters.

    1. how to encode information about the sampling frequency generating sine wave? (The side FPGA vi requires only the frequency of the signal and possibly phase and does not rate update lines)

    2. how to estimate the number of items in a FIFO? (that is, the relationship between the rate of updates to loop (RT), the signal frequency, sampling frequency and the number of items in the FIFO)

    It would be great if we could share a very simple program (side host and target) that did something similar.

    Thank you

    MILIN

    Milot,

    I think the problem is the type of data in your FIFO. Your FIFO is configured to use a data type of I16. The problem is the number, it displays only ever will be-1, 0 or 1. To resolve this problem, you must send the sine wave as a fixed point data and convert it to a double on the side of the RT. This should significantly improve your resolution.

  • I can communicate between PC and cRIO throughout the series?

    I'm new to the compactRIO. I have a lot of experience with the old Fieldpoint hardware. I understand that they are essentially diffeentliy. The RIO has its own processor and can run stand-alone programs. The Fieldpoint was really just IO for a PC.

    I'm trying to communcate with my RIO (OR cRIO-9074) on the serial port. Is this possible as on the Fieldpoint? Or is the serial port on the chassis of RIO just for interfacing to a different serial device? I'd rather do not to use the ethernet port if possible.

    Hey tir38!

    You can make a serial between devices using the serial port on the chassis of the cRIO. The port is usually referred to as COM1 on the chassis and you can program using the Standard Serial VI (VISA VISA Read.vi, Write.vi, etc.). That being said, you don't have to have a VI running on the target to manage this communication. But when it comes to code to the target deployment and configuration of the target through MAX, you must use an ethernet cable.

    I hope that solves your problem!

  • Vista: why this program never learn who I allow to run programs? He always asks me and never learns the programs I allow.

    Whenever I want to open a program in Vista it forces me to confirm that I have allowed to happen. Surely Vista should learn the programs I allow?

    Hey Bak2DFuture,

    The short answer, no.
    It would be a nice feature, but at the same time, it would be dangerous. Let's say XYZ program is run every day. So it does not prompt you for permission, as you suggested. Then one day, a virus infects the root folder that contains the program XYZ files.
    Now the program draws more virus and key logging everything that you do. Now, if your system you asked before program XYZ has made changes to your file systems, you'd be more aware that one day things could of / gone haywire may.
    I know this is a long explanation. But I hope that gives you a better understanding. That suggested sirot is the program that will prompt you for that permission. If you turn off user account controls, you won't be asked, but as I've covered, it could be dangerous.
    I hope that was helpful, I tried to take my time and explain properly.
    Thanks for posting of Microsoft Answers!
  • Start up. I want to know how to customize programs that will run on my quick launch on the taskbar.

    Down below on the right by the time theres little thumbnails here that you can click to open up, like instant messaging, etc. I want to know how I can choose which ones to open it when I start my computer. I have to wait for all these things load when I start my computer.

    Quick Launch is on the left side of the taskbar:

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-programs-on-the-Quick-Launch-toolbar

    Read the above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    For program and icons start to start the Notification icons in the clock area, you will need to enter their programs and set them as to if you want that they start at startup or not.

    Here is an example with Messenger:

    http://www.Instructables.com/ID/how-to-stop-Windows-Live-Messenger-from-popping-up/

    «I was recently annoyed with my Windows Live Messenger popping up at the start, because I don't want to connect whenever I get on my laptop...» So, I found a way how toggle this action, and I thought I'd share with the Instructables community! "

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    You can also see what programs you have start at startup, using this program and make changes to the boot:

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services even more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for

  • Continuous P20W to stop satellite touchpad

    First post, really disappointed with the Satellite P20W. Barry is mediocre compared to advertising and the resolution means that some applications are blurred. Anyway, my biggest annoyance and my concern is that the touchpad intermittently stops work

  • Mac Pro (early 2009) screen resolution

    So I have a Model name: Mac Pro Model identifier: MacPro5, 1 Processor name: 6-Core Intel Xeon Processor speed: 2.93 GHz Number of processors: 2 Total number of hearts: 12 Memory: 64 GB Chipset model: NVIDIA GeForce GT 120 Type: GPU Bus: PCIe Slot: S

  • Machine E says there is a problem with the microsoft virtual WiFi Miniport Adapter driver

    We changed the BT home hub-2 optical fiber broadband home hub-3. Since that I can't connect to my Epson 600 series printer wirelessley more. When going to add the printer in devices, he showed a problem with my e-machine. Re - install the driver does

  • Audio output digital on Lenovo docking station and Port Replicator

    Dear community, There is no station Lenovo port replicator or docking station for Thinkpad recent (T440 & X 440) with audio output digital? A big thank you in advance? Amine

  • EliteBook 8540w: drivers Elitebook 8540w

    You guys were so helpful with other users, hoping that I can get the same level of service Long story short, hard disk, fried, replaced by an SSD installed win7pro 64 bit, try to load all the drivers have some that is persistent. UH... 1. base system