Of FTDI FT232R hangs / freeze randomly LabVIEW

Hello.

I created a program to display and record humidity and temperature sensors using the FT232R of FTDI chip (http://www.ftdichip.com/)

I used to build the DAQ.vi example 1 FTDI, which can be downloaded here: http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/LabVIEW.htm

The DAQ.vi with the fact that I have a problem is attached here.

What is happening is that from time to time (may take 10 minutes or can last 10 hours) the program suddenly crashes / gel, and to resolve I have to unplug and connect the USB cable to the FT232R. When I did, the program starts working again, but I lost all the data of the gel time.

Anyone know this problem using FTDI chips, or has an idea of what could be the problem? And there at - it an easy way to know if the bug is hardware or software?

I have appreaciate help!

NB: I know the attached .vi isn't waiting time between writing and reading, but I had the same problem when you use so the waiting time.

Hello

You have not included the SubVIs in your program.  Therefore, it is difficult to guess what could be the problem.

As he is a serial device, I suggest you look into the viewfinder of the example to the example of the series in read/write.  You will absolutely need a delay any between send a command to your device and receive a response.

Method of determining that your data is "ready" is to use the byte to Port property node.  http://zone.NI.com/reference/en-XX/help/371361H-01/lvinstio/visa_bytes_at_serial_port/

Communication series starter and troubleshooting help here: http://www.ni.com/white-paper/4049/en

Tags: NI Software

Similar Questions

  • Windows hangs / freezes randomly (RESOLVED)

    Hello!
    My computer hangs / freezes randomly every day. This started happening after a Windows Update. Please don't tell me to mess with my computer because I am 100% sure that it is not the computer, it's Windows. Please help me, I can't take it anymore!

    IMPORTANT EDIT: (the above problem is SOLVED) ignore this problem above and help me with this other problem, you can:
    I have another problem, one that I have had since I have this PC. I lose my Internet connection randomly without any reason, this happens especially when I play multiplayer games. The router still works, there is still Internet (in my iPhone, iPad, another PC), but my PC says:

    "Network 2".
    "No. Internet access"

    I use the internet cable. The cable is properly connected and I tried to solve the problems, but didn't work.

    So can you please ignore the last problem and help me with this one?

    Thank you in advance!

    Kevin

    System:
    OS: Windows 7 Home Premium
    Graphics card: nVidia GeForce GTX 690
    Processor: Intel Core i7-3960 X
    RAM: 16 GB of RAM

    I have not had the opportunity to try, but if you have access to another machine, you should be able
    do a repair reinstall of Windows by installing your HARD drive on this computer, unless activation
    You can do it on another machine.
    Once you move the HARD drive to your machine things should be fine,
    and if you reactivate Windows it should pose no problems.
    The 'install, upgrade and activate' instance should be people who can check it out.
    Or - if you have another HARD drive install Windows to this as a test (assuming the rest of the machine
    Awake quite a long time to complete the installation :)). If the machine still locks with a clean base
    installation of the material becomes more suspicious.

    You will need to answer a few questions over early to help in the process of elimination.
    Behind closed doors are not uncommon when focusing on a machine with a game, but randomly at any time the camera can come from many things are so difficult to solve.
    -You mentioned beeps. Describe the beeps. Long, short or a combination of both?
    They only happen once?
    The manual of your motherboard has a description of the beep codes? Different BIOS
    Use different codes, but the codes can be found on the web as well.
    -Have you run on the cpu, the gpu and the motherboard temperature monitors?
    -Have you tested the hard drive?
    -Settings of the BIOS to default? Not overclock the cpu or gpu?

    What were the results of the MS fixit is in the links above, and what did the
    FixIt actually do to try to resolve the failures? They were rolling Windows back to front
    you have installed the Windows Update in question?

    Things are running more fluid during boot, boot, that when in Safe Mode?
    Clean boot is useful for finding conflicting startup applications and services, but it does not cover
    programs, you can run after loading Windows.  He could also miss a few things like
    the pilot of Daemon Tools, which is known to cause problems, if you have Daemon tools or
    a similar software installed.
    Is that absolutely nothing else than you did at the time of the Windows update?

    Some of what I read the PSU Chieftek should be a good diet, but the review below
    find a problem with the application of current stable - (turbo Cheiftek 850W series)
    «The voltage drop is very high, unacceptable thing for a PSU 850w which is intended for the high-end systems that require a stable power supply.» Also with more than 80% of the charges, the readings of voltage of 12v lines are far from regulation ATX. Despite the fact that the pc continued to work normally, no one would have a power with this voltage drop. I would like to have the equipment to measure the ripple also. »
    While Chieftek is apparently made by the mfg even as some brands that are more
    known in my part of the world (Oz), an unstable current is often caused by markets good components (coils and capacitors), but even a good quality diet (any PC component) may be faulty from the start, and camera are a common symptom of a failed power.
    If the power supply was the problem and the system hangs even when not under duress, you do
    have a very real need to fear a crash while performing a repair reinstall. Full backup of data
    would be advised.
    .

  • Hanging of freezing, random R61

    I bought December ' 07 7742-CTO. It has Nvidia Quadro NVS 140 m, preloaded with XP Pro. Now that it is out of warranty, it has started to freeze randomly. No matter if the R61 is connected to the battery, in slow time or opportunity of the day, etc. It's typical scenario: I look at the time of Windows in the system tray and see that this is incorrect (stuck at the time of the accident), the mouse is mobile but the next click will be freeze/hang up the system. Only solution is to hard reboot. The frequency of gel is passed once / week several times / day.

    Then, let me say that I have a lot of technical experience with a PC. The BIOS and drivers are all the latest news from Lenovo. All the Microsoft critical updates are applied. I scanned for viruses and malware so that scrubbed the registry. In addition, here are a few other tactics I've tried:

    (1) fully tested RAM

    (2) I tried different RAM

    (3) traded adapters CA / CC and tried inserted battery and battery removed

    (4) different hard drives

    (5) AHCI, change in compatibility mode

    (6) removed, inspected, and cleaned Fan-Heatsink

    (7) again a thermal conductive grease on CPU and GPU

    (8) PC Doctor Diagnostics on the system powered up to nothing

    (9) the Nvidia and NVSC Service startup items disabled

    I even tried to start diagnosis by using MSConfig and minimum startup items and it freezes again. I suspect that the NVidia NVS 140 m GPU is bad. Someone out there with similar problems?

    No one answered, but the problem is solved. The R61 has thermal problems. I installed ThinkPad Fan Control, which is a part of 3rd freeware utility and to keep the Intel CPU and Nvidia GPU in reasonable time. Freeze either. Don't know why Lenovo stock in place was not able to avoid overheating, but the laptop is solid as a rock now.

  • Windows hangs or freezes randomly

    Original title: System problem

    I am using windows 7 ultimate and my computer freezes randomly over and over again after a few seconds, it starts normally

    Hi Praveen,

    1. is the issue limited while accessing any program in particular?

    2 have you made changes on the computer before this problem?

    This problem may occur following a conflict of third party software, virus system or file system is corrupt.

    Refer to the steps in the following Microsoft article and check if that helps.

    Windows hangs or freezes: http://support.microsoft.com/kb/2681286

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again, the data files that are infected can be cleaned by removing the file completely, which means that there is a risk of data loss.

    Hope that the information provided is useful.

  • 8.1 Windows hangs at random times on Satellite C50D-A-133

    Hi all

    I had this problem for awhile now.

    I bought a new laptop Toshiba C50D-A-133 with 8.1 Windows pre-installed in December.
    The problem is that Windows 8.1 hangs at random times.

    More frequently, watching a movie in Media Player, listen to music or browsing Web sites.
    The only thing I can do during a freeze, is to move the cursor.

    But I can't click on anything - it does not.
    Time to 'freeze' varies - it may take 30 seconds or even up to 5 minutes.
    After that, he usually "unfreezes" and everything works well again or restart the laptop on its own.
    There are times, I have 3-4 freezes for an hour and there are times that there is only a single gel in eight hours.

    All drivers (graphics, card WiFi, sound card, etc.) are up to date.
    I checked the system for malware and viruses - it wasn't all.
    I have all the Windows updates.

    I don't know, what is the source of this problem?
    It's really annoying.

    I will be grateful for any advice.

    I guess that no one will be able to say exactly what is the source of this gel.

    From my point of view, you should first check if this isn't software related issue.
    In many cases of system problems could lead to as annoying behavior for laptop and this is why I would recommend you to Reset (to recover) the system back to factory settings.

    From my understanding in the case where the gel is related to the problem system, return to factory settings should to fix this

  • HP Pavilion dv7 Freeze random/Lockup

    My computer freezes randomly. What is happening is that I'm doing something that I do as usual check Facebook or some other normal Web site and it just randomly freezes. I have no idea what is the cause, and he never blue screens. What happens is:

    • All open windows are "reduced" (on the dock, they show also open)
    • My desktop turns black and has no basis on this subject
    • The mouse goes to the center of the screen
    • The mouse and keyboard freeze
    • and above the battery icon, there are random letters that always read "sRpIg".

    Here's a picture of him. My outdoor camera does not work on my phone so it looks weird.

    Thank you!

    Hello Ziggmiceter, welcome to the Forums of HP.

    I see that you have a problem with random freeze with the laptop. I will try to help you with this.

    Start with the steps described in this paper: computer hangs upward or freezes (Windows 7).

    If you need more help, please provide the model number and product for your laptop and the currently installed operating system.

    Let me know how things are going.
    Thanks for posting on the HP Forums.

  • Vista 64 just keeps freezing randomly

    I bought a new laptop and it came with pre installed Vista Home premium 64-bit with SP1. The information system is the chipset Intel GM45, integrated graphics, 4 GB of RAM and 320 hard drive.

    The system hangs at random without error regardless of what I show. I have to do a hard reboot. The system event viewer under computer at the time of the event management has warnings and reads like

    "Windows Servicing identified that package KB958483 (Update)" shall not apply to this system ".

    and some following effects it reads as

    "Windows Servicing started a package KB958483 (Update) State of Resolved (Resolved) change process Staged (Staged)"

    Is that something really has to do with the problem I am facing freezing and if so what is the solution for the same?

    Hi Siva,

    Thank you for using the Microsoft Answers forum.  I suggest to use the cleanup utility.

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

    Thank you for using answers Forum. Please let us know how it works.

    Joseph
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Computer HPp6203 of desktop screen freezes randomly

    Original title: windows 7 freeze

    I have a high HPp6203 desktop screen freezes at random no program special time frame or action. Unable to move anything or courier. Just before that happens blue circle appears next to Messenger then it freezes. No new software has been installed. Start button / Stop button to clear. Works fine in safe mode. He had already done once before and I restored it at the earlier time and it changed but now it won't let me restore uniquement3 days before and always an error if the restoration is never completed.  Thank you Gary

    Hi G Conrad, j.

    Thanks for posting your query on the Microsoft Community.

    I would appreciate it if you could provide the error message to better support on the issue. In addition, I would like you to answer the following questions to refine the question.

    • You did it any significant hardware or change software on the computer before this problem?
    • You are able to use the system anyway after the system hangs at startup?

    There are a few reasons your computer might hang, freeze, or crash. So I would say, you can remove the external devices except the mouse and keyboard, try the following steps and check if the problem persists.

    Method 1:

    Step 1: Try to start your system in a State of services necessary to the operation and a minimum set of drivers enabled, called Safe Mode.
    Start your computer in safe mode

    Step 2: If the system works fine in safe mode, try to clean the system startup:

    How to perform a clean boot in Windows

    Note: See "how to reset the computer to start normally after a boot minimum troubleshooting" to prepare the computer to start as usual after a repair.

    If method 1 does not work, see the steps in the following link and check if they are useful.

    8.1 Windows, Windows 8 or Windows 7 hangs or freezes

    Disclaimer : The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • My iMac freezing randomly

    My iMac freezing randomly or at least, I think that, but it looks like especially to freeze when I'm on safari, the word element is it freezes and if I see a video, I can still hear the noise and the mouse moves on the screen, but I have cannot move or click on anything, any who know or have an idea of what's going on

    < image edited by host to remove the serial number >

    Discuss the beta software in Apple Support communities

    You have accepted a confidentiality agreement upon registering for the beta program:

    CUSTOMER AGREEMENT SEEDS AND CONFIDENTIALITY

    Please read the e-mail you received: Software Apple beta program

    The NDA forbids you to discuss beta software issues here or anywhere else. The above two documents describe how to submit problem reports to Apple.

  • MacBook Air freezes randomly

    Hi all

    I had a problem with my Macbook Air early 2015 since nearly a month. I freeze random OS experience (I'm under OS X El Capitan 10.11.4): the cursor moves and the keyboard is unresponsive, so I can't do anything at all. The only thing I can do to "unlock", it requires the laptop to restart (by turning manually him off and then back on). This problem occurs more or less one or two times a week and I didn't notice a particular task or request that I am running that may cause the gel. Usually, it happens while I'm surfing the web with Safari, but not all the time.

    Any ideas or suggestions on how to solve the problem?

    Thank you very much in advance for your help.

    Download and view a report of Etrecheck:

    http://www.etresoft.com/etrecheck

    Ciao.

  • Satellite Pro R850-15F - freezing randomly and the fan speeds up

    Hello

    I have a Toshiba Satellite Pro R850-15F who gave me four years in refurbished condition and so it is quite old.
    I have recently installed Windows 10 and things seemed to work very well.

    However, last week, I noticed that at least once a day my laptop freezes randomly and immediately the internal fan accelerates, becomes much stronger and a cold air. Whenever this happens, I turned off the laptop and turn it back on it.

    After that, it works normally again until the next time it freezes. I don't know anything about computer hardware, but I suspect that it is a problem of series and I wanted to get some advice in case my laptop is close to dying.

    If anyone has any help or advice or suggestions to solve the problem, then I would be extremely grateful if you would contact me.

    Hope to hear from someone soon,

    Flashback

    On this virtual path, it is not easy to say what the problem is here. To me, it looks like problem with some background process that as a result of extremely high CPU usage that locks the phone whole.
    High CPU usage means more heat in such situation the fan starts to run a lot faster.

    Have you noticed this behavior with a specific action or the use of certain applications?

  • Screen freezes randomly (Macbook Pro retina 13 inches early 2015)

    MacBook Pro (retina, 13 inches, early 2015)

    OS X Version of El Capitan 10.11.4

    Processor: Intel Core i5 at 2.9 GHz

    Memory: 8 GB 1867 MHz DDR3

    Graphics card: Intel Graphics Iris 6100 1536 MB


    I bought this MacBook on the Apple store online a year ago, and I must say it has been a very reliable machine up to now. It starts way faster that any laptop I have ever used before.

    However, recently to update my OS on the 10.11.4 version, my screen freezes randomly. The keyboard and trackpad are both unresponsive.  Closing the cover does nothing either, since the macbook won't sleep normally as it would be. The only solution I had was to hold down the power button to force it to close.  This has been extremely frustrating and made me lose valuable data too.  I ran the Diagnostics of Apple and the only error seems to be the battery issue. It has been said, however, that it should not affect the performance of the computer.


    If someone has encountered this problem, great tips, thank you would be much appreciated!


    Hey, I bought the same macbook 6 months ago, the macbook had several recurring problems, graphic and audio glitches, what happened was, sometimes (for watching movies, or playing games) the screen went black with a red line on the left side of the screen, then after 2-3 seconds screen is returned to normal, and then there was a glitch-audio distortion that attaches after 10 seconds - 1 min.

    I have tried to solve this problem, because to the 4months, 2 authorized repair shops are rendered as well an apple store, they told me that the tests have said everything was perfect, they failed to reproduce this problem, and that is probably a software problem, it wasn't, because I did everything to eliminate the risk that this was a clean install os software problem to use different browsers, readers different flash etc.

    About a month and a half my macbook froze for the first time exactly like yours, frozen screen, slider became unresponsive, caps lock light insensitive, trackpad locked (didn t click), closing the screen was always on the apple logo. I did exactly what you were doing, forced to shutdown by pressing the power button.

    I was furious, thinking that this is an escalation of the hardware failure and he was in awe of this next step is to "die".

    The next time he "froze" again, I went to the apple store nearby with the macbook in a frozen state and demanded that they fix it, I insisted the guy writes it down and describe the exact condition of the macbook was when I took it to them, and he said that they will run tests and see When I tell him that it is the "millionth" time test you my macbook, he said, that even if the tests show nothing they will replace the logic board, we signed a "service record" who says that they will replace the logic board and the battery and for the first time that I was happy they will finally fix.

    I was wrong, they called me a week later and say we took some tests and everything is ok, it was the last straw, I did not pick up the macbook and said that I will not pick up unless they fix it.

    Next day I went to the store and made a big fuzz, saying: I have contacted the Ombudsman, and I'll still take legal action if they didn't fixed it the next day.

    Next day I went and they had replaced the logic board so the top-case with battery.

    The reason I say this is, their support at least in my case, it was terrible to the point that I preferred to throw the macbook in the trash and never look back, you can't really imagine how long it took me to convince to repair or replace, for 4months I was on the phone or online chat and was flowing like a ball from one to the other.

    If you are still under warranty, go directly to the apple store and request a fix, when I say request, do not be polite, don't bite on phrases like "we will do everything, so you won't have to come back again," go aggressive mode, because at least in my case, be polite did not help, the best thing would be, when it freezes again not turn off it take it straight to the apple store.

    Another thing is, I had a battery problem when running the diagnostics, whenever I gave it to them they said oh "battery is ok, sometimes the tests fail," my argument? If the tests fail how do you rely on them...

    Go and demand, it is their responsibility to fix, 3 and a half months being polite is not done, I'm aggressive and stares at me in 1 week.

    Good luck

  • S50D-a satellite freezes randomly

    Hi all

    S50D-A, a week ago, I bought a Satellite.

    The machine freezes randomly. This happens about 6 - 8 times during a working day.

    When it freezes the cursor still moves but I can not even access Task Manager. Usually it will restart after a few minutes, sometimes it will jump out of it.

    The PC temporarily froze all by writing this!

    This is a brand new machine and it happened since the day 1, nor the hour 1 even.

    I hope you guys and girls can help.

    Bassosa

    Hello

    On this virtual path, it is not easy to say why this is happening. All we has own configuration software and favorite of the BONE, and we don't know how looks like the configuration of your operating system.
    Maybe did you install additional software that is running in the background?

    Try disabling the Windows automatic update and set it to manual control. Laptop is new and maybe a lot of downloads running in the background. Processor and HARD drive can be highlighted and the result is the gel.

    Play with these settings and try to find out why this happen.

  • Satellite L450D keeps freezing randomly

    Hello

    I recently bought a L450D refurbished: Win 7 64 bit, 4 GB ram, 2.1 Ghz AMD dual core, it works much faster than my Toshiba 1 year anyway.

    The problem is, it keeps freezing randomly. When this happens the screen looks like the picture in the link, mouse and keyboard are completely insensitive, but I left it and the battery is flat it beep?

    So far I've only updated windows, it is the partition of Toshiba hard disk but f8 during the startup does not seem to do anything and when I tried to write the recovery disc it burned but said unable to end of file during the verification step.

    Any help would be greatly appreciated,
    Thank you
    Dan

    Hello

    Mobile on the photo looks like a problem with a graphics chip.

    Maybe the laptop freezes because of the high temperature of the GPU. What do you think that?

    Have you noticed a higher temperature?

    If Yes, try to clean the cooling fans using a jet of compressed air you should also try an update of the display.

  • Re: Tecra S10 and S11 freeze randomly

    We have several Tecra S10 and S11. Freezing randomly during the day. Some even twice within half an hour, others spread it throughout the day.

    The Tecra is all Windows 7. Some have 64 bit, others a 32-bit installation. After installation of Windows 7, we have removed additional software we don't need, like McAfee, Toshiba goodies (Assist, Tempro, etc.), Ebay, etc. After that we activatie Office 2007 and Microsoft put updated laptops. So far so good.

    However, after a week or two just work in Word causes the Tecra to freeze. Same ctrl + alt + delete does not work. The Tecra should be forced to turn off the power, press and hold the power button.

    Everyone recognizes these "frozen moments". It's very annoying.

    It is not easy to say why this is happening.
    Always it is that Office is preinstalled on almost all laptops Toshiba so I did not thing your laptops can be somewhat different.

    Maybe something else responsible for this?
    Maybe are all connected to your business LAN and there is a problem.
    Are connected external devices which can be responsible for this?
    Maybe some internal software of the company is blocking something.

    It is not easy to say what he can be.

    Have you done tests in the past to see what can be the problem?

Maybe you are looking for