My computer is crashed after 3 hours, when am running an Executable file from LabView 6.0.2

My VI is using DAQ6025e and GPIB cards, it is countiniusly writing data to files and talking with 2 GPIB instruments and one Serial instrument. Sudenly after 3 hours of perfect working it is crash my computer.
Does any body know why ??? Help? S.O.S?

Some questions to help us troubleshoot:
1)How crashed is your computer when it crashes?
Blue Screen Of Death crashed? If you don't know about BSOD then that
is when your computer presents a blue screen (white in XP) and tells
you that the system is halted, gives you a register dump and the
memory address where it stopped (all of which is useless unless you
are an assembly language wizard) and then you have to reboot the
machine.
Application error that kills LabVIEW.exe? Usually a pop-up MSGBOX
style dialog box will appear with a such and such error occurred in
LabVIEW.exe or another application and an OK button.
VI Slows to a crawl w/hourglass in the app window? Program doesn't
stop executing, it just stops responding to user inputs.
LabVIEW error cluster error that causes the VI to quit?
2) What O/S are you running? Win 3.1, Win 95, Win 98, Win NT 3.1, Win
NT 3.5, Win NT 4.0, Win2000, WinME, WinXPHome, Win XPPro?, Linux?, Mac
O/S?
In the Microsoft family, WinNT and Win2000 are by far the most stable
and reliable of the various versions of Windows with Win95 and Win98
having a lot of problems running for long periods of time. Make sure
that you get WinNT 4.0 updated to service pack 6 if you are still
using 4.0 but haven't updated the service pack level yet. There were
quite a number of problems with it when it first came out that have
since been cured.
3) Have you run the LabVIEW VI profiler yet? This will point out
memory leaks that are due to dynamically built arrays using shift
registers etc. or appending to strings, or improper IMAQ management,
etc.
4) Have you brought up the task manager and looked at the memory
allocated for LabVIEW.exe and for the whole system as well? Is it
growing? Sometimes there can be memory leaks that don't show in the
profiler that will show in the task manager when you look. These can
be due to bugs in LabVIEW itself or some driver for some hardware you
are using, etc.
If you are not running NT or a later derivative, then you won't have
task manager available but you can get diagnostic tools that are very
similar to task manager from off the web.
5) How much memory do you have in your PC? How fast is your PC? What
does the CPU % usage look like under task manager when you first start
your app? If it is running >40% CPU usage for any significant amount
of time at the start then perhaps your PC is overloaded with work and
you need a faster PC or your code needs redesigning. I like data
acquisition systems to operate <25% generally speaking. This number
seems to improve the reliability of the code that is running on them.
6) How much H/D space is available? You say you are writing data to
files. Your h/d space isn't running out is it?
7) Is it possible to run one instrument at a time for several hours to
see if it is a particular instrument that is causing the crash? Make
sure that your GPIB cards are properly configured so that they don't
share resources with any other devices(IRQ, DMA, memory addresses,
etc.) It may be possible that they behave fine most of the time even
with shared resources but if they ever try to send a command
simultaneously and they share resources, they could "collide" and
crash your PC. You can check all this out in the control panel and/or
MAX.
8) Is it possible that your serial port is getting hung up after
running a long period of time? Serial port UARTS are notoriously
finicky especially over longer line lengths and higher data rates. It
could be that your serial instrument is locking up your app or your PC
serial port is locking up your app and causing the crash. Can you put
a serial port analyzer in between your serial instrument and your PC
to see what's going on when it crashes?
9) Are you trying to read or write to the serial port in more than one
thread or while loop or dynamically launched vi? If you are you MUST
protect the serial port access with a semaphore or a VISA resource
lock. You CANNOT use a boolean global to protect access. Regular
globals aren't atomic and you can have race conditions that result in
unintended serial port collisions between differen threads. I have
seen this lock up multi-threaded serial programs before to the point
of requiring rebooting.
This problem can be especially frustrating if you haven't done
multi-threaded before. The port won't necessarily lock up right away
or at the same time every time. You MUST make sure that serial port
access is limited to ONLY ONE execution thread at a time.
10) Is there another application or service running in the background
with your application that may be trying to access the serial port or
GPIB cards when you aren't expecting it? This could cause a collision
that could crash your system as well.
Douglas De Clue
LabVIEW developer
[email protected]
Yan wrote in message news:<[email protected]>...
> My VI is using DAQ6025e and GPIB cards, it is countiniusly writing
> data to files and talking with 2 GPIB instruments and one Serial
> instrument. Sudenly after 3 hours of perfect working it is crash my
> computer.
> Does any body know why ??? Help? S.O.S?

