Infinite loop during recovery of JE 4.1.10 database environment

Hi there,
We have a JE 4.1.10 database environment which is over 20GB in size. In order to improve performance we increased je.log.fileCacheSize so that we could cache all of the 10MB DB log file descriptors in memory and prevent JE from having to constantly open/close log files (the environment is only partially cached in memory and there are more than 2000 log files). Unfortunately, we failed to increase the file descriptor ulimit from the Linux default of 1024 and our application failed when the ulimit was reached.
Since then we've reverted the settings and increased the JVM heap size so that we can fully cache everything in memory again. However, we are having problems recovering the DB environment. It looks like the environment recovery proceeds through the 10 recovery steps but gets stuck while loading the log file utilization meta-data:
Stack trace #1:
"main" prio=10 tid=0x000000005622f000 nid=0x5d94 runnable [0x00000000419fe000]
java.lang.Thread.State: RUNNABLE
     at java.io.RandomAccessFile.seek(Native Method)
     at com.sleepycat.je.log.FileManager.readFromFileInternal(FileManager.java:1605)
     - locked <0x00002aaaf80dca88> (a com.sleepycat.je.log.FileManager$1)
     at com.sleepycat.je.log.FileManager.readFromFile(FileManager.java:1560)
     at com.sleepycat.je.log.FileManager.readFromFile(FileManager.java:1498)
     at com.sleepycat.je.log.FileSource.getBytes(FileSource.java:56)
     at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:861)
     at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:790)
     at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:751)
     at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1320)
     at com.sleepycat.je.tree.BIN.fetchTarget(BIN.java:1367)
     at com.sleepycat.je.dbi.CursorImpl.fetchCurrent(CursorImpl.java:2499)
     at com.sleepycat.je.dbi.CursorImpl.getCurrentAlreadyLatched(CursorImpl.java:1545)
     at com.sleepycat.je.dbi.CursorImpl.getNextWithKeyChangeStatus(CursorImpl.java:1692)
     at com.sleepycat.je.dbi.CursorImpl.getNext(CursorImpl.java:1617)
     at com.sleepycat.je.cleaner.UtilizationProfile.getFirstFSLN(UtilizationProfile.java:1262)
     at com.sleepycat.je.cleaner.UtilizationProfile.populateCache(UtilizationProfile.java:1200)
     at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:221)
     at com.sleepycat.je.dbi.EnvironmentImpl.finishInit(EnvironmentImpl.java:549)
     - locked <0x00002aaaf8009868> (a com.sleepycat.je.dbi.EnvironmentImpl)
     at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:237)
     at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:229)
     at com.sleepycat.je.Environment.<init>(Environment.java:211)
     at com.sleepycat.je.Environment.<init>(Environment.java:165)
Stack trace #2:
"main" prio=10 tid=0x000000005622f000 nid=0x5d94 runnable [0x00000000419fe000]
java.lang.Thread.State: RUNNABLE
     at com.sleepycat.je.tree.IN.findEntry(IN.java:2086)
     at com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2194)
     at com.sleepycat.je.cleaner.UtilizationProfile.getFirstFSLN(UtilizationProfile.java:1242)
     at com.sleepycat.je.cleaner.UtilizationProfile.populateCache(UtilizationProfile.java:1200)
     at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:221)
     at com.sleepycat.je.dbi.EnvironmentImpl.finishInit(EnvironmentImpl.java:549)
     - locked <0x00002aaaf8009868> (a com.sleepycat.je.dbi.EnvironmentImpl)
     at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:237)
     at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:229)
     at com.sleepycat.je.Environment.<init>(Environment.java:211)
     at com.sleepycat.je.Environment.<init>(Environment.java:165)
