Compare value in every 10 seconds

Hi,
 i am collecting the data continuously sending the commands.Now i have to compare one value of them in every 10s.I attached example vi here with.I have to read data and in every 10s i have to check weather it ok or not.i could i do this?
Solved!
Go to Solution.
Attachments:
example2.vi ‏18 KB

Yes you can do it check the attached example
The best solution is the one you find it by yourself
Attachments:
Every 10 Secs.vi ‏14 KB

Similar Messages

  • Why value returned by datasocket updates every one second?

    I am using labview object to retrieve modbus register value using datasocket. I configure the poll rate of Modbus to 0:00001 (1ms I think). I read the labview object every 250ms in a loop and store the data into a file. After reading the file, I found that the value changes every four data. It looks as if the software only reads the modbus register once every one second. Is it the way it works or is there anything wrong with my setting?
    I appreciate your help and look forward to your reply.
    Steven

    Hi Steven,
    I've modified the VI you sent to use the new DataSocket VI's, rather than the old compatibility VI's. These VI's should allow you to specify the update rate within the DataSocket URL. You would specify the update rate and deadband in the following way:
    opc:\\ServerName\OPCServer\ItemName?updaterate=100&deadband=0.7
    If you have any further questions, please post a reply.
    Regards,
    Kristi H
    National Instruments
    Attachments:
    datasockettest2.vi ‏32 KB

  • 'revisiond' crashes every 10 seconds

    I recently updated from a 2010 MacBook Pro to a 2013 model four days ago. Aside from needing to re-index my mail to make searching possible, the transfer from my Time Machine backup seemed to go flawlessly. However, there's been a complication;
    Several basic Apple programs — namely TextEdit and Preview — are hanging repeatedly and obnoxiously, especially when I try to save or close a file, but also on regular intervals while working with a document. It's not a problem with the SSD— boot time is ridiculously fast (under ten seconds) and any programs that don't use Apple's (atrocious) 'Versions' system are working flawlessly. Other software that employs Versions (for instance, textwrangler, which I tried when I discovered TextEdit was so problematic) are displaying the same behavior. I used Inkscape for three straight hours today without issue, OpenOffice ran all day without any notable issues, iTunes ran fine for hours, blender works great, Mail works fine, safari and chrome work just like they always did— Everything that uses the old file handling system is fine, and all programs that use Versions are giving me trouble. If not on load, then ten seconds later.
    I consulted my console, and I'm sure you can imagine my horror to discover the following, repeated every ten seconds for almost as long as the computer's been on. It starts happening immediately after booting and does not stop until I shut the computer down.
    1/14/14 1:10:40.356 AM ReportCrash[24440]: Saved crash report for revisiond[24757] version 160.2 to /Library/Logs/DiagnosticReports/revisiond_2014-01-14-011040_MacBook-2.crash
    1/14/14 1:10:50.514 AM com.apple.launchd[1]: (com.apple.revisiond[24910]) Job appears to have crashed: Segmentation fault: 11
    1/14/14 1:10:50.514 AM com.apple.launchd[1]: (com.apple.revisiond) Throttling respawn: Will start in 10 seconds
    From what I can tell, revisiond is the daemon responsible for organizing Versions revisions. I don't need or want Versions, since I'm perfectly capable of handling my own revision-saving when I need to, so I tried disabling it with a 'defaults write' command, only to discover that this creates new problems. (TextEdit couldn't even save a document at all after I ran that command, so I immediately reverted the preference to its original value, which restored the flawed, if partly functional, saving capability).
    I didn't spend $3000 on a computer so I could sit and watch documents close for fifteen seconds, or so that something as basic as text-editing could bring an operating system running on an 8-thread i7 to a screeching hault. I've searched the issue extensively online, repaired my permissions several times, switched to a different user... I really shouldn't need to reset the SMC after four days of operation. The only thing left to do is do a clean install and manually recover every file I might need, but we're talking about an accumulation of 7 years worth of files. 540GB. I neither have the time nor the willpower to do that, and it's not even guaranteed to fix anything. (It almost definitely wouldn't, in fact; since my old computer, which is also running Mavericks, does not present the same problem.)
    The crash report associated with every console warning reads as follows (with the process number steadily climbing after a reboot, but everything else remaining roughly the same);
    Process:         revisiond [36763]
    Path:            /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Supp ort/revisiond
    Identifier:      revisiond
    Version:         160.2
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Responsible:     revisiond [36763]
    User ID:         0
    Date/Time:       2014-01-14 01:24:35.199 -0500
    OS Version:      Mac OS X 10.9.1 (13B3116)
    Report Version:  11
    Anonymous UUID:  1A5C7C15-BAFA-0BBB-D52D-A171D853AC22
    Crashed Thread:  3  Dispatch queue: com.apple.revisiond.library
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001
    VM Regions Near 0x1:
    -->
        __TEXT                 000000010ec42000-000000010ec96000 [  336K] r-x/rwx SM=COW  /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Supp ort/revisiond
    Thread 0:
    0   libsystem_kernel.dylib         0x00007fff935f0a52 __semwait_signal_nocancel + 10
    1   libsystem_c.dylib             0x00007fff876aca7c nanosleep$NOCANCEL + 189
    2   libsystem_c.dylib             0x00007fff876d4a32 sleep$NOCANCEL + 42
    3   libdispatch.dylib             0x00007fff92ba776f _dispatch_queue_cleanup2 + 86
    4   libsystem_pthread.dylib       0x00007fff88f5b5af _pthread_tsd_cleanup + 182
    5   libsystem_pthread.dylib       0x00007fff88f58479 _pthread_exit + 111
    6   libsystem_pthread.dylib       0x00007fff88f583e9 pthread_exit + 30
    7   libdispatch.dylib             0x00007fff92ba7719 dispatch_main + 43
    8   revisiond                     0x000000010ec57a3c 0x10ec42000 + 88636
    9   libdyld.dylib                 0x00007fff8f55c5fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x00007fff935f1662 kevent64 + 10
    1   libdispatch.dylib             0x00007fff92b9f43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib             0x00007fff92b9f152 _dispatch_mgr_thread + 52
    Thread 2:: Dispatch queue: com.apple.root.default-overcommit-priority
    0   libsystem_kernel.dylib         0x00007fff935f0caa __sigsuspend_nocancel + 10
    1   libdispatch.dylib             0x00007fff92ba77e4 _dispatch_sigsuspend + 21
    2   libdispatch.dylib             0x00007fff92ba77cf _dispatch_sig_thread + 45
    Thread 3 Crashed:: Dispatch queue: com.apple.revisiond.library
    0   libsystem_platform.dylib       0x00007fff8b08bd55 _platform_strcmp + 85
    1   revisiond                     0x000000010ec685fc 0x10ec42000 + 157180
    2   revisiond                     0x000000010ec683dc 0x10ec42000 + 156636
    3   revisiond                     0x000000010ec6869e 0x10ec42000 + 157342
    4   revisiond                     0x000000010ec781e9 0x10ec42000 + 221673
    5   revisiond                     0x000000010ec4e827 0x10ec42000 + 51239
    6   revisiond                     0x000000010ec77f65 0x10ec42000 + 221029
    7   revisiond                     0x000000010ec7a273 0x10ec42000 + 230003
    8   revisiond                     0x000000010ec6b8d7 0x10ec42000 + 170199
    9   libdispatch.dylib             0x00007fff92b9d2ad _dispatch_client_callout + 8
    10  libdispatch.dylib             0x00007fff92b9e166 _dispatch_barrier_sync_f_invoke + 39
    11  revisiond                     0x000000010ec6b6fa 0x10ec42000 + 169722
    12  revisiond                     0x000000010ec80a96 0x10ec42000 + 256662
    13  revisiond                     0x000000010ec80a2a 0x10ec42000 + 256554
    14  revisiond                     0x000000010ec80223 0x10ec42000 + 254499
    15  com.apple.DiskArbitration     0x00007fff92f8da6b _DADispatchCallback + 145
    16  com.apple.DiskArbitration     0x00007fff92f8d7eb _DASessionCallback + 258
    17  com.apple.DiskArbitration     0x00007fff92f8d6e2 __DASessionSetDispatchQueue_block_invoke_2 + 56
    18  libdispatch.dylib             0x00007fff92b9d2ad _dispatch_client_callout + 8
    19  libdispatch.dylib             0x00007fff92b9f8a1 _dispatch_source_invoke + 413
    20  libdispatch.dylib             0x00007fff92b9f633 _dispatch_queue_drain + 359
    21  libdispatch.dylib             0x00007fff92ba09dd _dispatch_queue_invoke + 110
    22  libdispatch.dylib             0x00007fff92b9efa3 _dispatch_root_queue_drain + 75
    23  libdispatch.dylib             0x00007fff92ba0193 _dispatch_worker_thread2 + 40
    24  libsystem_pthread.dylib       0x00007fff88f58ef8 _pthread_wqthread + 314
    25  libsystem_pthread.dylib       0x00007fff88f5bfb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib         0x00007fff935f0e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff88f58f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff88f5bfb9 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib         0x00007fff935f19f2 read + 10
    1   com.apple.AppleFSCompression   0x00007fff9356968c type5_handler_function + 156
    2   libsystem_pthread.dylib       0x00007fff88f57899 _pthread_body + 138
    3   libsystem_pthread.dylib       0x00007fff88f5772a _pthread_start + 137
    4   libsystem_pthread.dylib       0x00007fff88f5bfc9 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib         0x00007fff935f12ea fsctl + 10
    1   revisiond                     0x000000010ec568b9 0x10ec42000 + 84153
    2   libsystem_pthread.dylib       0x00007fff88f57899 _pthread_body + 138
    3   libsystem_pthread.dylib       0x00007fff88f5772a _pthread_start + 137
    4   libsystem_pthread.dylib       0x00007fff88f5bfc9 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib         0x00007fff935f0e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff88f58f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib       0x00007fff88f5bfb9 start_wqthread + 13
    Thread 3 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x00007f8cb8d11ce0  rcx: 0x0000000000000000  rdx: 0x0000000000000000
      rdi: 0x00007f8cb8d08120  rsi: 0x0000000000000001  rbp: 0x000000010edf5d40  rsp: 0x000000010edf5d40
       r8: 0x000000000000002f   r9: 0x0000000000000ff0  r10: 0x00007fff949b53e4  r11: 0x00007fff8b08bd00
      r12: 0x0000000000000005  r13: 0x00007f8cb8d04c70  r14: 0x000000010edf6a78  r15: 0x00007f8cb8d11ce0
      rip: 0x00007fff8b08bd55  rfl: 0x0000000000010206  cr2: 0x0000000000000001
    Logical CPU:     4
    Error Code:      0x00000004
    Trap Number:     14
    Binary Images:
           0x10ec42000 -        0x10ec95ff7  revisiond (160.2) <B051EA4F-18DD-3542-8893-C426B9CA23F6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Supp ort/revisiond
        0x7fff6d1dd000 -     0x7fff6d210817  dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
        0x7fff86d4a000 -     0x7fff86d4ffff  libmacho.dylib (845) <B2BE3C25-CF1F-309B-AB99-1F0B54621445> /usr/lib/system/libmacho.dylib
        0x7fff874a5000 -     0x7fff8765dff3  libicucore.A.dylib (511.27) <003B6C21-CBD1-3486-9A1D-030ADF5FA061> /usr/lib/libicucore.A.dylib
        0x7fff876a6000 -     0x7fff8772fff7  libsystem_c.dylib (997.1.1) <01F576D9-9718-3D99-A8EA-ACFD6CBBB51E> /usr/lib/system/libsystem_c.dylib
        0x7fff8789a000 -     0x7fff878c3ff7  libc++abi.dylib (48) <8C16158F-CBF8-3BD7-BEF4-022704B2A326> /usr/lib/libc++abi.dylib
        0x7fff87f44000 -     0x7fff880b4ff6  com.apple.CFNetwork (673.0.3 - 673.0.3) <42CFC3DB-35C8-3652-AF37-4BCC73D8BDEF> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff8850a000 -     0x7fff886efff7  com.apple.CoreFoundation (6.9 - 855.11) <DE55D963-05E1-3E4E-AFFC-B0784891016C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff88822000 -     0x7fff888ebfff  com.apple.LaunchServices (572.23 - 572.23) <8D955BDE-2C4C-3DD4-B4D7-2D916174FE1D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff88dc6000 -     0x7fff88e21ffb  com.apple.AE (665.5 - 665.5) <3558CC9A-FD30-3DAD-AB40-FE6828E76FE1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff88ed8000 -     0x7fff88f00ffb  libxslt.1.dylib (13) <C9794936-633C-3F0C-9E71-30190B9B41C1> /usr/lib/libxslt.1.dylib
        0x7fff88f29000 -     0x7fff88f2aff7  libsystem_sandbox.dylib (278.10) <273400C7-F4E2-393C-BC9A-9042490ACED0> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff88f2b000 -     0x7fff88f55ff7  libsandbox.1.dylib (278.10) <AC3C3379-924F-302A-AC48-CA1FF95FF612> /usr/lib/libsandbox.1.dylib
        0x7fff88f56000 -     0x7fff88f5dff7  libsystem_pthread.dylib (53.1.4) <9DA50FD0-D9AC-3051-AD4B-BA0D745BC49C> /usr/lib/system/libsystem_pthread.dylib
        0x7fff88f5e000 -     0x7fff88fd5fff  com.apple.CoreServices.OSServices (600.4 - 600.4) <80E7B419-A0D5-373B-B2B5-88E6A8CD3AE6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff890b6000 -     0x7fff890dafff  libxpc.dylib (300.1.17) <1BB4598D-19ED-3A31-AFD2-C90DD2652CFD> /usr/lib/system/libxpc.dylib
        0x7fff8a11a000 -     0x7fff8a122fff  libsystem_dnssd.dylib (522.1.11) <AEA21060-EFAA-3C63-8D53-CB22EE8B507C> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff8a123000 -     0x7fff8a134ff7  libz.1.dylib (53) <4C5FA1A5-4471-398E-9543-2E54D46E63E9> /usr/lib/libz.1.dylib
        0x7fff8a34c000 -     0x7fff8a357ff7  com.apple.NetAuth (5.0 - 5.0) <C811E662-9EC3-3B74-808A-A75D624F326B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff8a437000 -     0x7fff8a43efff  com.apple.NetFS (6.0 - 4.0) <D4FE0F16-3085-34AF-B860-3D46B98FAD2A> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff8a793000 -     0x7fff8a940f27  libobjc.A.dylib (551.1) <F21C5742-7B9C-31F1-BBAE-1717BC6C2F1B> /usr/lib/libobjc.A.dylib
        0x7fff8a941000 -     0x7fff8ac2bfff  com.apple.CoreServices.CarbonCore (1077.14 - 1077.14) <B00BEB34-A9F5-381F-99FD-11E405768A9A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff8b083000 -     0x7fff8b086fff  com.apple.TCC (1.0 - 1) <F25B5875-081A-3877-B70E-374D54B54C5F> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
        0x7fff8b087000 -     0x7fff8b08dff7  libsystem_platform.dylib (24.1.4) <8ABC4EBE-10D6-35B8-ADEE-63600E87601C> /usr/lib/system/libsystem_platform.dylib
        0x7fff8b9eb000 -     0x7fff8ba58fff  com.apple.SearchKit (1.4.0 - 1.4.0) <33298263-5B12-340D-BB9D-D52303849561> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff8d9d9000 -     0x7fff8da68fff  com.apple.Metadata (10.7.0 - 800.12.2) <A9F5D471-8732-3F95-A4A2-33864B92A181> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff8da80000 -     0x7fff8da84fff  libpam.2.dylib (20) <A63D4DA2-06A4-3FB8-AC3F-BDD69694EE5E> /usr/lib/libpam.2.dylib
        0x7fff8daeb000 -     0x7fff8daebffd  libOpenScriptingUtil.dylib (157) <19F0E769-0989-3062-9AFB-8976E90E9759> /usr/lib/libOpenScriptingUtil.dylib
        0x7fff8dbac000 -     0x7fff8deabfff  com.apple.Foundation (6.9 - 1056) <C59C6204-7259-3541-A131-A21DB3253373> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8dfb2000 -     0x7fff8e099ff7  libxml2.2.dylib (26) <A1DADD11-89E5-3DE4-8802-07186225967F> /usr/lib/libxml2.2.dylib
        0x7fff8f047000 -     0x7fff8f058ff7  libsystem_asl.dylib (217.1.4) <B983CA60-F418-317B-B142-48A6376564FC> /usr/lib/system/libsystem_asl.dylib
        0x7fff8f483000 -     0x7fff8f48aff3  libcopyfile.dylib (103) <6453487A-EDA5-353C-8351-1AABB3C7777C> /usr/lib/system/libcopyfile.dylib
        0x7fff8f559000 -     0x7fff8f55cff7  libdyld.dylib (239.3) <1767060C-6E76-3149-B991-8FEA14B8352C> /usr/lib/system/libdyld.dylib
        0x7fff8f7a1000 -     0x7fff8f7aeff7  libxar.1.dylib (202) <5572AA71-E98D-3FE1-9402-BB4A84E0E71E> /usr/lib/libxar.1.dylib
        0x7fff8f7af000 -     0x7fff8fa07ff1  com.apple.security (7.0 - 55471) <233831C5-C457-3AD5-AFE7-E3E2DE6929C9> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff8fa39000 -     0x7fff8fa44fff  libkxld.dylib (2422.75.4) <5448DCF9-721D-3B8C-AEFE-2A89477E82CF> /usr/lib/system/libkxld.dylib
        0x7fff8fa45000 -     0x7fff8fa46ff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff8fc7e000 -     0x7fff8fce8ff7  com.apple.framework.IOKit (2.0.1 - 907.1.13) <C1E95F5C-B79B-31BE-9F2A-1B25163C1F16> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff902a9000 -     0x7fff902d0ffb  libsystem_info.dylib (449.1.3) <395D8CD6-616A-3BD3-A195-C6D68EB9AB22> /usr/lib/system/libsystem_info.dylib
        0x7fff90345000 -     0x7fff90349fff  libsystem_stats.dylib (93.50.1) <EBC4B8DB-7C2B-35DE-B865-34FE11AF3B1B> /usr/lib/system/libsystem_stats.dylib
        0x7fff9034a000 -     0x7fff9034bff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
        0x7fff908c5000 -     0x7fff908cfff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <9556885C-22DD-3392-ACCB-2B413434D8D3> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
        0x7fff90d98000 -     0x7fff90d9aff7  libquarantine.dylib (71) <973BE51D-6465-392F-9099-D4AB21BF0D25> /usr/lib/system/libquarantine.dylib
        0x7fff90da5000 -     0x7fff90df3fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
        0x7fff90e6e000 -     0x7fff90ed2ff3  com.apple.datadetectorscore (5.0 - 354.0) <25525311-E3A2-3D06-9010-DDB12A936E88> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff90f39000 -     0x7fff90f3affb  libremovefile.dylib (33) <26266E3F-FDDC-3CFC-B27F-78B49BDC9BDC> /usr/lib/system/libremovefile.dylib
        0x7fff91225000 -     0x7fff9130ffff  libsqlite3.dylib (158) <447AA928-BCF7-3779-A7E5-210F264E0316> /usr/lib/libsqlite3.dylib
        0x7fff915cc000 -     0x7fff915e3fff  com.apple.CFOpenDirectory (10.9 - 173.1.1) <3FB4D5FE-860B-3BDE-BAE2-3531D919EF10> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff91671000 -     0x7fff91675ff7  libcache.dylib (62) <8C1EFC4F-3F51-3DE9-A973-360B461F3D65> /usr/lib/system/libcache.dylib
        0x7fff918c0000 -     0x7fff918c1fff  libunc.dylib (28) <C3737C9A-C06F-310C-B78C-7D8D882A35DE> /usr/lib/system/libunc.dylib
        0x7fff91b6d000 -     0x7fff91b6dfff  com.apple.CoreServices (59 - 59) <67A369BA-2326-383F-995B-853DAD7BFF43> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff91e8b000 -     0x7fff91eb2ff7  libsystem_network.dylib (241.3) <A499D688-9165-3776-8C8E-C018897B5B13> /usr/lib/system/libsystem_network.dylib
        0x7fff91eb3000 -     0x7fff91f16ff7  com.apple.SystemConfiguration (1.13 - 1.13) <F05F4149-981B-380B-8F50-51CE804BBB89> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff91f83000 -     0x7fff91f84ff7  libSystem.B.dylib (1197.1.1) <A75BB8CD-CE51-3DF7-BCF4-8BDE25FA7F0C> /usr/lib/libSystem.B.dylib
        0x7fff91f85000 -     0x7fff91f8cfff  libcompiler_rt.dylib (35) <2A890004-0A78-3E33-9AC5-A7D63BD4F879> /usr/lib/system/libcompiler_rt.dylib
        0x7fff9201c000 -     0x7fff9201eff3  libsystem_configuration.dylib (596.12) <9883100A-4D35-3D84-99B7-1CE999AE110A> /usr/lib/system/libsystem_configuration.dylib
        0x7fff92061000 -     0x7fff92062fff  liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
        0x7fff92a7f000 -     0x7fff92a87fff  libMatch.1.dylib (19) <021293AB-407D-309A-87F5-8E782F46753E> /usr/lib/libMatch.1.dylib
        0x7fff92b9c000 -     0x7fff92bb6fff  libdispatch.dylib (339.1.9) <D133504D-CD45-33B1-A331-AAE02D9C0CB2> /usr/lib/system/libdispatch.dylib
        0x7fff92ce1000 -     0x7fff92d06ff7  com.apple.ChunkingLibrary (2.0 - 155.1) <B49408CD-ECE8-3785-84A4-45B03882574A> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/Chunking Library
        0x7fff92f8b000 -     0x7fff92f90fff  com.apple.DiskArbitration (2.6 - 2.6) <AE84088D-C061-304C-B205-C9F56ECD23C7> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff930d5000 -     0x7fff930f0ff7  libsystem_malloc.dylib (23.1.10) <F1AA887E-FC96-3F40-A4BA-9E16C1865821> /usr/lib/system/libsystem_malloc.dylib
        0x7fff930f1000 -     0x7fff930f6ff7  libunwind.dylib (35.3) <95D4D118-3368-3474-989D-271DE18C8365> /usr/lib/system/libunwind.dylib
        0x7fff930fb000 -     0x7fff9313dff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
        0x7fff931a8000 -     0x7fff931b5ff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
        0x7fff93560000 -     0x7fff9356cff3  com.apple.AppleFSCompression (56 - 1.0) <1EBCFC91-734D-338B-8796-4B93BDC53014> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
        0x7fff935db000 -     0x7fff935f7ff7  libsystem_kernel.dylib (2422.75.4) <F5C190DA-A845-3ADE-9B50-161A881BC136> /usr/lib/system/libsystem_kernel.dylib
        0x7fff9399c000 -     0x7fff939a6fff  libcommonCrypto.dylib (60049) <79B8E80F-E596-3302-8243-EC479B9546CA> /usr/lib/system/libcommonCrypto.dylib
        0x7fff93b70000 -     0x7fff93b99fff  com.apple.DictionaryServices (1.2 - 208) <A4E4EA9E-08A1-3F77-8B57-A5A1ADD70B52> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff93dd6000 -     0x7fff93de6fff  libbsm.0.dylib (33) <2CAC00A2-1352-302A-88FA-C567D4D69179> /usr/lib/libbsm.0.dylib
        0x7fff93de7000 -     0x7fff93deeff7  liblaunch.dylib (842.1.4) <50B742D9-0C5C-3ABA-8EBF-3D447630932F> /usr/lib/system/liblaunch.dylib
        0x7fff941d1000 -     0x7fff941daff3  libsystem_notify.dylib (121) <31F9FEF5-2897-328A-8441-B7BDFEDB10D4> /usr/lib/system/libsystem_notify.dylib
        0x7fff941db000 -     0x7fff941f6ff7  libCRFSuite.dylib (34) <FFAE75FA-C54E-398B-AA97-18164CD9789D> /usr/lib/libCRFSuite.dylib
        0x7fff94238000 -     0x7fff94267fd2  libsystem_m.dylib (3047.16) <9D96AACD-5870-3A5C-B849-7F9C0F6EBB09> /usr/lib/system/libsystem_m.dylib
        0x7fff94268000 -     0x7fff942bafff  libc++.1.dylib (120) <2CB96D10-1E3E-39B1-B90D-C56C3818321E> /usr/lib/libc++.1.dylib
        0x7fff942bb000 -     0x7fff942bbff7  libkeymgr.dylib (28) <D7045F25-BFA4-3840-847D-AF95DF8B6CCA> /usr/lib/system/libkeymgr.dylib
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 76759
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=91.2M resident=40.1M(44%) swapped_out_or_unallocated=51.1M(56%)
    Writable regions: Total=83.8M written=728K(1%) resident=976K(1%) swapped_out=0K(0%) unallocated=82.9M(99%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    Dispatch continuations             16.0M
    Kernel Alloc Once                     4K
    MALLOC                             56.2M
    MALLOC (admin)                       16K
    SQLite page cache                   256K
    STACK GUARD                        56.0M
    Stack                              11.1M
    VM_ALLOCATE                          16K
    VM_ALLOCATE (reserved)               12K        reserved VM address space (unallocated)
    __DATA                             3156K
    __LINKEDIT                         65.5M
    __TEXT                             25.7M
    __UNICODE                           544K
    shared memory                         4K
    ===========                      =======
    TOTAL                             234.4M
    TOTAL, minus reserved VM space    234.4M
    As soon as I get back to my time machine drive, I'm taking back the old version of text-edit, but I really want this fixed, since it also affects several other programs, and is soon to affect even more as more developers start adopting the new Apple standard. What can I do to make this problem go away?

    Should have search little bit better, seems that the plugin "Bark" was the problem:
    https://discussions.apple.com/thread/4281671?tstart=0

  • How to run sql query in bat file in task schedular at every 10 seconds

    This is my sql script :
    DECLARE @countRows INT,
    @currDate DATE,
    @checkForTasks INT,
    @created_by_id INT,
    @gst_ID int;
    SET @currDate = Getdate()
    SET @countRows = (SELECT Count(*)
    FROM [dbo].[sd_gst_effective_table]
    WHERE isapplied = 0)
    IF @countRows > 0
    -- Check for those GST''s who are not applied yet : if they are greater than 0 then perform next task
    BEGIN
    SET @checkForTasks = (SELECT Count(*)
    -- Check is current date equals to task date or not
    FROM [dbo].[sd_gst_effective_table]
    WHERE effect_date = @currDate AND isapplied = 0)
    IF @checkForTasks > 0
    -- If current date = task date then perform this task
    BEGIN
    SET @created_by_id = (SELECT TOP 1 createdby FROM [dbo].[sd_gst_effective_table] WHERE effect_date = @currDate AND isapplied = 0)
    SET @gst_ID = (SELECT gst_id FROM [dbo].[sd_gst_effective_table] WHERE effect_date = @currDate AND isapplied = 0)
    -- STEP 1 :: InActivate the existing GST according to createdbyID
    UPDATE sd_gst_rate
    SET isactive = 0,
    inactivedate = Getdate()
    WHERE isactive = 1
    AND createdby = @created_by_id
    -- STEP 2 :: Activate the New GST according to implementation date and gstID
    UPDATE sd_gst_rate
    SET isactive = 1,
    activedate = Getdate()
    WHERE id = @gst_ID
    -- STEP 3 :: Inactivate the applied GST from sd_gst_effective_table
    UPDATE [dbo].[sd_gst_effective_table] SET isApplied = 1 WHERE gst_id = @gst_ID
    END
    END
    DECLARE @Text AS VARCHAR(100)
    DECLARE @Cmd AS VARCHAR(100)
    DECLARE @value nvarchar(1000);
    SET @value = (SELECT CONVERT(TIME,GETDATE()) AS HourMinuteSeconds);
    SET @Text = 'File Writed ' + @value
    SET @Cmd ='echo ' + @Text + ' > E:\AppTextFile.txt'
    EXECUTE Master.dbo.xp_CmdShell @Cmd
    This is resided in videos folder of windows , i have created a task schedular in windows 8.1 to run daily at every 10 seconds , but it is not working ... Please tell me how to deal with it.
    Please note : This sql query is running perfectly in sql server. Query have no errors. Please check whats wrong with my time schedular. I just want my schedular to run every 10 seconds regardless of date.

    Hi Emad,
    Is your script in a ".sql" file? May I know how you configure the schedule task action?
    Since you didn't mention how you configure the schedule task, can you confirm you have followed the below step correctly?
    Save your script in a ".sql" file.
    Create a ".bat" file and call the sql file above inside with
    sqlcmd.exe, you can reference
    here.
    Configure a schedule task to run the ".bat" file in a certain interval.
    Have you tried to run the script in you bat file in a standalone commandline window? Please post the script in your bat file, It can help to diagnose the issue.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How would I set this small program to activate every 120 seconds?

    I have this small program that writes the value 0 to a file, but I want it to only activate every 120 seconds, so it doesn't take up a bunch of system resources by constantly running. Can I make it pause for 120 seconds, or set a timer for it, in such a way that it won't make my PC run slow? Here's my code. Thanks if you can help.
    import java.util.*;
    import java.io.*;
    import java.io.File;
    public class Purge extends Random implements Serializable {
         public Purge () {
              writePrimDoubles();
         public static void main (String [] args) {
              Purge test = new Purge();
         public void writePrimDoubles() {
              DataOutputStream outStream;
              long timerStart;
              long timerEnd;
              long size;
              int a = 1;
              try     {          
                   while (a==1) {
                        outStream = new DataOutputStream
                             (new FileOutputStream("packetlog.txt"));
                        timerStart = System.currentTimeMillis();
                        outStream.writeBytes("0");
                        timerEnd = System.currentTimeMillis();
                        outStream.close();
              catch(IOException e) {
                   System.out.println("Error writing to file");
    }

    java.util.Timer, I think may do the trick.

  • How do I write snap shot of my data to measurement file every 5 seconds

    Hi There
    I'm trying take a snapshot of my data stream once every 5 seconds and write it to a .LVM file. I'm having trouble with the "Write to Measurement File" VI. The rate at which it writes data to the file appears to be dictated by the "Samples to Read" parameter in the DAQ assistant. I've tried placing the "Write to Measurement File" VI inside a case structure and initiating the case structure with an "Elapsed Time" VI. This only results in a 5 second delay before the "Write to Measurement File" VI initiates. Once the "Write to Measurement File" VI is initiated it begins writing at 20 x per second. Is there a way to change this or dictate the rate at which the "Write to Measurement File" VI exicutes? 
    My reason for slowing down the write rate are, 1) Reduce disk space taken up by my data file. 2) Reduce CPU usage and hard disk access cycles.
    The reason I can't increase the "Samples to Read" value in the DAQ assitant (to match my data writing requirement) is that my VI will begin to miss events and triggers.
    I'm sure I can't be the only person who needs high frequency data acquisition and low frequency writing of the processed data to disk? I can't however see a straight forward way of achiving this.
    The hardware I am using is a NI USB 6008 DAQ, acquiring analogue voltage data at 100hz.   
    Thanks in advance for your help
    Cheers
    Kim
    Solved!
    Go to Solution.

    The case structure and the elapsed time function should work. Did you configure it to reset when the time target is reached? You should get a single true and then the output will be false until the time has elapsed again. The write to file would not be running 20 times a second. Post your code if you still have problems.

  • While composing email, keep getting "Unable to save as a draft" every 30 seconds. I've disable auto save and it didn't help.How can I stop this message?

    While composing email, keep getting "Unable to save as a draft" every 30 seconds. I've disable auto save and it didn't help.How can I stop this message?

    Mike,
    Thank you for taking the time to look at my app. This is my last major stumbling block that I have to resolve for this and other forms in the app.
    Actually, I did use the Form Wizard for Auto DML to originally create the form. It was great. It created most of the Buttons, Items and Validations automatically (basically most of the page). I just needed to create some Processes and Computations. Two of which were the Processes to update the 'create_dt' and 'created_by' fields and 'update_dt' and 'updated_by' fields. The Create process updates the fields just fine.
    However, my problem seems to be that the Hidden 'create_dt' and 'created_by' fields aren't picking up the values from a record that is being editted. Then when I attempt to save the record those fields are NULL, causing the DB NOT NULL constraint to throw an exception for those fields. In the back of my mind I seem to remember seeing some post stating something to the effect that the information in fields with a Source Type of Database Column is just displayed and does not affect Session State items.
    Even with that, I am still wondering just why the 'created_by' Page Item shows the value that is in the DB record being updated, but the 'create_dt" does not (as can be seen in my first posting). It is the 'create_dt' Page Item (:P205_CREATE_DT) not having the DB records 'create_dt' info in it that appears to be the problem.
    Thanks,
    Tom

  • Updating Target Table using DBMS_Scheduler for every 10 seconds

    Hi All,
    Am new to DBMS_Scheduler Package,
    Based on the examples I have written an anonymous block to create job,,, It needs a correction in repeat_interval value,
    I have two table emp (Source) and sk_emp (Target),
    I want sk_emp table to be update for every 10 seconds,
    CREATE PROCEDURE sk_insert_records
    IS
    BEGIN
       MERGE INTO sk_emp se
          USING emp e
          ON (e.empno = se.empno)
          WHEN MATCHED THEN
             UPDATE
                SET se.ename = e.ename, se.job = e.job, se.mgr = e.mgr,
                    se.hiredate = e.hiredate, se.sal = e.sal, se.comm = e.comm,
                    se.deptno = e.deptno
                WHERE se.empno = e.empno
          WHEN NOT MATCHED THEN
             INSERT (empno, ename, job, mgr, hiredate, sal, comm, deptno)
             VALUES (e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm,
                     e.deptno);
    END;I have written the above procedure and below is my anonymous block of dbms_scheduler
    BEGIN
       DBMS_SCHEDULER.create_job (job_name              => 'empdetails',
                                  job_type                 => 'STORED_PROCEDURE',
                                  job_action               => 'ngshare.sk_insert_records',
                                  number_of_arguments      => 0,
                                  start_date               => TRUNC (SYSDATE),
                                  repeat_interval          => 'FREQ=DAILY;BYSECOND=10',
                                  end_date                 => NULL,
                                  job_class                => 'DEFAULT_JOB_CLASS',
                                  enabled                  => TRUE,
                                  auto_drop                => FALSE,
                                  comments                 => 'DONE BY SUNIL'
    END;Can you please let me know the solution,,
    if my repeat_interval is correct, can you please let me know what else need to be done,
    This is my Version
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE     11.2.0.1.0     Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - ProductionThanks for your help
    Edited by: NSK2KSN on Jul 26, 2010 11:06 AM

    Hi It's working, Problem was in repeat_interval it's working now,
    Thanks,
    I changed
      repeat_interval          => 'FREQ=DAILY;BYSECOND=10',to
      repeat_interval          => 'FREQ=SECONDLY;BYSECOND=10',Thanks,
    Edited by: NSK2KSN on Jul 26, 2010 11:14 AM

  • Compare values in detail block

    Hi everyone,
    I have a detailed block which has many records. What's the best way to loop though the detail records and compare the values in the same field in the next, previous record or all detail records.
    Thanks for your help.

    For example, in field A you can only add a record where the value in field A is
    ABC. for this master record.Ok, it sounds like you want a field (field A) to be the link between the master and detail records, which is a common situation. Forms will handle this for you if you use a relationship between the master and detail blocks - the value of the link field in the master will be put into the detail block automatically.
    I would like to look at record 3 value in field A (CBA) and compare it to record 1 and 2.Now I'm confused. Do you have a master record or will you simply be setting field A to the same value for every record? If so then why display the field on each row? You could have a single field at the top of the form and populate each row before inserting it. Is it possible to have a mix of values in field A after querying the records? If so then how do you decide what value should be used for new records?

  • Com.apple.LaunchServices-014501.csstore keeps rebuilding every 3 seconds!

    It's hitting the disk constantly. I've had some weird spinning beach balls go on lately, and last couple of weeks I discovered the old problem of this disk hit stuff. It just keeps replacing itself literally about every 3 seconds.
    I went back to some old posts (where this was problem) using terminal commands supplied and I tried that now and it didn't seem to work.
    I haven't figured out yet what triggers it, or what kills it, as every once in a while I'll take a peek and it's not doing this. I trash teh com.apple.LaunchServices-014501.csstore and it's buddy, but it rebuilds faster than one can restart, and the home folder LaunchServices plist, all to no avail.
    Help me kill this (and keep it "killed"?)! Thanks!
    T i m

    1. You wrote: "It always has the drive attached to the wire, but if I want to repair permissions in DU or Cocktail the drive can not be unmounted w/ the FW 800 LaCie cable plugged in. It must be unplugged. Mounted it runs fine."Try a different FireWire cable or different FireWire port.
    2. You wrote: "Doc, I think you might start recommending the very popular SuperDuper! in your back up strategy. It's laughingly easy, advanced if you want it to be, and to me was so much more users friendly than my Retrospect experience which seemed clunky and considerably more expensive)"I've considered doing so, but it's really a one-trick pony: duplicates to external drives. If that's all one needs, it's a very good product. However, there can be more to Backup and Recovery than duplicates. I hold a license for SuperDuper and several other Backup and Recovery utilities as it's an area of interest for me, so I'm regularly testing and comparing them.
    Retrospect has far more capability: it's truly the "Swiss Army Knife" of Backup and Recovery utilities and why I recommend it. Backup Sets, for example, are a Retrospect exclusive and are extremely useful. Backup to optical media, including media spanning, is another unique feature. As noted in my "Backup and Recovery" FAQ, Retrospect Express is often bundled for free with FireWire drives, making cost a moot point. One can do incremental duplicates with Retrospect Express whereas one must license SuperDuper to do so. If Retrospect was bundled for free with one's FireWire drive, one should at least give a try.
    Likewise, Retrospect itself isn't that expensive: what gets expensive is adding the support contracts to Retrospect, but those are generally not required.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Dequeing happens only every 5 Seconds

    I'm trying to use Oracle Advanced Queuing on Oracle 9.2.0.6.0 for doing some real time publication. Unfortunately my testing has proved that the automatic Dequeuing of the Enqueued mesages happens only every 5 seconds. I'm guessing this is dependent on the Oracle's internal parameter jobqueue_interval (Similar to DBMS_JOB). Am I right? Oracle recommends not to change this parameter value. What other ways do we have to do some real time stuff. Are there anyother parameter value that can be set so that the Dequeuing happens immediately. Thanks in advance.
    Find below my Dequeue proceudure.
    CREATE OR REPLACE PROCEDURE p_dequeue ( context RAW,
    reginfo SYS.AQ$_REG_INFO,
    descr SYS.AQ$_DESCRIPTOR,
    payload RAW,
    payloadl NUMBER)
    AS
    dequeue_options dbms_aq.dequeue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    message message_type;
    BEGIN
    dequeue_options.msgid := descr.msg_id;
    dequeue_options.consumer_name := descr.consumer_name;
    dbms_aq.dequeue(queue_name => descr.queue_name,
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    INSERT INTO KTEST VALUES(message.message_body||to_char(sysdate, 'dd/mm/yyyy hh24:mi:ss'));
    COMMIT;
    END;
    /

    I had a similiar problem. You need to take a look at your mgw.ora file. The default for dequeueing is 5 seconds. You can override the default by coding the following in mgw.ora:
    setJavaProp oracle.mgw.polling_interval=xxx
    Where xxx is the time you want in milliseconds (I have mine set to 500).
    You can see what the polling interval is currently set to by viewing you mgw startup log. My log is under path /opt/app/oracle/product/9.2.0/mgw/log. Since I have put in the override, it says in my log:
    The default polling interval is set to 500ms.
    I hope this solves your problem.

  • I need to Renew DHCP License every 90 seconds or internet freezes.

    I need to Renew DHCP License every 90 seconds or internet freezes. Do I need a new network interface card?

    IF using WiFi, hold the Option key and click on the WiFi Icon in the MenuBar to get a display like this one:
    What value for PHY mode?
    What Channel?
    What RSSI?
    What transmit Rate?
    How many other networks do you see?

  • What program access hard disk every 30 second?

    I have a very loud hard disk. The hard disk make a very short noice every 30 seconds, even for a new boot. Anyway to check which programming access the hard disk repeatly so I can figure out if it's possible to make the machine quiet?

    somthing I read about disk flush/sync timings.  There is some sort of 'laptop' mode in some kernels that if set will cause the disk to sync after a period of time in order to let APM/ACPI put the drive to sleep.
    There may be settings for your filesystem to do the same(!?).  I remember old Windoze NT4 had similar problem and was not remedied until Win2k for use on laptops .... yuck, ... I said the W word.
    Here's something I just dug-up:
    Laptop mode ===========
    This small doc describes the 2.4 laptop mode patch.
    Last updated 2003-05-25, Jens Axboe <[email protected]>
    Introduction ------------
    A few properties of the Linux vm makes it virtually impossible to attempt to spin down the hard drive in a laptop for a longer period of time (more than a handful of seconds). This means you are lucky if you can even reach the break even point with regards to power consumption, let alone expect any decrease.
    One problem is the age time of dirty buffers. Linux uses 30 seconds per default, so if you dirty any data then flusing of that data will commence at most 30 seconds from then. Another is the journal commit interval of journalled file systems such as ext3, which is 5 seconds on a stock kernel. Both of these are tweakable either from proc/sysctl or as mount options though, and thus partly solvable from user space.
    The kernel update daemon (kupdated) also runs at specific intervals, flushing old dirty data out. Default is every 5 seconds, this too can be tweaked from sysctl.
    So what does the laptop mode patch do? It attempts to fully utilize the hard drive once it has been spun up, flushing the old dirty data out to disk. Instead of flushing just the expired data, it will clean everything. When a read causes the disk to spin up, we kick off this flushing after a few seconds. This means that once the disk spins down again, everything is up to date. That allows longer dirty data and journal expire times.
    It follows that you have to set long expire times to get long spin downs. This means you could potentially loose 10 minutes worth of data, if you set a 10 minute expire count instead of just 30 seconds worth. The biggest risk here is undoubtedly running out of battery.
    Settings --------
    The main knob is /proc/sys/vm/laptop mode. Setting that to 1 switches the vm (and block layer) to laptop mode. Leaving it to 0 makes the kernel work like before. When in laptop mode, you also want to extend the intervals desribed above. See the laptop-mode.sh script for how to do that.
    It can happen that the disk still keeps spinning up and you don't quite know why or what causes it. The laptop mode patch has a little helper for that as well, /proc/sys/vm/block-dump. When set to 1, it will dump info to the kernel message buffer about what process caused the io. Be very careful when playing with this setting, it is advisable to shut down syslog first!
    Result ------
    Using the laptop-mode.sh script with its default settings, I get the full 10 minutes worth of drive spin down. Provided your work load is cached, the disk will only spin up every 10 minutes (well actually, 9 minutes and 55 seconds due to the 5 second delay in flushing dirty data after the last read completes). I can't tell you exactly how much extra battery life you will gain in laptop mode, it will vary greatly on the laptop and workload in question. The only way to know for sure is to try it out. Getting 10% extra battery life is not unrealistic.
    Notes -----
    Patch only changes journal expire time for ext3. reiserfs uses a hardwire value, should be trivial to adapt though (basically just make it call get_buffer_flushtime() and uses that). I have not looked at other journalling file systems, I'll happily accept patches to rectify that!

  • Lion Sever:  getting "collabd_localhost.crash"  every 10 seconds

    I just upgraded to lion and then to installed the lion server on my iMac 24" 2.8 Core 2 Duo - I have 4 GB RAM, but as soon as I boot up my free RAM drops to less than 2 GB and keeps dropping.
    Console shows System log and Crash reporter pumping out a "collabd_localhost.crash"  report every 10 sends or so.
    I also had several other servermgrd_localhost.crash reports and several "shutdownStalls"
    for mds, diskarbitrationd, postgres, prl_disp_service, prl_net_start and sh.
    Anybody else having similar problems?
    Let me know if you'd like to see any of theses logs - I'll PM them to you.

    Update: I'm really thinking that I'm going to restore to a previous TM backup. How do we do that now without an installatin disk?
    This is what console is spitting out every 10 seconds:
    7/23/11 1:06:50.855 PM com.apple.collabd: terminate called throwing an exception
    7/23/11 1:06:51.000 PM kernel: nstat_lookup_entry failed: 2
    7/23/11 1:06:51.623 PM com.apple.launchd: (com.apple.collabd[7839]) Job appears to have crashed: Abort trap: 6
    7/23/11 1:06:51.623 PM com.apple.launchd: (com.apple.collabd) Throttling respawn: Will start in 2 seconds
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications: /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:42:in `http_put': Server returned nothing (no headers, no data) (Curl::Err::GotNothingError)
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:42:in `http_put'
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:102:in `sendRequest'
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:153:in `execute'
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from notifications.rb:145:in `initialize'
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from notifications.rb:439:in `new'
    7/23/11 1:06:51.623 PM com.apple.collabd.notifications:           from notifications.rb:439
    7/23/11 1:06:51.636 PM com.apple.launchd: (com.apple.collabd.notifications[7841]) Exited with code: 1
    7/23/11 1:06:51.636 PM com.apple.launchd: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds
    7/23/11 1:06:51.700 PM ReportCrash: Saved crash report for collabd[7839] version ??? (???) to /Library/Logs/DiagnosticReports/collabd_2011-07-23-130651_localhost.crash
    7/23/11 1:06:53.646 PM Firewall: collabd is listening from 127.0.0.1:4444 proto=6
    7/23/11 1:06:53.697 PM Firewall: collabd is listening from ::1:4444 proto=6
    7/23/11 1:07:01.672 PM com.apple.collabd: 2011-07-23 13:07:01.671 wikiadmin[7854:307] Updating schema...
    7/23/11 1:07:01.676 PM com.apple.collabd: 2011-07-23 13:07:01.675 wikiadmin[7854:307] Schema updates completed.
    7/23/11 1:07:01.776 PM CoreCollaborationServer: [CSContentService:4645 40a280 +0ms] No localized text found for key 'default_content.server_home.title'
    7/23/11 1:07:01.777 PM com.apple.collabd: Jul 23 13:07:01 icmp.private CoreCollaborationServer[7849] <Warning>: [CSContentService:4645 40a280 +0ms] No localized text found for key 'default_content.server_home.title'
    7/23/11 1:07:01.798 PM CoreCollaborationServer: [PGCConnection:122 40a280 +0ms] Error in TXN: Error executing query [INSERT INTO entity_changesets (uid, entity_uid_fk, entity_revision, change_type, change_action, change_fields, change_data_bin, change_time, change_user_fk) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)]: ERROR:  time zone displacement out of range: "2011-07-23 13:07:01.761+064204"
              0   CoreFoundation                      0x00007fff90953986 __exceptionPreprocess + 198
              1   libobjc.A.dylib                     0x00007fff95d13d5e objc_exception_throw + 43
              2   PostgreSQLClient                    0x000000010fb8e92c -[PGCConnection executeQuery:withParams:] + 0
              3   PostgreSQLClient                    0x000000010fb8f2bd -[PGCConnection executeUpdate:withParams:] + 787
              4   CSService                           0x000000010fb0d489 __57-[CSContentService _internalCreateEntity:asUser:withACL:]_block_invoke_0 + 1416
              5   PostgreSQLClient                    0x000000010fb8e5c5 -[PGCConnection transactionInBlock:] + 25
              6   CSService                           0x000000010fb0cef2 -[CSContentService _internalCreateEntity:asUser:withACL:] + 577
              7   CSService                           0x000000010fb21a78 __88-[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:andLanguage:]_block_inv oke_0 + 540
              8   PostgreSQLClient                    0x000000010fb8e628 -[PGCConnection transactionInBlock:onError:] + 91
              9   PostgreSQLClient                    0x000000010fb8e5c5 -[PGCConnection transactionInBlock:] + 25
              10  CSService                           0x000000010fb2182a -[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:andLanguage:] + 220
              11  CSService                           0x000000010fb21ca9 -[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:] + 165
              12  CSService                           0x000000010fb21edd -[CSContentService createEntitiesFromTemplate:] + 93
              13  CSService                           0x000000010fb22317 -[CSContentService init] + 785
              14  CSService                           0x000000010faf5fd7 -[CSLocalServiceLocator _locateServiceInMainThread:] + 228
              15  CoreFoundation                      0x00007fff9094311d -[NSObject performSelector:withObject:] + 61
              16  Foundation                          0x00007fff97b97830 __NSThreadPerformPerform + 214
              17  CoreFoundation                      0x00007fff908c2241 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
              18  CoreFoundation                      0x00007fff908c1aad __CFRunLoopDoSources0 + 253
              19  CoreFoundation                      0x00007fff908e88d9 __CFRunLoopRun + 905
              20  CoreFoundation                      0x00007fff908e8216 CFRunLoopRunSpecific + 230
              21  CoreFoundation                      0x00007fff908f7f2f CFRunLoopRun + 95
              22  collabd                             0x000000010faa96d2 main + 357
              23  collabd                             0x000000010fa8b734 start + 52

  • Help MSI GE60 Fan keeps spinning to 100% and down every 10 seconds.

    Hello,
    I just bought an MSI GE60 and after 4 days of using, The fan keeps spinning up and down every 10 seconds even when nothing is running on the laptop. Have tried updating the BIOS and the drivers, but no change.
    Every time i turn on my laptop this always happen. It goes on when my laptop is on. Even if im not doing anything it still keeps spinning up and down. I checked the temperature and its at 40+ C and my CPU usage is normal. Basically im not doing anything and it keeps doing this fan spin up and down.
    Even when the cooler boost is on or off, its still does the same thing, the fan keeps spinning up to 100% and down.
    Do you think this is a software issue or hardware?  It is very annoying to hear the fan go 100% for 10 seconds then back to normal then back to 100% speed again and when i press cooler boost it doesnt do anything. So even tho the cooler boost button is off, it still keeps doing the 100% fan speed and back to normal again. It keeps repeating.
    Can anyone help me solve this problem please? Thank you very much.

    Quote from: reprieve.nagrand on 03-May-13, 08:35:31
    I have already tried uninstalling the S-bar and SCM drivers but still getting the fan noise. Also tried the no-battery and no-power reset for more than 24 hours but still having the same problems. The only thing that worked was changing the values in the RWeverything software. The only problem here is that it will work only until I shutdown the laptop. Once I do a cold boot I have to redo the RWeverything changes again.
    @reprieve.nagrand
    thanks for your case. Can I ask you a few questions more, please?
    1. According to your model id your notebook came with just FreeDos, right? Could you please enter the Bios and go to System Information to confirm that you are using Bios 10F and EC version 14.04 (or 4.04)?
    2. I urgently need a screenshot of your EC-Page within RWeverything after a cold boot without any modifications. Please try to make the screenshot at that time, when you can barely hear the fan anymore during the spin-on / spin-off cycle.
    3. CoolerBoost: with a laptop that has been sitting idle for at least 20mins since last cold boot (no load, please!), can you turn on coolerboost by pushing the button somewhere to the left of the Powerbutton and let coolerboost run for at least 30 seconds. Then turn coolerboost off again and wait for the fan to slow down. Does the fan run continously after applying coolerboost or does it enter its off/on-cycle again. Please try it for at least 5 times and repeat it during other Windows sessions for two times. If this trick works, you are the man to make the video! Please help me out here. Please note, that the coolerboost trick will only work until there is load on the system again. If the fan speed picks up again due to load and slows down again, it will enter the annoying pattern, again.
    4. While still reviewing the case and going through my notes, I came across an entry that I reflashed the EC-Controller with the same firmware one or two nights before the problem disappeared. This happened after uninstalling S-Bar and SCM earlier. So, if you are familiar with DOS-Flashing using USB-Sticks you could try to reflash the EC-Controller, than remove all power sources for at least 20 mins. If anyone else is experiencing the problem, please go ahead and report your findings. But please do the reflash only if you are familiar with such things and of course, please do so on your own risk!
    Current status and work in progress:
    As I haven't gotten hand on a video proofing that simply pushing the coolerboost fan button makes the problem temporarily go away, I am still stuck on there. The coolerboost solution works until the system load increases so much, that the fan level has to be raised. When the system load goes back to idle again, the fan level decreases and enters the off/on-cycle again.
    The good news is I managed to customize a programm called fan control tools to somehow automatically apply the changes in RWeverything via a small GUI. This tool will also allow you to set fan profiles for Office, Games, etc. The bad news is, that this will trigger UserAccountControll at least once and it doesn't reapply after a cold boot or returning from hibernate, yet. I am now currently working on a solution that allows the new fan values to be set by Windows automatically using a batch file. This will apply the new values after a normal Windows boot, but not when returning from hibernate, though.
    However, if you have found your remedy value for the fan issue within RWeverything, you can turn to Svet in the subforum "Notebook Modified & Private BIOS'ses & EC-FW". He will certainly be able to create you a custom EC-FW with those values written permanently in it.
    My case:
    The fan problem with my notebook has not (yet) returned. It has been running without S-Bar/SCM just fine. It can even process all fan profile alterations I have made. So, am I just lucky? While I do believe, that the fans of those notebooks experiencing the issue could be "somewhat odd", I find it hard to believe that my fan really suffered a mechanical problem. Without doing anything mechanical wise, my problem went away.
    @Warner: I promised to present more videoproof of the case, but unfortunately I haven't managed to get a hold on a suitable video, especially since my unit has been running fine for the last weeks. Please be patient, if I have enough evidence I will post it asap.
    One question bothers me though: looking at the EC-page of RWeverything, I was wondering if these are really all values, that the EC handles and checks. Are there any other values, variables that the EC manages and that are not displayed on the EC-page of RWeverything? The reason for asking this, is because I have a video showing the ECpage of RWeverything while the fan does his off/on-cycle and you can clearly see the RPMvalue correspond to the actions of the fan. As you pointed out, the boosts occur because the EC is missing a fan signal, I could clearly see the RPM value at offset 0xCD respond to the actions of the EC. If the controller looks for that value only, it should surely see the RPMs of the fan, as I can see them in RWeverything. So, I was wondering if the EC has other values not shown in RWeverything, that determine if the EC should enter the boost cycle?
    While having another look at that video again, to me it appears as if the EC does this really on purpose. It tries to reduce the voltage of the fan to a point so low, that the fan simply starves. Then it boosts the fan up again. The only question is: why does the EC do that? Is there a leftover setting inside the EC - perhaps from another notebook - where such low RPMs were achievable?
    You can find the video here in this zip-file: http://www.file-upload.net/download-7371226/MSI.rar.html
    In the zip-file you will find three numbered videos, the first one is the most interesting as it shows the annoying fan cycle while the laptop is running idle. In the second one, the user put load on the system using prime95. The third one shows the system while it cools off again after prime95 has been stopped. Sadly, the video is too short as the system doesn't reach its lowest fan state again. The videos were taken in march in Germany, so the ambient temperature is around 20-21 °C or less (normal room temperature in Germany).
    Regards,
    jku

Maybe you are looking for

  • What's a good headset or mic under $50?

    A podcast show wants to interview me from Texas, Im in San Diego. He wants me to use skype, which I downloaded. I want to buy a mic or a headset under $50 at any local store to provide good voice, what do you guys recommend? I have A 1.25GHZ G4 Power

  • How to know child procedure Execution time with in parent procedure

    Hi Team, I've a requirement in which I need to get the execution time of a child procedure while its running in a parent procedure in PLSQL. While the child process is running, I want to know its execution time so that if it execution time exceeds mo

  • Delta in Genaric extractin

    Hello gurus, I have done generic extraction on table OSMON, the feild which i have included in are, SERVER(Server name)                                           1,ADATE(Date of analysis)                              2,CPUMAX(Max. CPU usage for 1 day

  • Click event on textbox inside a usercontrol WPF

    Hello, I'am a beginner in WPF and then i need your help! I try to make a usercontrol which contains a textbox. I wish I could handle the click on the texbox to eg display a popup. So I add a property ClickCommand (which would be an onclick) because i

  • Form Question / Scripting?

    Hello, I have a drop down list where the user needs to choose from 3 different options.  I would like the following to happen: Depending on which of the 3 choices they pick - the next field (drop down list) shows the items they can choose from for th