Similar Messages

  • When i run keynote in the play mode, some times the computer get stuck, why?, when i run key note in the play mode, some times the computer get stuck, why?

    when i run keynote in the play mode, some times the computer get stuck, why?, when i run key note in the play mode, some times the computer get stuck, why?

    hello,
    I had the same issue. This is what I was told to do.
    iWork has to be removed completely to be effective when re-installing, you must use an application removal tool to do this or it wont remove every Keynote file.
    Appcleaner   will do this and its free.
    The following procedure has helped solve many issues with Keynote:
    1  Close Keynote then use Appcleaner
    2  Empty the Trash
    3  Shut down the Mac, then restart and press the shift key immediately after the startup sound, then release shift when the Apple logo appears
              allow the Mac to boot up to the desktop, it will take longer then usual as the hard drive is being repaired
    4  restart the Mac
    5  Reinstall iWork
    6  Repair permissions:
              Applications > Utilities > Disk Utility > First  Aid:   click on your system disc in the drive column
              and select Repair  Disk Permissions
    7  open Keynote and test

  • Since upgrading to Mavericks I am finding that I am lucky to get 2 hours (when connected to WiFi) of use from my macbook Pro.

    Since upgrading to Mavericks I am finding that I am lucky to get 2 hours (when connected to WiFi) of use from my Macbook Pro.  I have turned off Bluetooth ( which was not an issue previously), uninstalled Chrome, again not an issue before I upgraded, and have not seen any improvement.
    I was using an older OS system (Snow Leopard) on my 2010 Macbook Pro.  I am wondering now if the upgrade was an unwise move?

    jbuckworth,
    which apps do you run under battery power? Are any of them identified as “apps using significant energy” when you click on the battery icon in the menu bar? If you have a 15-inch or 17-inch model, are your apps using the discrete GPU (which consumes more power than the integrated GPU)?
    How many charge cycles has your battery accumulated?
    How long have you had Mavericks installed? Is Spotlight still reïndexing your boot drive? (It does that whenever your OS is upgraded, because so many files change in an OS upgrade.)

  • Hi. NOT CALL ME FOR I AM DEAF BETTER U WRITE ONLY EMAIL. When I run the app ALLMYMUSIC FROM WONDERSHARE after installing I get this window up. When I log in with my Apple ID I just get: The Apple ID you entered couldn't be found or your password was incor

    Hi. NOT CALL ME FOR I AM DEAF BETTER U WRITE ONLY EMAIL.
    When I run the app ALLMYMUSIC FROM WONDERSHARE after installing I get this window up.
    When I log in with my Apple ID I just get:
    The Apple ID you entered couldn't be found or your password was incorrect. Please try again.
    I have however made sure that this is the correct Apple ID and password that I am putting in. In the Mac App Store it works.
    Do you have any solution?
    I am running Mavericks 10.9.2.

    To post a screenshot click on the "Camera" button at the top of the reply box and upload it there.
    MtD

  • "Entitlements are not valid" error message when trying to sync ipa file from iTunes to iPad

    Is anyone else getting this error message, "Entitlements are not valid",  when trying to sync .ipa file from iTunes to iPad?
    The issue I'm having is getting the ipa file that was built by the 'Adobe Flash Packager for Iphone' installed into my iPad.
    So, I have a swf file that works and was able to publish it into the Android Market.  I then compiled and build the same flash project with the Packager for Iphone into an .ipa file.  But when I try and install this .ipa file into my iPad to do my testings, i'm getting the error message. 
    I would like to test my ipa file in my iPad device before submitting it to the Apple Store.
    Any help would be appreciated. thank you.

    Developing for iphone can be amazingly complicated and frustrating.  (even before you start coding).  The process of having to create a Certificate, to approving the Certificate, to Assigning the deviceIDs to the certificate, to creating the AppIDs, to creating the provisioning profiles and then creating the .p12 file... is just too tedious. 
    I solved the problem of the "Entitlements are not valid".   The AppID i had set in the iPhone Developer Portal did not match that of the AppID i had set in the Adobe Flash CS5 -> Publish Settings.  (ie. com.yourdomainname.yourappname).  After I re-entered my AppID and compile, i was able to sync the .ipa file into my ipad. 
    I wish the error message had been a little more descriptive.  Could have saved me a whole day.
    I hope this helps others.  But my guess is, if you don't set the 40 character device ID correctly, or the email in the signingcertificate correctly, you'll get this same generic error message.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?

    I did a backup from all my files saved in old external hd to time capsule. After that double checked and recover one file from TC to mac air and it worked just perfect. Today went through TC to recover another file and none of them were there?Anybody has a clue what happened?

    renatocremonese wrote:
    I want to use it for backing up my Mac.
    It's good for that . . . 
    But also I don't keep all my stuff in my Mac.
    But not for that. 
    This older and not day-by-day usage files I want to store in the time machine.
    You can do that (see below), but how are you going to back them up?   If your only copies are on the TC, when (not if) it fails, you risk losing your only copy of the data.
    Is it possible to split TC in two partitions.
    No, but there are some workarounds, including making a fixed-size disk image on it to "reserve" some space.  See #Q3 in Using Time Machine with a Time Capsule.
    But you still won't have backups of the stuff you put there.
    You don't say what kind of Mac you have.  If it's a desktop model, just keep the external HD connected to it, and let Time Machine back it up along with your internal HD.
    However, it sounds like you may have a laptop, where that's not going to be convenient.  In that case, your best bet might be to copy the external HD to a disk image on the TC as above, then keep the HD in a safe place.
    To finish, when i enter the TC and go through the Time line how can I get a file from there and move it back to Mac hd.
    Via the "Star Wars" display, per #15 in Time Machine - Frequently Asked Questions.
    You might also want to review the Time Machine Tutorial, and perhaps browse the rest of the FAQ.

  • Error code -51 when I attempt to transfer files from Mac to PC over network

    I just upgraded to Mavericks - I saw some threads that people are having the same problem. When I attempt to transfer files from my Windows 7 PC to my Mac laptop, it freezes, then I get an error code -51. No, it's not firewall, and no it's not sharing permissions in the PC. Help!!

    Same here as well. MacBook Pro 13" laptop with OSX 10.9. Can transfer small files (e.g. Mp3s, MS Word Docs, PDFs etc) on the network to a server running Windows 2008 R2 server eg MP3 files....but transfering larger files eg TV shows or films produces a failure after about 1.5MB and I get the following error message:
    "...The operation can’t be completed because an unexpected error occurred (error code -51)...."
    I previously had a MacBook Air laptop with OSX 10.8 and did not have this problem at all. Also currently have a Mac Mini with OX 10.6 and that machice continues to play just fine with the same server.
    So the issue must most likely be a problem specific to OSX 10.9...

  • When I try to send file from Reader as email it is attached without .pdf extension

    Hello,
    When I try to send file from Reader as email it is attached without .pdf extension.
    What could be a cause of this problem?
    TIA.

    Hello I got more info about this strange scenario. This happens when our user want to send a pdf file embedded on www page. Web application uses this control to display pdf files: Winnovative PDF Viewer Controls for ASP.NET and Windows Forms
    It is strange that when I try on my computer I will get file name with pdf extension, but people in different location get it without .pdf extension. I have no idea what happened, and now I am not sure if it is problem with Reader.
    User reports that he uses Adobe Reader version 11.0.0

  • When i open an mp3 file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    when I open a music file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    If you use iTunes' default settings then when you add a file to iTunes it places a copy of the file in the iTunes media folder and it leaves the original in place.  The exception is when you drag it to the Automatically Add To iTunes folder.
    It does not convert the file.  You can delete the original if you wish.

  • My windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    my windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    All Office applications will also try to open a temporary work file in the same location as the source file. This implies the source file directory also needs to be writable for this temporary file. Since the default HFS+ driver provides only read-only access, such temporary files will fail to open, and will cause the application to fail.
    As a test copy the file you want to edit, say an Excel spreadsheet from the OSX file system to the C: drive on the Windows side and try to open it. If you look in this directory, you should see two files, the source and a temporary file. You may have to force the temporary file to be opened on a read-write file system, by manipulating the folder for temporary files.

  • When I try to move files from my mac (v10.8.5) to my external harddrive I get the error message The operation can't be completed because an unexpected error occurred (error code -50).

    When I try to move files from my imac (v10.8.5) to my external harddrive I get the error message "The operation can’t be completed because an unexpected error occurred (error code -50)." How can I resolve this? Thank you.

    Some other things to look at.
    https://www.google.com/search?btnG=1&pws=0&q=The+operation+cannot+be+completed+b ecause+an+unexpected+error+occurred+(error+code+-50

  • Macbook Pro won't let me move files to HD without authentication. Also when I try to move files from the HD to the desk it just copies them.

    My 2013 Macbook Pro running Mavericks 10.9.5 won't let me move files to the HD without authentication. So I have to keep putting my password in. Also when I try to move files from the HD to the desk it just copies them. This just suddenly happened last night. Anyone have any ideas what it could be? Thanks

    See http://support.apple.com/kb/HT1229?viewlocale=en_US - I doubt that it will solve your problem, though. You may want to post on the iPhoto forum - that's where all of the iPhoto experts hang out.
    Good luck,
    Clinton

  • I am not being able to play sound when I import a .MTS file from my folder

    I am not being able to play sound when I import a .MTS file from my folder on my sequence bar of my Premiere Pro CS6. Even if I use my Media Browser to import the file, the video plays fine, but the audio is disabled it seems. I don't know what to do since I have used .MTS files before without hassle on CS5.5. It is quite frustrating. What can I do?

    Hi debesh05,
    Please mention the Operating System that you are using and also make and model of the Camera that was used to capture those clips. Also, try to make another folder with the same name in the same location where the .MTS files are and move all the clips into the new folder and then try to import the files again using Media Browser in Premiere Pro CS6. If this doesn't work then make a copy of one file and rename it as .M2TS and then import that single file into Premiere Pro CS6. Please update if either of the solution works for you.
    Regards,
    Vinay

  • Lightroom hangs when attempting to import RAW files from D750

    Hi guys,
    I purchased lightroom 5 sometime back to install on multiple platforms. Recently did an update on my macbook and it was able to read the NEF files from D750.
    However when I installed lightroom 5 on my iMac, the prog keeps hanging when I attempt to import files from the D750. Other NEF files from my D700 were ok.
    Anyone knows why?

    Could be a hardware issue
    Make sure the cable connection to the D750 is properly connected. Also, if possible try using a card reader. Or vice versa.

Maybe you are looking for