Adding queue into a DAQ loop might cause blue screen

Hi
I am trying to use VISA to fetch data from a USB port. The data is put into a queue which is decoded in another thread. The pic below shows how my vi looks like.
The problem is that after around 15mins of execution the windows got blue screen. The error message has to do with usbser.sys.
I was at first suspicious of the USB virtual COM port's driver. However after I eliminate the queue part of this vi the blue screen problem is gone. The modified vi is like this:
It seems that this queue is actually causing the pc blue screen problem.
I have tried it with several different pcs and got the same result. I am using windows OS. 64bit and 32 bit have the same problem.
The blue screen message is here:
Has anyone encountered the same problem or had some clue of this issue?
Thanks in advance!

I agree with Bjorn, the problem is still likely to be with your USB read implementation.
Consider the possibility that your system is not reading from the USB buffer sufficiently quickly. What value is in Bytes at Port? Is this value increasing rapidly (faster than you are reading?)
Removing the Enqueue function perhaps also indicates that the queue write is taking time and preventing the while loop from spinning fast enough which could occur if the queue has a maximum element count (maybe you define the named queue elsewhere with a count limit and are failing to remove the queued elements quickly enough to prevent it from filling up?). You have no timeout wired to the enqueue function which means it will wait as long as it takes, stopping the loop. You might be better with a short (10ms) timeout, followed by a check to make sure it doesn't timeout.
Also consider using shift registers on your while loop borders to ensure the VISA ref is maintained, the queue ref is maintained and the errors are maintained (although these aren't likely to be the source of your problem, it's always good practice to maintain your error data for handling).
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Similar Messages

  • Skype video crashes my GPU driver and causes blue screen.

    Hello,
    Installed a new copy of windows and got the latest version of skype for my PC (on wich skype worked just fine, video calls, voice calls, but it was an older version. No hardware changes)
    With the new skype, I , for the least, get driver crashes, and for the most, a blue screen, when I just go to options to set up my webcam.As soon as I see the square "loading" my webcam in the options, everything freezes and I get a driver crash or a blue screen.
    Current specs:
    i5 4440, stock clocks
    2x8gb 1333 ddr3 1.5v ram, stock
    R7 260x, stock
    500w PSU, not the best quality, But I also tried a 1000w platinum PSU, and same resaults.
    last error code I remeber from the blue screen was: 0x00000116
    I know it is related to the GPU, but it doesn't have power deficiency, since I manage to run heavy games just fine.By the way, my webcam works just fine on different web sites, so it's not the webcam.
    What I tried:
    -Degrading to the oldest supported version by skype
    -Degrading video drivers
    -Using different webcams
    -Installed all windows 7 64 bit updates
    edit:
    skype 6.14 works, but newer versions crash my GPU drivers and cause blue screen

    I would suggest uninstalling Droidcam as it could be the source of some delays assisting in causing the problem.  TDR problems occur when your videocard is unable to respond in 2 seconds for a variety of reasons (heat, tweaks), forcefully resetting the card.  Some people increase this delay in their registry from 2 to up to 10 seconds to give the card time to catch up so that a reset doesn't occur.  You can try this MS fix it which increases this delay. https://support.microsoft.com/en-us/kb/2665946

  • BB Desktop Software causes Blue Screen at Windows XP

    Hi,
    I'm using BB Desktop Software 6.1.0.35 at Windows XP over Lenovo X201 laptop. When I try to sync the adressbook or calendar between my BB(Storm II 9520) and my laptop, it often causes blue screen at my laptop.
    I tried to uninstall and reinstall the desktop software but the blue screen occures again. But, the same version of Desktop Software at Windows VISTA over HP pavillion Desktop doesn't cause similar problem.
    Please kindly let me know how can I fix it or please check if there are any defects at your Desktop Software.
    If you need, I can send the screenshot to you via email.
    Best Regards,

    Just unisntall this version and install the desktop version 5.1. That will not give you blue screen infact it is fully compatible with xp
    Need any help please let me know

  • Schannel errors - appears to be causing blue screens

    Hi guys
    Every once in a while (a few times a month) our RDS server (server 200r82 hyper-v VM) decides to blue screen and restart.
    Each and every time it crashes, we notice hundreds and hundreds of schannel errors appearing just before the crash (event ID 36888)
    Well, it did it again this afternoon, and over the last 12 hours we noticed 1008 instances of this error, with 60 odd messages appearing within 0.2 seconds of each other, and 2 minutes before the crash.
    I also noticed that just before the crash, there were a handful of services which hung seconds before the logged unexpected shutdown event. These services are as follows.
    - UmRDPService
    - WPDBusEnum
    - UxSMS
    - Audio Endpoint Builder
    After the crash, it doesnt log any Schannel errors. although, saying this now and just checking again, it looks like its logged 127 instances of the same schannel error, starting from after around 2 hours of bringing the server back online.
    Do these Schannel errors cause blue screens/crashes? Or is it something else I should be looking at... I'm at a loss, as there's not a lot more in the way of logs that seem to be telling me what's going on..

    Hi EsDood,
    Would you please let me know complete message of Event ID
    36888? For Event ID 36888, it generally occur if a user tries to access a web site using HTTP but specifies an SSL port in the URL. Please check the Schannel tracing log if find relevant clues.
    How to enable Schannel event logging in IIS
    Please also refer to following thread and check if can help you.
    Schannel
    error, Event ID 36888? - IS there a way to Identify what causes Schannel to log error?
    In addition, I noticed that a BSOD issue occurred on the Windows Server 2008 R2. Troubleshoot this kind of
    kernel crash issue, we need to analyze the crash dump file to narrow down the root cause of the issue. Did you get any dump files? If get, please refer to
    KB315263 and check if can help you.
    If this issues is a state of emergency for you. Please contact Microsoft Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request, please refer to the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • My iPhone 5s suddenly has boot loop and shows blue screen.

    My iPhone 5s suddenly has boot loop and shows blue screen. I tried to restore it with iTunes but it says that I have to enter my password on my phone first, which I can't technically do. What to do?
    Also, I've read that I could get a replacement phone from apple but it was bought for me in CA, and I'm in the Philippines. Can I get a replacement still?

    acarstensen,   Help has arrived! Let's take a closer look to see what's going on. Does your device have any physical/liquid damage? Did this issue begin after a recent software update or app download?   EfrainM_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • I tune causeing blue screen

    Whenever I open Itunes it causes a blue screen with the error saying somthing about paged in a nonpaged area there is really nothing else to go on then that.

    hi Redlion!
    just doublechecking. is that an "0x00000050: PAGEFAULT_IN_NONPAGEDAREA" that you're getting, or are you getting different numerical and/or text codes with your blue screen?
    if you're not sure, rather than provoking another blue screen maybe this reference might help jog your memory:
    Troubleshooting Windows Stop Messages
    keep us posted.
    love, b

  • Java causes BLUE SCREEN OF DEATH

    I am currently running the newest version of the JRE
    v. 1.4 update 5
    Every time Java runs on my system Windows XP Professional crashes and I get the Blue Screen of Death. I attempted to uninstall Java but that would also crash my system. So I reformated my computer and reinstalled everything again. Still the same thing occurs. Java crashes my system. If I open a webpage with Java, the java plugin in the control pannel, or any app which is java based my system crashes.
    I read elsewhere on the internet that setting Hardware acceleration to None will fix the problem. This works, but is not a viable soltution. I need my video hardware to run at full acceleration. What's the deal with JAVA?
    System Specs:
    OS: Windows XP Professional SP2
    System:
    - Motherboard ASUS A8N-Deluxe SLI (bios v1013.003)
    - AMD 64 FX55 (2.86ghz, 2ghz FSB, 1MB L2 Cache, 1.60volts)
    - Corsair XMS XPERT Dual Channel (2)512MB PC 3200 DDR 400mhz, 2.70 volts, memory timings 2, 2, 2, 5, 1T
    - Dual eVGA Nvidia 7800GTX PCIe cards 2x(Core 463mhz, Memory 1.29ghz) 1.4volts
    - Creative Audigy Gamer 2 ZS Sound Card
    - Dual 74gig Raptor Hard Drives SATA150, 10k RPM, 4.5ms seek time, 8MB buf.
    - Dual 80gig Maxtor Drives, IDE ATA133, 8MB Buffer, 7200 RPM (storage only)
    - 600 Watt Enermax SLI Ready Power Supply
    Drivers:
    Mobo/Chipset: Nvidia Nforce4 v6.66 release July 15th, 2005
    Video: Nvidia Detonator 78.01 release Sept 2, 2005
    All device and system drivers are the most up-to-date.

    Maybe you should take some reading lessons. That was harsh.
    video cards are top-of-the-line
    Nvidia 7800GTX KO PCIe. I have two of them in SLISorry I would be so harsh except I am jealous of your system. Maybe you could make another and give it to me.
    mode. My Antialiasing and Anisotropic Filtering
    settings are as follows:
    AA: 8X
    AF: 16XBut I already answered your question. I stated in reply 3 with "I bet you have Anti-aliasing and/or Anisoptric Filtering set to something other than application preference".
    Would this really cause problems with the JRE? Again if you would read the links I provided. The first one: http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=6267861 will give you the answer. And it is really, really, really, really easy for you to test. Just set your Anti-aliasing and/or Anisoptric Filtering to application preference and see if it works.
    The other options is to turn off direct3d by setting an enviromental variable. Start->Control Panel->System->Advanced->Environment Variables->New and then add the approperiate value
    Would I enter those Java commands under the Java
    Console in the Java Runtime Parameters Field?That might work for Applets and Java Web Start. Try it and see.
    I reformated my computer twice.Sorry you had to do that.

  • SOLUTION: Flash Video Causing Blue Screen & Lockups

    Symptoms:  While playing a flash video, your screen locks up; goes black; you can hear audio in the background; and/or Blue Screen of Death.  The Blue Screen indicates a fault in nv4_disp.dll.
    =================  SOLUTION   =================
    Newer versions of Nvidia Drivers are causing the problem.    Disabling hardware acceleration in Flash only reduces the frequency of the lockups, but does not resolve the issue.
    Use this version of the Nvidia driver (but no later):   266.58
    Get it here:  http://www.nvidia.com/Download/Find.aspx?lang=en-us
    This is confirmed to resolve the problem.
    Later Nvidia drivers added CUDA 4.0 (Unified Virtual Addressing (UVA) and GPUDirect™ v2.0) which is the root cause of the issue with "older" cards such as the 200 series and the 8 series.
    If you have a somewhat older graphics card, there really is little need to update past version 266.58.
    ========================
    Keywords:  Flash Movies youtube videos Nvidia Lockup Blue Screen Crash bluescreen bsod
    Dump:
    crash dump file: C:\WINDOWS\Minidump\Mini081511-02.dmp
    This was probably caused by the following module: nv4_disp.dll (nv4_disp+0x1DB0EC)
    Bugcheck code: 0x1000008E (0xFFFFFFFFE0000001, 0xFFFFFFFFA2AC1925, 0xFFFFFFFF9F6CC8B8, 0x0)
    Error: KERNEL_MODE_EXCEPTION_NOT_HANDLED_M
    file path: C:\WINDOWS\system32\nv4_disp.dll
    product: NVIDIA Compatible Windows 2000 Display driver, Version 280.26
    company: NVIDIA Corporation
    description: NVIDIA Compatible Windows 2000 Display driver, Version 280.26
    Bug check description: This indicates that a kernel-mode program generated an exception which the error handler did not catch. This appears to be a typical software driver bug and is not likely to be caused by a hardware problem. A third party driver was identified as the probable root cause of this system error. It is suggested you look for an update for the following driver: nv4_disp.dll (NVIDIA Compatible Windows 2000 Display driver, Version 280.26 , NVIDIA Corporation).
    Google query: nv4_disp.dll NVIDIA Corporation KERNEL_MODE_EXCEPTION_NOT_HANDLED_M

    Thanks for the heads up!
    Chris

  • Vpn client causing blue screen on windows xp

    Hi all, we have rolled out cisco vpn client to most of our laptops, we have now lots of users experiencing the blue screen of death when remotley connected.
    Does anyone know why this is?
    Cheers
    Carl

    If you are using the VPN client 3.6.1 it might cause a Windows BlueScreen critical error. This problem results from incorrect processing by the VPN Client of a return DDNS packet from a DNS server that does not implement DDNS.
    If this problem is encountered, cvpndrv.sys (Cisco VPN Driver) would cause the blue screen.
    Release 3.6.3 resolves the issues

  • Recent software updates causes blue screen

    I installed Leopard last week and it's been working just fine.
    Last night the software update application upadted 5 apps - iTunes, Quicktime, Keychain, and a couple others I can't remember. Since the update I havn't been able to login and use my system - when it starts up it eventually stalls at a blue screen.
    I've read reports of people having this issue after upgrading to Leopard, but like I said, I upgraded to Leopard just fine and have been using it for over a week.
    I just discussed this with a support agent who suggested I try another archive & install - I'll post the results.
    In the meantime, has anyone else run into this?
    Also, would Audio Hijack's Instant Hijack (Rogue Amoeba software) and Little Snitch be considered "extensions" that might lead to this issue?

    As it turns out, I had an Application enhancer I didn't even know about. I must have installed it a long time ago, tried it, lost interest, and forgot about it.
    I followed the steps here: http://docs.info.apple.com/article.html?artnum=306857 and I've managed to boot and login.
    Here's some more reading that may be of interest:
    http://unsanity.org/archives/macos_x/shock_andawe.php
    http://www.unsanity.org/archives/haxies/leopard.php

  • Skype causes Blue Screen of Death after a while in...

    Hello, I'm currently having a problem with my skype where it will cause my computer to BSOD after a while in a call, it's only happening during skype calls, not during other voice communication programs like steam's voice calling and the blue screen is more likely to happen when I'm running Firefox.
    The Blue screen error I get is "Clock Interrupt was not receieved on a secondary processor within the alloted time interval."
    Any help would be appreciated.
    Solved!
    Go to Solution.

    The issue might be triggered by Skype and other software but definitely not due to Skype.  It's a very broad multiple CPU timing's issue that can be caused by several things. 
    1.  Problematic BIOS settings
    2.  Failing hardware/drivers
    3.  CPU/Fan/HW monitor control programs
    4.  Power management settings
    As a temporary workaround you can try setting the processor affinity for Skype or set your Windows to boot off only 1 CPU using msconfig.
    http://www.addictivetips.com/windows-tips/how-to-s​et-processor-affinity-to-an-application-in-windows​...

  • ITunes causing Blue Screen of Death

    Okay, I am running Vista, as it was my only option at the computer store. At random times in iTunes it will freeze and cause the blue screen of death. This is a serious problem for me because I have poured a couple hundred dollars into iTunes and now I can't even consistently get the stuff I bought because it may cause my system to crash. I have tried the latest version of iTunes, and the 7.2 version, and they both cause the same problem.
    Thanks

    I had the same problem last night. This started when I began downloading podcasts to my iPhone. Received the blue screen when iTunes began to sync with the iPhone. I'm going to try removing the podcast subscriptions and see if the blue screens stop. I have been running other basic Microsoft Office, Photoshop, and standard HP software with no problems until this occurred. I have not had any other blue screens since I bought the HP in June.
    As a separate issues, I can not play any podcasts on iTunes for more than a couple a seconds. iTunes terminates prematurely. I'm using the latest iTunes software.

  • PC W7 64bit ICloud causes blue screen of death - Help?

    I installed ICloud control panel, etc., onto my 64-bit Windows 7 PC, and it ran OK for a while.  Then got the dreaded "blue screen of death" indicating there was a driver issue and my computer was stopped to avoid damage. 
    I uninstalled ICloud and the problem went away.  Later, I installed ITunes, and decided I needed the ICloud panel, so I reinstalled it.  Same thing happened.
    I'm doing this because I just got iPhone 4S thru AT&T, and want to interface it with my PC.
    Any ideas, or is there already a known problem for PC's?
    Thanks.

    May sound weird, but are you network drivers up to date?  BSOD is usually a driver issue that is conflicting with Windows.  Go into device manager and disable all non-essential devices, UPS, NICS, USB, scanner, sound, etc and then install the iCloud panel.  If you don't see any BSOD start to enable each device one at a time to pinpoint the culprit.  The control panel itself shouldn't be causing the BSOD. 
    Is there a filename in the top left of the BSOD that can help?  i.e. ndis.sys or something?

  • Adobe Reader 9 causes blue screen of death

    Hello,
    Recently my laptop gave me the blue screen of death. On the blue screen error page it said that Adobe Reader was the cause. And I had the most recent version which I believe is 9.3. I took it the IT department on my college campus and they said that they had several people report the same issue but they haven't found a solution. I tried all of the system recovery tools and still had to do a complete pc restore.
    I currently have Adobe Reader 7. Most websites require that I have the most recent version of Adober Reader. However, I dont want the most recent version because I fear my laptop will crash again.
    Does anyone know if there has been a solution for this issue?
    Thanks.
    Randa

    B.S.O.D. - Usual cause = Bad OS files.
    Just because the screen says Adobe Reader caused the problem, doesn't necessarily mean it did. What it's really saying is "your OS crashed while you had Adobe Reader opened and were using it". Analogy: If your car blows out a tire and you crash into a light pole setting off your airbag, it's not the light pole's fault you crashed and blew the airbag. It was just the catlyst for the final result. The bad tire blowing out was the root cause.
    I concur that we need the referenced memory module from the BSOD (which should be in the crash log) in order to know why it crashed when Reader was open.
    Personal note: I tell people to stay away from system restore unless it's an absolutely, unavoidable last resort. It causes more problems than it solves 99 times out of 100. The other one time, the PC user ends up reformatting and reloading the whole thing anyway. System restore isn't a Fix-it type thing, it's more like an "eraser".
    I like the car analogies, so here's one for system restore: Say you go out to run errands in your car. first thing you do is head to the mall. While you're there, someone sideswipes your car and scratches the entire driver's side really badly. You call the insurance company and they say take it to a repair shop. You're running on "E" so you fill up the tank on the way.
    Here's where the difference between repair and restore comes in.
    If you take the car to a body shop and say repair it, they pull out the dents, fill the scratches in and repaint the car. You get it back and everything is OK again. Now, if they "restored" it per Microsoft system restore standards, you'd get it back with the paint fixed, but they'd also empty your gas tank, because it wasn't full before the wreck, and everything you bought at the mall would disappear too, because you didn't have it prior to discovering your car all scratched up.
    Fact is, if you have to do a system restore to fix things on your PC, you're just about ready to reformat and reload the whole thing anyway, it's just a BSOD waiting for the right time to happen.

  • Cisco vpn client causing blue screen on xp

    Hi all, We have just done a rollout of cisco vpn client 4.6 on our laptops, since this alot of them seem to be blue screening aka blue screen on death, they are all running xp with service pack 2, does anyone know of any issues with this and how to solve it?
    cheers
    Carl

    If you are using the VPN client 3.6.1 it might cause a Windows BlueScreen critical error. This problem results from incorrect processing by the VPN Client of a return DDNS packet from a DNS server that does not implement DDNS.
    If this problem is encountered, cvpndrv.sys (Cisco VPN Driver) would cause the blue screen.
    Release 3.6.3 resolves the issues

Maybe you are looking for

  • Question about replacing corrupted file in windows 7

    hi, I read in windows 7 bible that if a system file is corrupted , I can replace it with system recovery tool (at command prompt) if I have onother computer with windows 7 installed.  my question is here , if I replace any file with copy the file fro

  • JSObject missing in Forte 1.3

    Hello All, Very tired at the moment, so hoping someone can kickstart my brain, preferably with an answer to a problem that I'd probably be able to solve given 10 hours of sleep... Using the community version of Forte 1.3. Just built an applet (extend

  • How do i make a itunes connect account

    When I signed in to Itunes Connect with my apple ID it didn't work. I changed the password and it still didn't work.

  • Adding Custom Attributeto user

    Hi All, I have a requirement of adding a custom attribute to  the users in the portal. I have read a few documents which gives  the followin path: System Administration->UME Configuration->Direct Editng Tab. But when i go to UME configuration i donot

  • 4.2 update coming...

    Hey kids - just read this and thought I'd pass it along...good news indeed. http://provideocoalition.com/index.php/adobe/story/matrox_and_other_3rd_party_i_o_vendors_ with_cs4/ AVC-I native support...it's finally here. And after I just bought an EX3.