It looks like it is spinning in UtilizationProfile.getFirstFSLN(). Examining the syscalls using strace shows that JE is looping around the same 3 log files over and over again (note the lseek calls on fd 147):
14719 lseek(147, 2284064, SEEK_SET) = 2284064
14719 read(147, "\310\f9\311\v\0\330\331\"\0:\0\0\0\2{\231\302\36\27\0\340\24\0\0\33\201\230\0\340\24\0"..., 4096) = 4096
14719 lseek(95, 3030708, SEEK_SET) = 3030708
14719 read(95, "B\17\36\373\v\0\350<.\0B\0\0\0\2{3\323\36\27\0+\21\0\0\210\221\230\0+\21\0"..., 4096) = 2469
14719 lseek(95, 3025672, SEEK_SET) = 3025672
14719 read(95, "#(\2571\v\0b*.\0\202\0\0\0\2{\26\323\36\27\0\0160\0\0f\221\230\0Z\22\0"..., 4096) = 4096
14719 lseek(74, 35084, SEEK_SET) = 35084
14719 read(74, "\361\34s\272\v\0\300\210\0\0h\0\0\0\2{\240\323\36\27\0\346\36\0\0\215\225\230\0\350\22\0"..., 4096) = 4096
14719 lseek(74, 90663, SEEK_SET) = 90663
14719 read(74, "\2\16P\341\v\0#;\1\0B\0\0\0\2{\275\323\36\27\0\366/\0\0003H.\0$\3\0"..., 4096) = 4096
14719 lseek(147, 2284064, SEEK_SET) = 2284064
14719 read(147, "\310\f9\311\v\0\330\331\"\0:\0\0\0\2{\231\302\36\27\0\340\24\0\0\33\201\230\0\340\24\0"..., 4096) = 4096
14719 lseek(95, 3030708, SEEK_SET) = 3030708
14719 read(95, "B\17\36\373\v\0\350<.\0B\0\0\0\2{3\323\36\27\0+\21\0\0\210\221\230\0+\21\0"..., 4096) = 2469
From the output of lsof we can determine the names of the log files associated with the above file descriptors, but I'm not sure if this is useful or not. We also ran DbVerifyLog against the entire DB log and it produced no results, so this indicates to me that the DB is not corrupt after all (although it could be that DbVerifyLog simply does not check the utilization profile meta data).
I had a look at the change log for 4.1.17 but couldn't see any relevant bugs. It's probably worth noting that this DB does not use HA, duplicates, or secondary indexes.
So I guess I have two questions:
1) Is this a bug? Presumably the DB should recover even in the event of a human error induced failure like this?
2) Can we recover the DB somehow, e.g. using DbDump/DbLoad?
Let me know if you need any additional information.
Cheers,
Matt

