How to monitor hard disk in labview 8.2

Hi ,
I want to using labview 8.2 program to  monitor hard disk(one folder in hard disk)  for example one application generate a result file to the folder then it  will be captured  by labview program.
thank you
Solved!
Go to Solution.

What exactly are you trying to monitor? If the file is created? If the file is changed?
Without resorting to some operating system specific options the only thing you can do is to poll the file information on a periodic basis to see if it has changed. For example, the File/Directory Info function will tell you the modication date. That same function can be used to check for the existence of the file by looking at the error code. In fact, that's exactly what the "Check if File or Folder Exists" VI does.
If you want a more "event-based" scheme then you can try something that's OS-specific. For example, on Windows you can use .NET by making use of the FileSystemWatcher class (http://forums.ni.com/t5/tag/FileSystemWatcher/tg-p/board-id/170)

Similar Messages

  • How to disable hard disk write caching?

    How to disable hard disk write caching?
    Is there something similar to Windows: http://support.microsoft.com/kb/259716/en

    Manually mount the disk, disabling the cache.  With the default mount mechanisms, no.  Details.

  • How to monitor on disk i/o on healthcheck and awr report on biweekly health

    can you explain how to monitor from disk i/o and awr report from old snap shot to new snap shot
    how to check and analyze .,,,,,,,,,,,,,,,,,,,,,can any one tell few points which we can **regularly maintain for health check**
    thanks in advance
    SQL> SELECT group_number ,disk_number ,mount_status ,total_mb/1024 ,free_mb/1024
    2 ,reads, (bytes_read / (1024*1024*1024)) mb_read ,read_errs ,read_time,writes
    3 ,write_errs ,write_time FROM v$asm_disk;
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 0 OPENED 199.989258 0 13697147
    402.589765 0 44542.38 4358669 0 8883.86
    2 1 OPENED 199.989258 0 13653653
    405.503195 0 46014.33 4805783 0 11138.13
    2 2 OPENED 199.989258 0 15272350
    415.620874 0 45524.7 4571038 0 9806.01
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 3 OPENED 199.989258 0 22713630
    533.380945 0 48105.68 4692729 0 9994.31
    2 4 OPENED 199.99707 0 23986390
    547.804756 0 57601.79 5788565 0 11073.44
    1 0 OPENED 199.989258 0 310810
    47.4352741 0 9652.12 1877994 0 3490.5
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    1 1 OPENED 199.99707 0 137665
    44.7837362 0 9155.21 751099 0 3092.96
    1 2 OPENED 199.99707 0 139561
    44.7904587 0 9424.26 753116 0 2858.23
    1 3 OPENED 199.99707 0 141139
    44.7718539 0 9506.27 802414 0 2768.22
    9 rows selected.
    can you please tell me how to monitor on disk i/os which is as shown above and
    please tell me AWR report to analyze some basic points for health check
    please give some details for health check of database.
    thanks in advance

    Hi;
    What is DB version?
    Please check below doc:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28275/tdppt_degrade.htm#CACGCJDC
    Also see:
    What is AWR( Automatic workload repository ) and How to generate the AWR report? [ID 748642.1]
    How To Understand AWR Report / Statspack Report [ID 842884.1]
    Regard
    Helios

  • I want to give away or sell a 6500/250 running 7.6.1. How can the hard disk be erased so that the data are gone, not recoverable? thanks, LifeisRich

    I want to give away or sell a 6500/250 running 7.6.1. How can the hard disk be erased so that the data are gone, not recoverable? thanks, LifeisRich

    I'd recommend that you check for Mac User Group(s) in Orange County.  That's where you'd likely find a diehard Mac fanatic who might want to add your 6500 to his/her collection.  Even if you got nothing for it, it would be better than e-cycling it.  I upgraded my 6500/275 with what was a "large" hard drive at the time (15 GBs), maxed the memory at 128 MBs, installed the 512K L2 cache card, a better ATI Rage Pro PCI graphics card, a USB PCI card, and an internal 56K modem.  With it running OS 9.1, it did all of the pre-OS X stuff I needed it to do.  As I previously mentioned, it's a nice-sounding MP3 player.  Internet Explorer 5.1.7 (the final release from 2001) kept it useful for surfing the web up until 2005, when it became too outdated/incompatible with many web sites.  Unfortunately, the demands of the internet and the need for a modern browser, as well as faster processing to digest it all, are what retired many older Macs from active duty.  So my (2) 6500s and (3) 6400s (same tower design) sit in storage.  There is one concern that I'll pass along: The motherboard has a 4.5-volt alkaline battery, that's a small, black plastic cube, secured in place by velcro.  If your 6500 has been disconnected from electricity for a long time, the battery will undoubtedly be dead.  Unlike the many Apple computers that used a small ½AA lithium battery (that I've never seen leak when completely dead), the 6500's battery can and usually does start leaking.  Because the motherboard sits vertically oriented on its side edge when installed, the leaking battery will drip alkaline solution down the board, corroding any components in it path.  I've seen motherboards ruined from this.  If you're going to give it away or sell it, you might want to pull the motherboard (remove the two machine screws on the rear I/O panel, next to the pull tabs).  Slide out the board and unplug the battery's small connector (has red & black wires), then lift up on the battery, while holding down the "toothed" velcro mount with something non-conductive, like a popsicle stick.  Once it's free, dispose of the battery.  If you're interested, a replacement can be purchased for about $5-$7 from battery specialty retailers - it's a Rayovac 870 or 871.  Even if you don't replace it, removing one that will eventually leak is a good idea, (hopefully) before any damage is done. 

  • How to stop hard disk noise on T61

    Hello everyone,
    I have a T61 and everything works well except the hard disk which is constantly working. The result is a gentle noise on the bottom right
    of laptop, always present. I used to have a T42 which when configured on XP to turn off hard disk (through power management), completly turned it off. I could then read or write long open files with a completly silent laptop (used tpfancontrol for controling fan, but this is not the problem here) until I save document or explcitly trigger the hdd (a completly silent laptop is a delight!).
    The noise of the present T61 is bearable, a kind of a whisper, but once it stops it gets really better for your ears. My problem is that the power manager (set to turn off disk after 3 minutes) works, but something is constantly accessing the hard disk, which prevents the power manager to turn the HDD off. So, sometimes it happens that after 3 minutes the HDD stops, and a hsort time latter, say 15 seconds, it turns on again because "something" used the hdd.
    The worse is that, most of the time, the hdd is triggered prior to the 3 minutes, so that it keeps always running!!
    I can see this as the hdd green light flashes.
    This is always the case, with or without internet, AC or DC.
    I tried to stop some services (including indexing), but I stopped looking because of the number of services to check!
    How do I know what service/program is being written on hdd at the specific time where I notice it, or makes it work, such that I can possibly disable it?
    This is maybe a XP SP§ issue I think, but I think many here have noticed this constant activity on lenovo´ T61?
    Any advice on possible strategy to find out who write what on the hdd or other solution?
    I really plan to fix this problem because the T61 as it is now is really good (with however minor problems),
    and i think many of us should benefit from this issue..
    xtex
    Message Edited by xtex on 09-01-2008 10:55 AM
    T61, UZ2AQGE 2.5 Ghz, XP Pro SP3
    T400s, NSF20UK, 2.4 GHz, SSD 128 GB, Vista B

    I would say it´s quite impossible on newer systems, to get the harddrive off for more than a few seconds.
    Many user have tried that, but no one had success.
    Another, but little dirty, possibility is, to take some piece of rubber or something and put it under the palm rest where the hdd is.
    But beware, there is a little hole in hdd that have to be open to get some air.
    This dirty trick will lower the permanent sound of your hdd.
    Greets.
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • How to connect Hard Disk with my MacBookPro

    Hello Everyone,
    I have recently bought MacBookPro, But i am unable to transfer the data from MAcBook to Hard Disk... Can anyone please help??

    How is the external drive formatted? If NTFS, the Windows New Technology File System (NTFS), then you need to format it the Mac format, Mac extended (Journaled), using Disk Utility.

  • How to access hard disk connected to wifi router?

    Hi,
    I have a hard disk connected to a Wifi router (Huawei B593) how can I access the had disk from my MacBook Air?

    Try the File Explorer App in the App Store.
    https://itunes.apple.com/us/app/fileexplorer/id499470113?mt=8

  • How format the hard disk in single-user mode

    Hi all, i would like to format the internal hard disk of my macbook pro 13'' through single-user mode. How can I do it, please?

    Ok, to do that you need to hold c and boot off the 10.6 installer disk and second screen in under the Utilities Menu is Disk Utility.
    You can then select the hard drive makers name (your "bare metal") and peform the wipe/format of the entire drive or a "partition" on that drive.
    In the picture below there is only one partition, the Mac HD. In the picture above there are two partitions which both would show up under the hard drive makers name and both or either partition can be wiped in Disk Utility.
    Use the Security Option to Zero your hard drive of all lingering data.
    When you Quit Disk utiltiy, your back in the installer and can quit or install OS X.
    Note: messing with Disk utility will erase all data on the drive, if there is something you need to recover better stop and ask!
    If you don't see your internal boot drive in Disk Utility, the drive is dead.

  • How to find Hard Disk Serial

    Hi, I have a program written using AIR for a client, and I dont want him to make millions of copies of my software, I would like to know exactly how many copies of my software he is using, so I figure, thats easy I will bound the software to the hardware, the hard disk serial.  Than one problem surfaced, how the heck do I find the hard disk serial using AS3?
    Or is there a easier way for me to keep track of the software? the clients will install the software on machines that do not have internet access.  And the amount of software is not a big number, maybe 50 copies/machines per month.
    Thanks in advance.

    Is it installed on an other system? If so you can see the serial number in the About Aperture window.
    If not ant you wiped your disk and Aperture is no longer installed there is no way to find the serial number apart from the hard copy you had when you bought it. 
    See Pro Application Replacement Serial Numbers and give Apple a call. They are pretty good at working with you to try and recover the serial number.

  • DV9925nr - How to Backup Hard Disk Drive After S.M.A.R.T. Drive Failure Message

    I purchased a DV9925nr laptop from Bestbuy about 13 months ago. Six months ago it started having the sporadic and randomly abrubt shutdown problem that so many others seem to be having. 
    Two days ago it developed a new problem:
    I left my laptop on for a few minutes and when I returned, it was to a black screen with this message: "SMART Drive failure predicted on Hard Disk 4. WDC WD2500BEVS - 60UST0-(S1); warning: Immediately backup your data and replace your hard disk drive. A failure may be imminent. Press F1 to continue."
    My question:
    We have a network with two laptops and a desktop computer. There is plenty of hard drive space on the desktop system. My father has the same exact laptop model as mine. Can I put my hard disk drive into his second disk drive bay so that I can backup my files over the network to my desktop system? How would the laptop know which hard drive to boot from since they both have the same operating system on them (I am not familiar with SATA drives)?
    I hope I didn't buy a lemon. Any help would be greatly appreciated.

    Are you trying to do this while booted from the OS or from the install Disk? If your booted into the OS then the repair option shouldn't be click-able. Beyond that, there might be some 3rd party software that could force a reformat and/or erase. I did try to find you something but didn't come across anything specific to what your trying to do. You probably already know this, but the purpose of S.M.A.R.T. is it acts as an early warning indicator. This means the drive is no longer dependable and may fail without warning in the near future, resulting in losing all data. With that being said, I've used a hard drive that S.M.A.R.T. indicated was failing for 3+ years without a hick-up. I don't use it for anything imported though. When I have more time and if I come across anything that might get the job down, I will add to this posting. The worst case scenario is that there is no way to reformat and/or erase the drive due to the state it's in. At that point, the only thing left to do is recycling the drive.

  • How big a hard disk can a PowerBook G4 support?

    I want to have the hard disk of my 17" PowerBook G4 replaced with a bigger one. Currently I have a 80GB HD. What is the biggest ultra-ATA hard disk out there? Can I use an SATA HD?

    I want to have the hard disk of my 17" PowerBook G4
    replaced with a bigger one. Currently I have a 80GB
    HD. What is the biggest ultra-ATA hard disk out
    there?
    The largest drive out there that will fit in your Powerbook is 160GB. I have a seagate 160GB drive in my 1GHz 17 inch PowerBook. Newegg lists it for $109.99.
    http://www.newegg.com/product/Product.asp?Item=N82E16822148073&CMP=OTC-Froogle&A TT=SeagateMomentus+5400.3+ST9160821A+160GB+5400+RPM+Notebook+HardDrive
    Can I use an SATA HD?
    No you cannot use a SATA drive.

  • How to prevent hard disks from sleeping

    Hello
    I have recently installed a SSD for system drive in my machine, and now realise what a bottle neck the old, standard hard disk had been. Booting is now extremely fast, as is opening applications. This speed has alerted me to another problem. My hard disks keep falling asleep, which slows down operantion of the machine significantly. For instance, to log into this forum, I used 1Password. When selecting the log in menu item from 1Password, there was several seconds delay before one of the hard disk (I have four inside the machine, one external Drobo, and one external eSata drive) came alive. When it had, Safari could take me into the site. There constant delays like this when I use Safari, for example. These delays are very frustrating, so I want to keep all my disks awake constantly.
    Thing tried so far:
    The worst problem was the Drobo, because it has three disks inside that wake up one after the other, a very slow process, and the Drobo is slow in itself. So I installed a little script that does a touch command every five minutes, to prevent the Drobo from sleeping. It seems this has helped. But the other disks keep falling asleep all the time. I have set Cocktail to prevent all disks from sleeping - no effect. The Energy Computer Sleep setting is set to Never.
    Any ideas will be much appreciated. This sleep issue keeps bugging my all day long.

    In the Energy Saver system pref, are any of the boxes checked?
    If it were me, I guess I'd try clicking the 'restore defaults' button in Energy Saver, restart the computer, and then go back into the Energy Saver and set the computer sleep to either 3 hours or never, and uncheck the 'put hard disks to sleep when possible' box. You might try 3 hours instead of never and see if that makes a difference.

  • How to repair hard disk on lion

    I opened disk utility and verified permissions.
    Then i tried verifying the hard drive and it said it was corrupt and needed repair. i tried booting from external hard drive and then repairing but it said it could't unmount the disk.
    i restarted from my macbook(not the external) with the shift key down and tried repairing from there. it said there was something wrong in the catalog and 287 should be 288..and the hard drive was corrupt..but i couldn't repair it from there.
    now what?
    I started this whole thing because my computer was acting funny at start up..

    I found this from looking in lion corrupted my hard disk and found this answer. It worked for me!!
    I had a corrupt HD after installing lion. Repair disk said to boot from startup disk. I have no startup disk because OSX lion is a downloaded install...But wait...Apple in ther infinite wisdom created a boot disk partition on your HD. Do this:
    1) Reboot the Computer and hold down the option key.
    2) Select the Boot drive as your start-up disk. The system will boot and give you a menu of options.
    3) Run Disk utility.
    4) Repair disk. (My corrupted drive was repaired)
    5) reboot.
    Voila..All is well with the world. Hope this helps.

  • How to monitor available disk space in archive directory

    I need to monitor the available disk space of the archive directory during a long running PL/SQL program which does a lot of inserts and updates. This program is running in a background session and should regularly check for the available space. If there is less then a customizable number of MBs free the program must terminate itself. How can I access this information from the file system? (I'm using 8.1.6 and the application will run on both AIX and NT)

    The directory itself is not taking space (It actually does but in most cases you can neglect its size). It is files that it has that take space. Also, the more files you create the more space gets allocates from the media that holds them. And the last, the media (Hard Drive, Floppy, or other) has free space, not directory. That is how all OS's that I know about work.

  • Newbie question: how to monitor cluster disk drive free space

    ok folks, it is a really painful process for me to use SCOM2007R2 and I figure it might be easier if I start to ask concrete questions.
    1. I have a cluster server and I know some drives have only 10MB and they are not changing at all as I fixed them.  How can I use Monitor/Rules so that I could receive Alert?  I was told by our admin that SCOM only got triggered if status got changed
    In my case, since the drive space will never get changed (fixed to 10MB left), I will never receive alert???
    cheers
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    "Logical disk free space" is the monitor that will be monitoring this.
    Yes, SCOM will send alerts only when the Mbytes and % values of the free space ; mentioned in the monitor are met. You can configure this monitor by setting up correct Mbytes and % values   to change the state of this monitor and thereafter you
    will receive the alerts from this monitor.
    Hope this helps.
    Thanks, S K Agrawal

Maybe you are looking for