1) Is this a bug? Presumably the DB should recover even in the event of a human error induced failure like this?It is probably a bug, but it depends on exactly what happened during the original crash.
2) Can we recover the DB somehow, e.g. using DbDump/DbLoad?If you can't open the environment, only DbDump -R (salvage mode) can be used, which requires identifying the active data by hand. Not a good option.
Let me know if you need any additional information.Do you happen to have the original stack trace, where you ran out of FDs?
How long did the looping go on before you killed the process?
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Still in infinite loop after recovery.  Battery still won't charge

    i I have read several discussions on this issue.  My iPad 2 ,64gb ios 7.1 turned off like the battery died.  I put it back on charger and after a few minutes it booted back up.  The next day the same thing happened. This time it ''twas caught in an infinite loop reboot.  I followed the apple support instruction on enters recovery mode.  I did that successfully but as '"activate your iPad" login screen came up on my MacBook.  The iPad died again. I tried connected charger to Ac charger but it keeps looping.  This time alternating between the battery screen, the apple, the spinning tick marks, then off.  Then it starts over.  I tried recovery again. Same result.  I can't fugure out how to get enough charge to finish recovery. It ha been connected to either the wall or the computer for 6 hours While working on a fix. I have tried the home/power reset multiple times as well as the power/volume up key. I can't seem to just turn it off. It keeps looping. It has never been jail broken. No new app has been added lately except for app updates. But that may have been a week ago. Any help would be greatly appreciated. I am on the road so I can't run it over to apple.

    Unfortunately, it sounds like you need a new battery. Do you live near an Apple store? (I think they can replace these things while you wait.) Otherwise, you've got to send it in--that's the HUGE drawback to iPods vs. other digital players that allow the owner to easily replace the battery.
    I know if you search online you can get instructions on how to do this yourself--but it's risky, you have to order the battery, and bottom line what are you gaining? You still can't immediately fix your iPod!
    I keep a cheap Shuffle on hand for exactly these moments--it fills the need while I wait for the more desired device to return.

  • Need help with infinite loop in recovery mode in Creative Zen 20

    hi,
    I'm having this problem with my Creative Zen 20 GB:
    When I turned it on, it goes immediately to the rescue/recovery mode. Not sure why. Will do that even when I reset the device.
    So, I selected cleanup. After cleanup, it remained showing the menu of the recovery mode. I selected reboot. After reboot, it went back to the rescue/recovery mode. And it goes on and on like an infinite loop.
    Finally, I decided to do a formatAll. Again, it remained in the recovery mode menu after the formatAll action. After reboot, it again went back to the rescue/recovery mode.
    I have never updated the firmware. So, I thought maybe that will help. However, when I connected the device to my PC, the device went to rescue/recovery mode and the PC could not detect the device connected via USB. In short, I am currently not able to do anything at all with the device except charging it.
    Would appreciate help/advise.
    Tks in advance.

    huggiebear wrote:
    I connected the device to the PC and after the PC tried to load the library, it said "Player is not connected".
    What library are you loading? After you have run that reload os option, you need to connect the player to the computer and run the firmware update software. If you haven't download that, you can go to the download section and download it. If all else fail, the player is probably faulty and you would need to get in contact with Customer Support then.
    Jason

  • ITunes update to 4.0 requires checking 32-bit mode in "Get Info" window. No such checkbox exists. iTunes refuses to launch. iMac 27-in., Mac OS 10.6.8. Tried re-installing iTunes 4, but went into infinite loop while in "Registering Installed Components"

    After updating to iTunes 4, launching the application indicated that 64-bit mode was only available in Mac OS 10.7 Lion and to use in 32-bit mode by checking the 32-bit mode checkbox in the iTunes "Get Info" window. However, this window does not have the aforementioned checkbox. Thus, iTunes is now unusable.  Tried to download fresh install from Apple site, but this process went into an infinite loop during the "registering installed components" phase of the installation. Had to force quit. System is iMac 27-inch, Core i7 processor, Mac OS 10.6.8.  Is there a problem with iTunes 4? Can I go back to the previous version? Thanks.

    Ah! I found several other people with the same problem in this forum. I followed the suggestion to move iTunes 4 from the "Applications" to the desktop and launch it from there. It worked! I moved it back into the Application folder and its still okay.  Thanks!  This is a definitely a bug that Apple needs to address quickly.

  • How do I stop an infinite loop because of a poorly placed user prompt during developmen​t without closing LabView?

    How do I stop an infinite loop because of a poorly placed user prompt during development without closing LabView?
    Thank you!
    Solved!
    Go to Solution.

    chuck72352 wrote:
    Here is an example of a VI that I can't stop.
    Epic Fail
    but seriously, as was suggested, download Darren's Abort.vi. It comes in very handy for these.
    Message Edited by Broken Arrow on 05-03-2010 01:06 PM
    Richard

  • I updated my Iphone 5 to iOS7 but during setup when i agree to 'Terms and Conditions', its not going to any other screen, it seems as if its going in some infinite loop. Please assist what to do in that case ?

    I updated my Iphone 5 to iOS7 but during setup when i agree to 'Terms and Conditions', its not going to any other screen, it seems as if its going in some infinite loop. Please assist what to do in that case ?

    I am having a really wierd issue as well that is probally related. I dont see 95% of the album artwork associated with my music. Also, it seems as if this has gotten worse since I started using that match feature

  • Igxprd 32, device driver stuck in an infinite loop

    Just attempted to reset a hard drive on our T61 to its factory settings (Windows XP) using the "Recovery CD Set"  (rescue and recovery cd, supplemental product recover cd, and 6 product recovery cd's).  During the final step, the computer reboots itself; however, Windows can't load.  I keep getting an error on a small blue screen, referencing a problem with "igxprd32" and that the device driver got stuck in an infinite loop.  How can I fix this issue.  (Product ID 6465CT0)  Thank you!

    Kindly try to boot the system into Safe mode and then uninstall the display driver.
    After this you should able too boot the system into normal mode. Download the latest driver from lenovo website
    http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/7ld152ww.exe
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Apple TV 1st gen stuck in infinite loop

    Hi
    This has probably been covered a few times but the only answers I could find was from an archived discussion.
    The other day I was given an Apple TV 1st gen, it had not been used for quite some time, and decided to upgrade the software, when I noticed it still had old pictures and music on from the previous user, not wanting to keep these pictures, I decided to reset the machine to factory settings, which it did, but on the restart it was stuck at a loop giving me a code to enter into iTunes, and then resetting and giving me a different code.
    i've tried several resets of the settings, holding menu and - together, but still having no joy.
    Its never been tampered with, but its really annoying me.
    Can anyone help? this is a very old product so figure something might have been done during this time
    Cheers
    Dave

    sounddave,
    I have been in the middle of the same problem for months.
    I think the problem is with the software version that the older 40GB Apple TV's revert to after the factory restore.  Mine reverted to version 1.0, and that is when the loop started happening.  Since when did a factory restore become a factory paper weight creator!
    I read somewhere that the Apple TV looks at an Apple server and the older software doesn't play well with the updated server causing it to keep rebooting.  I'll try to find a link about this if I can find it again.  I remember reading that it happened to a bunch of people with older Apple TV software on a particular day that Apple upgraded their server.
    If you don't let your Apple TV connect to the internet, it will stop the infinite loop, but it also means you can't upgrade your software.  I haven't tried it yet, but it also might be an issue with newer versions of iTunes.
    I tested this by unplugging my router, and the Apple TV stopped looping.
    I tried to fix this before without success, but I am really determined this time.

  • My Macbook Pro will not boot up. I can hear the sound that it has started and then goes into an infinite loop.

    My Macbook Pro will not boot up. I can hear the sound that it has started and then it goes into an infinite loop.

    What model MBP and which version of OS X? Sounds as if the hard drive may have failed. If you have an installation disc, try booting with it. If your machine came with Lion or Mountain Lion, try booting to the Recovery partition - Command and R keys held down while booting.
    Clinton

  • Extension Installer in infinite loop

    Hi,
    I'm trying to use an Extension Installer to install some extra files for my application. I've searched the forum for problems with the Extension Installer and I've seen a few posts, even the same problem I'm having. But none of the suggestions have helped.
    When I run the Extension Installer locally on my own machine it works just fine. However when I move the code to access over the internet the extension installer gets stuck in an infinite loop and my application will never start. And yes, my installer ends with eis.installSucceeded(false).
    Based on other messages in the forum, these are some of the things that I've tried, to no avail:
    1. Add System.exit(0) as the very last statement in my installer.
    2. I don't specify a port in my codebase in either the application jnlp or the extension jnlp.
    3. The webserver is running on the default port (80).
    4. Tried adding "javaws.cfg.forceUpdate=false" to my javaws.cfg file.
    I'm using JWS 1.0.1_02. My web server is IBM HTTP Server. The machine that I'm trying to install to is running W2K.
    Anyone have any suggestions?
    Thanks,
    Beth

    The funny thing is that with you it seems to happen
    during
    one JWS launch session.
    So I wonder why JWS will run k instances of your
    Extension
    installer.
    You don't have an <extension> tag in the jnlp file of
    your extension
    installer, creating an infinite recursion?
    Yes, I wonder why I get multiple instances of the Extension Installer. And also that it works fine if everything is running on my local computer. If I just change the codebase and run everything over the internet is when I get it an infinite loop. Any ideas would be greatly appreciated.
    If it will help, here are my .jnlp files:
    Extension:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SpellChecker Installer -->
    <jnlp     spec="1.0 1.0+"
         codebase="http://apsrv176.ctt.com/bethTest" >
         <information>
              <title>NGS SpellChecker Installer</title>
              <vendor>Vendor</vendor>
              <homepage href="docs/help.html"/>
              <description>SpellChecker Installer</description>
              <description kind="short">Install the SpellChecker files</description>
         </information>
    <security>
    <all-permissions />
    </security>
         <resources>
              <j2se version="1.2"/>
              <property name="ngs.root" value="NGS"/>
              <property name="spellchecker.home" value="SpellChecker"/>
              <jar href="SpellChecker/SpellCheckerInstaller.jar"/>
         </resources>
         <installer-desc main-class="com.ngs.spellcheckerinstaller.SpellCheckerInstaller" />
    </jnlp>
    Main:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for test application -->
    <jnlp     spec="1.0 1.0+"
         codebase="http://apsrv176.ctt.com/bethTest" >
         <information>
              <title>NGS Application</title>
              <vendor>Vendor</vendor>
              <homepage href="docs/help.html"/>
              <description>NGS</description>
              <description kind="short">NGS</description>
              <icon href="images/ngs.jpg"/>
         </information>
         <security>
              <all-permissions/>
         </security>
         <resources>
              <j2se version="1.2" initial-heap-size="64m" max-heap-size="64m"/>
              <property name="ngs.root" value="NGS"/>
              <property name="spellchecker.home" value="SpellChecker"/>
              <jar href="jars/NGSMainForm.jar"/>
    <snip... lots of other jars>
              <nativelib href="jars/bridge2java.jar" />
              <extension href="Third_Party_Jars.jnlp" />
         </resources>
         <resources>
              <extension
                   name="SpellCheckerInstaller"
                   href="SpellCheckerInstaller.jnlp">
              </extension>
         </resources>
         <application-desc main-class="NGSMainForm"/>
    </jnlp>

  • Update failed, phone is in infinite loop

    Selected to install update, now my phone is in an infinite loop. Start screen -> boot from recovery -> install update -> errors out. Odin Mode can be accessed. Is there a boot.img available to fix this issue?

    I grabbed a newer Samsung image from the internet and was able to flash it to the phone. But android crashed at the lock screen due to the failed update, adb wasn't responsive. Took it to the Verizon store in hopes that they had a back door method of fixing my phone...should have known better...after an hour and a half the Verizon kid handed me my phone and acted like I should be grateful..they flashed userdata, they completely waisted my time. Moral of the story, flash userdata and start over because the there is nothing more that Verizon will do for you.

  • Iphone stuck in infinite loop, HELP!

    my iphone after resetting all settings through settings>general>reset, is stuck in an infinite loop.
    it turns on, shows the apple logo, then about a minute later the loading symbol appears, after 10mins it quickly flashs black and then starts the loop again, i have left it for over 12 hours, to see if it will fix itself, but it wont.
    i cant get it into dfu or recovery mode, it wont even turn off until it runs out of battery and then repeats its loop. when i charge it it just starts the loop again!
    please i really need help, if i cant resolve this problem, im not going to buy the ipad and the iphone 4g as i planned to do so.
    please could anyone help!

    If you can't get your iPhone into DFU or recovery mode, there is a major problem. You can make an appointment at an Apple store if there is one nearby.
    This is a user to user help forum only, so doubtful if any fellow users will lose any sleep over your threat not to purchase an iPad or the next generation iPhone when released if this problem cannot be resolved. If not, more than likely there is a hardware problem or failure. If a problem arises with your PC that you cannot resolve, are you not going to purchase another PC either?

  • Notebook caught in infinite loop, then gives a Hard Drive Short DST check error in Bios

    My laptop shut off unexpectedly last week. It got caught in an infinite loop when trying to restart. I was able to access bios and run a system check. I received Failure ID Q0821A-7017lt-xd7wwk-60xx03. I cannot get the computer to start. Please advise.

    1. This is a hardware issue and the Hard Drive is faulty
    2. You cannot recover this failure ID unless you replace the Hard drive
    Detailed Explanation:
    Whenever you get a message stating that the Short DST Check error with 24 Digit Failure ID "Q0821A-7017LT-XD7WWK-60XX03" that indicates that the Hard Disk Drive requires a replacement to resolve the issue
    Could be due to Application or driver conflicts, virus issues, file corruptions due to incompatible applications, improper shutdowns, update failures due to conflicts, sudden power surges, if notebook is dropped etc..
    HP will provide a replacement Hard Disk Drive if the Notebook warranty is Active, If not you need buy a SATA Hard Disk Drive from a retail shop nearby
    Please make sure you are getting at least equal capacity as the original one in order to use Recovery Disks. If you need you can buy a larger, but not smaller capacity Hard Disk Drive. For example if you have a 500GB Hard Disk Drive you can upgrade it to 750GB Hard Disk Drive but not 320GB Hard Disk Drive
    Please try the below shown troubleshooting steps once:
    Step 01. Remove the battery and unplug the AC/Power Adapter
    Step 02. Press and hold the Power button for more than 30 Seconds
    Step 03. Plug in the AC/Power Adapter (leave the Battery out for now)
    Step 04. Press the Power button and check if the Unit works normal
    If the above mentioned steps does not help, then you can try reseating the Hard Drive on your Notebook
    If the issue persists again please Contact HP if your HP Notebook is under warranty, HP would replace the Hard Disk Drive and provide you a Recovery media to restore factory operating system after replacement (if you've not yet created Recovery Discs/USB Media)
    Note: Back up all the personal data to an external drive if it's possible. Otherwise you could connect the failed HDD via SATA to USB adapter with another PC or same PC after replacement of HDD & re-installation of OS and try copying /recovering the files.
    Please click on the link In order to Identify, Prevent, Diagnose & Recover from Drive Failures on HP Notebook Hard Drives & Solid State Drives :
    http://h10032.www1.hp.com/ctg/Manual/c02876562.pdf
    Please check your notebook warranty to verify the status and order a new Hard Disk Drive
    Hope this helps, for any further queries reply to the post and feel free to join us again
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    K N R K
    Although I am an HP employee, I am speaking for myself and not for HP

  • ActionEvent/Setting gui text in an infinite loop

    Hi,
    I have set up a gui that contains ~ 100 JTextFields and one JTextButton
    Pressing the JTextButton on the gui triggers an action event that
    1.     establishes a socket connection w/ a server
    2.     reads input from the server in an infinite loop
    3.     should use the server data to dynamically setText in the various JTextFields found on the gui.
    for example, during one iteration of the infinite loop, the data may set the text of JTextField #1 to ?foo? and in a later iteration of the loop, the new data from the input stream may set the text of the same field to something else (e.g. ?bar?). Thus, the gui should show a dynamically changing collection of TextFields after the user presses the JTextButton.
    Problem: because of the infinite loop, NONE of the fields is ever updated (see pseudocode below). If I remove the infinite loop and simply have 1 iteration of the block of code within the actionPerformed method, the gui updates properly.
    How might I alter the code to a) maintain the server connection, b) continuously read from the input stream and c) have a dynamic update of the textfields w/in the gui?
    I've tried adding "this.paint(this.getGraphics());" within the infinite loop and it sort of works, but the updates to the gui are FAR SLOWER than the data that are streaming in from the server.
    Thanks for any help!
    The code looks something like this
    Public class abc extends JFrame
    Public abc()
         {initialize components}
    instantiate all textfields & button
    create various arrays
    public void initialize components
         (set up gui using gridbaglayout
         add actionListener to button)
    private actionperformed
    (establish socket connection w/ server
         read data from server in an infinite loop
         parse data and use information to setText on the gui)
    public static void main(blah blah)
         show abc();

    have the reading loop in a different class which will have its own Thread running aside from the main program's thread. This way your application will do both at once :)

  • How to obtain data from a device and display that data in an infinite loop

    I'm trying to run an infinite loop where I'm testing a robot for thermal insulation.
    I send the robot a command to run infinitely (using VISA communication)..., the robot starts running.
    At the same time I obtain the temperature data from its motors (through sensors) and want to display it. The data should be refreshed at regular itervals but I only get broken display of the data at various instances of time during the robot's test-run.
    I fear that there is a problem with the time synchronization. But having tried many permutations of time delays at various points in the program, I can not find the fault.
    Any help is much appreciated.
    Cheers
    Rajat

    We really need screen shots (*png format/NOT .bmp!) or attached code to see what might be the problem. There are an infinite number of mistakes that can be made (or nearly so), depending on how a program is written.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

Maybe you are looking for

  • "email me" link in navigation menu

    Hi--I'm a new user to iWeb. Is it possible to put an "email me" button or "contact me" link in the navigation menu instead of having it on a page?

  • How to encrypte password using form 6i?

    Dear all, How to encrypte password using form 6i? Best Regards, Amy Edited by: amychan60 on Sep 29, 2008 8:23 PM

  • EXPORTING 7D FROM FC EXPRESS LOSES QUALITY- HELP

    Hi I have 7d footage which I'm trying to export from Final cut express and when I do it loses quality and comes out a little pixelated. The video is 1920 x 1080, 25 fps, in 'Get Info' it tells me Codecs: H.264, Linear PCM. The total bit rate is 46,00

  • Picture icon

    Picture icon on home screen not opening

  • IPhone 4 Features

    Out of curiosity, is there a comprehensive list of the "100 new user features"? Does that usually get published at a later date? I can only find the top 12 or so that they are touting. From the images so far, it looks like the "FaceTime" button has r