Isolation and continuity testing

Looking for ideas and options for the following. I want to automate a
series of continuity and isolation test required for cables. There
could be dozens of variations of cables each having many measurement
requirements. has anyone done this before?
[email protected]
Thank You

Here are a couple of links to some things other NI customers have done:
http://zone.ni.com/devzone/cda/epd/p/id/1190
http://sine.ni.com/cs/app/doc/p/id/cs-661
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

Similar Messages

  • Isolation and continuity automation

    Looking for ideas and options for the following. I want to automate a
    series of continuity and isolation test required for cables. There
    could be dozens of variations of cables each having many measurement
    requirements. has anyone done this before?
    [email protected]

    Hi Bill,
    In reference to checking for continuity, the challenge may not be with the measurement, but with the connectivity.  In your post, you mention there will likely be a variety of cables you want to test.  If you're interfacing to a number of different cables, connectivity may be simplified through a third-party mass interconnect solution.  In larger systems, such as the one you describe, with hundreds of testpoints (or multiple instruments, reconfigurable system requirements, frequent connects/disconnects, etc.), this more comprehensive approach to planning signal connections is often required.
    The following whitepaper details the main components of a mass interconnect system, where they are most appropriate, and discusses different options for building a mass interconnect system as a part of an automated test equipment (ATE) project.  Perhaps it will assist you.
    Benefits of Mass Interconnect/Fixturing in Automated Test Systems
    http://zone.ni.com/devzone/cda/tut/p/id/2712
    Once the test fixtures are built that connect to your cables, all you require is the instrumentation to generate, measure, and route test signals.  I would require more information in reference to the cables you're planning on testing to assist you with selecting equipment, but generalized suggestions may include a) dense digital I/O equipment wired directly into and out of the cable mating connectors, and b) a single voltage source, measurement device, and switching matrix (used to connect the source and measurement device to all the contact points of each cable).  The configuration that is right for your application depends on the types of measurements you want to perform (i.e. low voltage isolation/short-circuits testing vs high voltage insulation/hipot testing) and how many measurements you want to make.
    Hope this helps!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA 

  • JDeveloper and Continuous testing

    Hello,
    Is there a plugin or a way to do continuous testing in JDeveloper in the way of "Infinitest" or "JUnit Max" ?
    Thanks!

    As far as I know there is nothing out of the box...
    Still there are some blogs about using JUnit, Selenium and Jenkins (Hudson) to set up something like "Infinitest".
    You cna find some info here http://www.oracle.com/technetwork/articles/adf/adf-essentials-098792.html
    You may check Susan Duncans blog http://susanduncan.blogspot.com/2011/06/hudson-and-me.html as she sometimes blogs about stuff like that (e.g. Team Productivity Center).
    Timo

  • How can I pause and continue tests execution?

    Hello dev team,
    Thank you for the greate tool for running Flex tests. It is very very helpful for me and saved a lot of time. And I'm waiting for new releases.
    I wonder how can I pause/restart/continue running tests.
    Thanks in advance.
    Alexey

    Welcome to Apple Support Communities
    Simply press the icon of the app you are downloading, and its name will change to Paused. To resume it, press the icon of the app again

  • Continuity testing and NI 4072 DMM

    I am trying to create a continuity test which looks for opens and shorts and I am looking for advice to try and speed things up, if possible.
    The DMM I am using is a NI 4072 and I am also using a  PXI 128x2 Matrix Module from Pickeringtest to do the switching between test points.
    Now I know the pcb board I am testing does not have 128 test points but for testing my code I thought I would do it all anyway. Running my test takes 7 minutes!
    Now lets say for arguments sake that I only had 64 test points which is probably not far from the truth, that is like 3 - 3.5 minuts.
    Questions,
    For the setup I have, does this time sound about right and it is infact hardware limitation?
    Or
    Is there someting I can do/change etc to speed this up.
    I have the DMM set like this
    AutoZero is set to ON
    Power Line Frequency is set to 50
    DMM is set to AutoRange
    Measurement type is Resistance
    Resolution is 6.5 Digits
    the code is written in c# .Net but its straight forward in what I am doing.
                           for (int i = 1; i < 127; i++)
                                for (int j = i + 1; j < 128; j++)
                                    // Set IO
                                    Controller.IO.SetCrossPoint(i, 1);
                                    Controller.IO.SetCrossPoint(j, 2);
                                    var reading = dmm.Measurement.Read();
                                    // Reset IO
                                    Controller.IO.ReSetCrossPoint(i, 1);
                                    Controller.IO.ReSetCrossPoint(j, 2);
    Basically I am opening a connecion to 2 test points, taking a reading, closing the 2 test points and repeating.
    I understand that the speed in which the Matrix module operates can affect this, the DMM resolution and the range but we have a 10 year old ATE that seems to be able to do a continuity test in a second. I questioned this so I started removing pins from the bed of nails and hey ho it found open circuits.

    Have you done any profiling to determine where the time is being spent (DMM vs Switch)?
    You are configuring your DMM for a very high precision measurement (6.5 digits) in which you have no idea of the range (Auto-Range). First one means the measurement is pretty slow, the second one means the DMM is going to do a first quick measurement to determine what range to use, then switch range, then do the high precision measurement.
    For your needs, selecting a specific range and lowering to 3.5 digits of precision should speed things up considerably and still be a good enough measurement.
    You will see an even bigger improvement in performance if you use multi-point, since the DMM doesn't need different configuration between measurements. Since you are using a Pickering switch, not one of NI's, you cannot have the two devices handshake over PXI trigger lines (that would be even faster). But you can use a software trigger to trigger the DMM after you have programmatically changed the setting on the switch.
    Hope this helps!
    Marcos Kirsch
    Principal Software Engineer
    Core Modular Instruments Software
    National Instruments

  • Unit testing and integration testing

    hello 2 all,
                    what is the diff bet unit and integration testing? in sap what is unit teesting consists of and integration testing consists of what?
    is this the work  of test engineers r whose work is this?
    take care
    love ur parents

    Hi Sameer,
    Unit Testing
    A unit test is a procedure used to validate that a particular module of source code is working properly from each modification to the next. The procedure is to write test cases for all functions and methods so that whenever a change causes a regression, it can be quickly identified and fixed. Ideally, each test case is
    separate from the others; constructs such as mock objects can assist in separating unit tests. This type of testing is mostly done by the developers and not by end-users.
    Integration testing
    Integration testing can proceed in a number of different ways, which can be broadly characterized as top down or bottom up. In top down integration testing the high level control routines are tested first, possibly with the middle level control structures present only as stubs. Subprogram stubs were presented in Section 2 as incomplete subprograms which are only present to allow the higher level control routines to be tested. Thus a menu driven program may have the major menu options initially only present as stubs, which merely announce that they have been successfully called, in order to allow the high level menu driver to be tested.
    Top down testing can proceed in a depth-first or a breadth-first manner. For depth-first integration each module is tested in increasing detail, replacing more and more levels of detail with actual code rather than stubs. Alternatively breadth-first would proceed by refining all the modules at the same level of control
    throughout the application. In practice a combination of the two techniques would be used. At the initial stages all the modules might be only partly functional, possibly being implemented only to deal with non-erroneous data. These would be tested in breadth-first manner, but over a period of time each would be
    replaced with successive refinements which were closer to the full functionality. This allows depth-first testing of a module to be performed simultaneously with breadth-first testing of all the modules.The other major category of integration testing is bottom up integration testing where an individual module is
    tested from a test harness. Once a set of individual modules have been tested they are then combined into a collection of modules, known as builds, which are then tested by a second test harness. This process can continue until the build consists of the entire application.
    In practice a combination of top-down and bottom-up testing would be used. In a large software project being developed by a number of sub-teams, or a smaller project where different modules were being built by individuals. The sub-teams or individuals would conduct bottom-up testing of the modules which they were
    constructing before releasing them to an integration team which would assemble them together for top-down testing.
    I think this will help.
    Thanks ,
    Saptarshi

  • Image Policy when I create a PDF file: warn and continue doesn't work

    Hi!
    I need to create a PDF file with lots of images, and I need to know if any of that images is in low resolution (<300 ppi). I have tried to use the image policy in the PDF settings but it doesn't work, because if I choose "Warn and continue" (if the resolution of any image is <300 ppi, warn and continue) the program creates the PDF file but don't warm me and I don't see any message... and I'm sure that there are bad images because I have made a check test with 72ppi images.
    Thank you very much for your attention,
    best regards!!
    (Sorry if my English is not as good as it would be)

    Thank you very much Bernd Alheit, that's perfect for my job!
    Thank you!

  • ** Is it possible to skip messages with error in BPM and continue next msg

    Hi Friends,
    I am doing File to File BPM scenario. My Source XML is like as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Employee xmlns:ns0="http://www.test.com/XITEST/FileToFile/BPM">
       <Details>
          <EmpCode>10010</EmpCode>
          <EmpName>Jeg</EmpName>
          <***>M</***>
          <BasicPay>5000</BasicPay>
       </Details>
       <Details>
          <EmpCode>10011</EmpCode>
          <EmpName>Praksh</EmpName>
          <***>M</***>
          <BasicPay>4500</BasicPay>
       </Details>
       <Details>
          <EmpCode>10012</EmpCode>
          <EmpName>Nithya</EmpName>
          <***>F</***>
          <BasicPay>4300</BasicPay>
       </Details>
       <Details>
          <EmpCode>10013</EmpCode>
          <EmpName>Sunil</EmpName>
          <***>F</***>
          <BasicPay>4800</BasicPay>
       </Details>
       <Details>
          <EmpCode>10014</EmpCode>
          <EmpName>Abdul</EmpName>
          <***>M</***>
          <BasicPay>4750</BasicPay>
       </Details>
       <Details>
          <EmpCode>10015</EmpCode>
          <EmpName>Sathya</EmpName>
          <***>F</***>
          <BasicPay>4250</BasicPay>
       </Details>
       <Details>
          <EmpCode>10016</EmpCode>
          <EmpName>Rams</EmpName>
          <***>M</***>
          <BasicPay>8000</BasicPay>
       </Details>
    </ns0:Employee>
    If you look at the above message, the 3rd & 6th employee are female. In the BPM design,  we use
    a) 'Transformation' step, to split the messages (1:n).
    b) Block Step (Mode : For Each) to process one by one message
    c) in the Container Step, thru XPath expression we created one variable and assign '***' to that variable
    d) In the Switch step we check whether variable is 'F' (Female). If it is there we insert control step to throw exception. (But, exception Branch is not added to catch the exception. The reason is that to restart the BPM)
    e) If the *** is 'M' we insert Send Step to send the employee to the output file.
    Note that if we insert exception handler branch, the BPM will tell this is completed. So, we are not able to restart those records (*** = 'F') after correct ***. Once the BPM is completed, that work item will not come in tcode 'Continue Process Following Error' option in tcode SXMB_MONI_BPE
    Requirement is whenever the BPM encounters *** = 'F', it  should throw an error and the same time BPM should not stop and continue with the next records.
    Friends, we tried all the ways thru 'Queue Assignment' property of the BPM and made settings thru tcode SWF_INB_CONF. But, we are not able to achive this requirmenent.
    'Restart possibilitye of the BPM for the error record and the same time should process the remaining correct records'. 
    Any idea friends, to solve this issue.
    Kindly Reply,
    Jeg P.

    Use one more Receiver Abstract interface for this and do the message and interface mapping .
    Collecting :
    If ur record is female (u r checking this in swich step) ,  pass tht record to intreface mapping (use one branch here to collect the message).
    Else you send that message to the target(else branch)
    After that use one block for collecting messages and throw the exception for each record......

  • AE CS5 (10.0.1.19) Ram Preview - Audio stops and continue playing randomly

    I already reported this issue to Adobe as a BUG but I want to ask here if somebody else have this problem or can confirm it.
    Audio breaks/stops and continue playing randomly when 'Ram Previewing'
    It happens mostly when the RAM is fully filled up with image cache files! When the Ram is not filled up totally with image cache files it happens rarely!
    Steps to reproduce BUG / issue:
    1. create a new composition with a length of for example 5 minutes.
    2. create a new solid with size of 50x50 pixel and animate the position of the solid for a very long time so when ram previewing the whole ram/memory gets filled up with different image cache data (this is very important!). Alternatively you could use a long video file to fill up the RAM completely.
    3. import a wave file .wav 16bit 48khz uncompressed which is very long for example 5 minutes.
    4. insert the wave file in the earlier created composition which contain the animated solid or video file.
    5. Set the work area bar (preview range) for the whole composition.
    'Ram Preview' the composition until the whole RAM/memory is filled up with image data.
    AE has to stop rendering because there is no more space available in RAM.
    make sure 'from current time' checkbox is off.
    6. listen to the audio which stops playing randomly for about 1-2 seconds and comes back and continues playing (***BUG***)
    7. Now set the right handle of the composition work area bar (preview range) to less then the maximum RAM size
    (less then the green cache indicator on the right side)
    8. "Purge image caches" or "Purge All"
    9. Ram preview the now smaller work area
    10. listen to the audio. The audio breaks are gone! (***Workaround***)
    Additional information:
    I have the latest After Effects CS5 update installed (10.0.1.19)
    This behavior is tested with different audio drivers inside After Effects CS5 (After Effects WDM Sound, Generic Low Latency ASIO Driver,  ASIO DirectX Full Duplex Driver)
    I also tried different Sample Sizes Buffers (alternatively to the default 2048 samples) but without success.
    Reducing the amount of RAM which After Effects can access didn't solve the problem!
    System:
    Win7 64bit all latest Updates, 8GB RAM, CPU: intel Core 2 Extreme QX9300, nVidia Quadro FX 2700M, IDT High Definition Audio Driver v6.10.0.6227
    There is no driver problem on my system because After Effects CS3 & CS4, Premiere & Soundbooth CS3 CS4 CS5 have no audio problems!
    I have lots of other professional audio software like Steinberg Cubase 5.... on the same system and they all work fine.
    I also turned off AVG Anitivirus and Windows firewall for testing without success.
    AdobeQT32Server.exe, dynamiclinkmanager.exe, PProHeadless.exe, afterfx.exe do not get blocked by firewall they have full permission.
    The CS5 Production Premium installation went fine and without errors and antivirus protection was turned off for the installation.
    Any help would be nice!
    Felix

    Yep, I agree with craulmedia....
    It's 1 month ago after my initial post and no valuable feedback from Adobe although I filled out the bug report in addition to this post and provide my email for further information.
    The only reason for upgrading from CS4 -> CS5 production suite was the use of all my 8GB RAM in AE and now AE can use it but when it's using it the audio have issues.
    CS5 is on the market for nearly a year and still have such essential issues... And my fear rises there will be no valuable update fixing these issues but instead Adobe forces me to upgrade later this year to CS6 in hope something change...
    I have had support request for different Adobe products in the past including telephone support, web support via Adobe ID... none with success the web support answered my request 3 weeks later with the message they will look into it... time went by and in the end the result was "Yes we know it's a known bug" the bug did not get fixed for that CS version. it even exists in the next major CS release! (talking about EncoreDVD here). Once the web support answered weeks later when I was in holidays and after some days I was not able to respond they closed my case. I reopened the case but never got an answer! Telephone support is nearly waste of time because in 95% of all cases it does not help to reinstall the whole operating system and talking to people who know less about computers in general or Adobe products then my mom - it's a waste of time.
    I don't want to blame here anybody for things happend in the past I just want to point out that this time I choose an other support channel (bug report and forum post) but it seems that this support channel is also a waste of time after 1 month with no valueable feedback!
    I bumped up this post 2 times and thanks to craulmedia for the third time.
    And now here is my fourth time *BUMP*
    All I got so far is: "I saw your bug report it's in the queue"
    Is it still in the queue? which queue nr. does it have? how long will it take to get any answer? is it reproducible? Is it confirmed as a known bug by Adobe? Is Adobe working on a fix? When will this fix be available? Is the fix provided in form of an update or in the next major release?
    OK, I know this is a user to user forum and Adobe people only stop by in their free time and there is no guarantee for any real support.
    But it started out so good in the first time...
    Last 2 things I want to add here:
    1. Why should I provide my email in the bug report? Sure so Adobe can get back to me for further information... but wouldn't it be nice if Adobe would be so kind to give some status report to that given email as a small present for the enthusiastic beta testers ?
    2. please Adobe take a look at www.uservoice.com already Autodesk started to move there with 3ds Max.

  • VS2013 edit-and-continue doesn't work for 32-bit (error 1006)

    Microsoft Visual Studio Professional 2013, Version 12.0.30501.00 Update 2, is running under 64-bit Win7. App is 32-bit debug build, C++ (native).
    When at a breakpoint, if I change the source code and continue, I get a message
    Edit and Continue : error 1006 : A global or static variable was added, renamed, removed, or changed data type or initialization: ___ImageBase (referenced by: c:\MyProgram\debug\MySource.obj)
    This occurs no matter what the change. In the example above, I added 1 character to the end of a comment line.
    Both edit-and-continue and native edit and continue are enabled (screen shot below).

    Hi VoiceOfExperience,
    Maybe you could share us a simple sample, so we could test in the same Environment.
    After you enable the edit and continue, please restart your VS, test it again.
    In addition, you know that there are some limitations for VC++ with it.
    See:
    http://msdn.microsoft.com/en-us/library/0dbey757.aspx , so we could make sure that it doesn't go against thses rules.
    Maybe you could test it in other VS machine, if we make sure that it really meets the requirements as the above link, but it still has this issue, maybe you could submit a report here:http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,
    you'd better share a simple sample in your report, so it would be helpful for the product team expert to repro/troubleshoot this issue.
    Have a nice weekend,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Coherence-Extend and Continuous Query performance

    Hi,
    I am trying to evaluate the performance impact of continous queries, when using coherence extend (TCP). The idea is that desktop clients will be running continuous queries against a cluster, and other processes will be updating the data in that cluster. The clients themselves take a purely read-only view of the data.
    In my tests, I find that the updater process takes about 250ms to update 5000 values in the cache (using a putAll operation). When I have a continuous query running against a remote cache, linked with coherence extend, the update time increases to about 1500ms. This is not CPU bound.
    Is this what people would expect?
    If so this raises questions to me about:
    1) slow subscribers - what if one of my clients is very badly behaved? Can I detect this and/or take action?
    2) conflation of updates - can Coherence do conflation?
    3) can I get control to send object deltas over the wire rather than entire objects?
    Is this a use case for which CoherenceExtend and continuous queries were designed?
    Robert

    Yes, it is certainly possible, although depending on your requirements it may be more or less additional coding. You have a few choices. For example, since you have a CQC on the cache, you could conceivably aggregate locally (on any event). In other words, since all the data are local, there is no need to do the parallel aggregation (unless it is CPU limited). Depending on the aggregation, you may only have to recalculate part of it.
    You can access the internal data structure (Map) within the CQC as follows:
    Map map = cqc.getInternalCache();
    // now we can do aggregation
    NamedCache cache = new WrapperNamedCache(map);
    cache.aggregate(..);More complex approaches would only recalculate portions based on the event, or (depending on the function) might use the event to adjust the aggregated results.
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Mac Pro Restart and Hardware Test Problems

    This appears to be a continuation of a thread I began titled "MacPro Restart or Reboot Problems" in which the reboot problem still seems to be evident.
    Initially, I was having problems with rebooting but after rebuilding my directory with DiskWarrior, the issue disappeared. Then recently, I entered my password and the Mac restarted itself and the same problem is back where the drive seems to try and "catch" but can't.  And now its back to  happen anytime I want to re-boot (however, this tends to be rare.)
    So I ran DiskWarrior again and it reported no problems. Then I tried to run Apple Hardware Test and about 40 seconds into the test, with the message "Testing memory" stated, the fans begin to spin at a high pitch.  The system locks up and the only recourse is to press the on/off button on the front of the Mac Pro.  If I try to wait it out, the Mac Pro will scream and spin until I restart.
    I've ran the same AHT test on an identical Mac Pro that is only a few months older than this one and even using the Extended test, the AHT takes a little over four minutes.  And the Testing Memory message appears early in the test  and moves on.  Then, much later in the test, the fans spin up to the same high pitch whine like the problem Mac Pro.  But only one at a time (there seem to be three of them) and each one quickly quiets down once they're tested.
    So that's the beef. Something I've considered is this Mac Pro came with two Gigs of Apple memory installed. I'm wondering should I uninstall one of them and re-try the AHT to see if it could be the memory.
    Any suggestions would be appreciated!  Thanks!

    I took my G5 to an Apple Store (2 hrs away) and had a Mac Genius look at it. I told him about the reboot issue and the weird skippy sound it made when it tries to reboot. When I mentioned about the G5 locking up during an AHT, he thought that sounded like a hard ware issue. So he ran a diagnostic test with his Apple CD and the G5 tested fine (?!!) We then ran my original AHT disc that I had brought with me. It too tested fine-- it didn't lock up at all! We rebooted like a half a dozen times-- with both keyboard and via the menu-- and it rebooted like a champ. Everything we tried, the G5 rebooted fine. I asked if maybe the keyboard, mouse or monitor back in my office could be part of the the issue. He replied anything connected to the G5 could be a culprit.
    So I brought it back and hooked it all back up. And it would not reboot! It tries to reboot and makes the same sound, same problem! I disconnected and replaced cables and keyboards and mice. No dice. I took the G5 down to an edit bay where we have an identical G5 (same 2 GB of memory, maybe 3 months older) and connected its power cable, mouse, keyboard and Cinema Display monitor to my G5 and tried it. No reboot, same problem. I reconnected the older G5 back to its original cables/setting and it reboots-- no problems.
    I'm at a loss. I guess I will go about doing a zero drive process and see what that brings... However, one thing I have seemed to confirm: the skippy sound that continously emunates from the G5 as it attempts to reboot seems to be coming from one of the optical drives (the G5 came with two DVD optical drives). I'm wondering if I go in and disconnect the optical drive(s), will that lead to something??
    BTW, I did hook up the G5 to another monitor, thinking that maybe it could be a graphics card or monitor issue with the original display. I used a PC monitor with a DVI connector and the problem was still there.

  • HT1473 I have iTunes on my Dell Vista 64 bit and while trying to burn a book to cd it keeps telling me to insert a blank cd when I have done that already.  What do I need to do to get it to recognize a blank cd and continue with the burn?

    I have iTunes on my Dell Vista 64 bit and while trying to burn a book to cd it keeps telling me to insert a blank cd when I have done that already.  What do I need to do to get it to recognize a blank cd and continue with the burn?

    Microsoft Windows 8 x64 Home Premium Edition (Build 9200)
    Dell Inc. Inspiron 5721
    iTunes 11.1.3.8
    QuickTime not available
    FairPlay 2.5.16
    Apple Application Support 2.3.6
    iPod Updater Library 11.1f5
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 7.0.0.117
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 002FB7200B6E2500
    Current user is not an administrator.
    The current local date and time is 2014-01-01 16:14:14.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 11.1.3.8 (x64) is currently running.
    iTunesHelper 11.1.3.8 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.3.0),
    D:   PLDS DVD+/-RW DU, Rev 
    Audio CD in drive.
    Found 15 songs on CD, playing time 55:35 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:13:47
    Track 3, start time 07:40:44
    Track 4, start time 11:32:54
    Track 5, start time 14:33:34
    Track 6, start time 18:24:06
    Track 7, start time 22:00:28
    Track 8, start time 25:36:27
    Track 9, start time 28:47:47
    Track 10, start time 32:56:24
    Track 11, start time 37:07:54
    Track 12, start time 40:11:29
    Track 13, start time 45:02:62
    Track 14, start time 48:42:65
    Track 15, start time 51:56:11
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   24.
    The drive CDRW speeds are:   24.
    The drive DVDR speeds are:   24.
    The drive DVDRW speeds are:   24.
    The last failed audio CD burn had error code 4310(0x000010d6). It happened on drive D:   PLDS DVD+/-RW DU on CDR media at speed 24X.

  • Pause and Continue Cycle

    Greetings,
    I want to be able to pause a cycle and continue later.
    For example, I have a program that does calculations for ever and ever and keeps printing stuff in the console.
    I want to press a Key, pause the cycle, and then be able to type the program commands on the console.
    If I type the command "continue", the cycle continues the calculations.
    Here is the sample code.
    Code:
    public class Testes {
    public static void main(String[] args) throws Exception {
    int i = 0;
    boolean run = true;
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    String inputString;
    while(true){
         if(run){ 
    //calculation sequence
              i++;
              System.out.println(i);
              //???something so that if some key was pressed, "run" becomes false
         else { 
              while(true){
              inputString = input.readLine();
              if(inputString.equals("run")) {run = true; break;}
    I would like that the solution satisfy 3 conditions:
    1- Very eficient, that is, the calculations will take days so the solution can not make the program "slower" on normal operation (performing calculations) (low overhead)
    2- When user press pause, the program only stops after the last instruction of the calculation cycle. That is, all paused states are coherent/atomic. All calculations of that interaction were made. (I guess this doen't allow thread-based solutions, which I am glad if I can avoid)
    3- THe simpler the better. For example, after calculations can't i check if user pressed any key, but if not don't wait until it does? this would be enought to solve this, but all java input functions wait for users to type.
    Thanks beforehand.
    Greetings

    If you're just looking for enter, you should be able to use System.in.available() and then System.in.read() if it's non-zero. The problem, I believe, is that some systems don't push any input until you press enter.
    You could also do it with a GUI and KeyListener.
    However, I don't know what kind of performance impact the available()/read() loop will have. Your best bet is probably to have a simple thread situation with one that's just blocking on any keyboard input and the other that's running the calculation. Then again, if your calculation is taking days, I don't know whether the performance impact of those extra loops will make a difference. Test it, and if you can avoid the threads, go for it. I put this example together as an experiment (leaving out the non-threading code):
    public class Calculation extends Thread {
        public static void main(String[] args) throws IOException {
            Calculation calc = new Calculation();
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            // Start calculating on the other thread
            calc.start();
            // Loop waiting for keyboard until calculation finishes.
            // readLine() is blocking, so this only loops after input is received.
            while(!calc.isCompleted()) {
                reader.readLine();
                synchronized(calc) {
                     if(calc.isPaused()) {
                         // If it's already paused, unpause and clear the wait().
                         calc.setPaused(false);
                         calc.notify();
                     } else {
                         calc.setPaused(true);
        public void run() {
            setCompleted(false);
            setPaused(false);
            try {
                // Loop until completion -- this keeps it going after unpausing
                while (!isCompleted()) {
                    // Check for pause and completion before each step. This keeps it atomic.
                    while (!isPaused() && !isCompleted()) {
                        runCalculation();
                    // All we know here is that it's either paused or completed.
                    // If it's completed, keep going to finish the loop.
                    // Otherwise, wait() until notified.
                    while (isPaused()) {
                        synchronized (this) {
                            this.wait();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
    }This probably isn't the cleanest code (suggestions welcome) but it does work. If I was doing this for real, I'd break up some of these nested blocks, for example. Only problem is that it requires you to hit enter at the end after it completes, too.

  • Continuity testing with a PCI 6221

    Hello, I was wondering if anyone has some advice about how to setup a continuity test using an M Series PCI 6221 DAQ and Labview 7.1. Specifically, I want to preform a testing regime similar to the IPC-SM-785 guidelines during thermo-cycling of the test vehicles. For those not familar with the guidelines, the purpose is to monitor the resistance of channels that have a DC (10V max.) current (2mA max.) running through them. If the resistance exceeds a certain threshold it is considered "an event", and if ten events happen in a specific time-frame the channel is considered to be "failed".
    I am a relative new-commer to NI DAQs and the associated software, so any advice would be greatly appreciated.

    One way of doing it is to use two analog input channels on your card. Use one to monitor the voltage the other to monitor the current. To monitor the current you will need to add a shunt resistor in series. Use Ohm's law to convert the voltage to the current. Monitor the signals and if you are at 2 ma and not at 10V you are in an error condtion. Tjis is assuming the power supply is a constant current, constant voltage source.
    Greg Bush CLAD

Maybe you are looking for

  • Long text problem while uploading Inspection plan through BDC.

    Hi, I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking

  • SAP R/3 4.6B is compatible with which version of BIW

    Hi all ,          Can any body tell me SAP R/3 4.6B is compatible with which version of BIW. regards, Vishal

  • Request: PL/SQL, External Table and SQL Loader

    I see lately Questions asked in SQL and PL/SQL forum regarding SQL Loader and External Table are being moved to {forum:id=732}. Being an PL/SQL developer for some time now i feel External Table (and if i may, SQL Loader and DBMS_DATAPUMP) are very mu

  • User exit to set user status for quote

    Hi, I need to update the user status in the header of quotation (using VA22) based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use. Could any one please provide me where I can write the code to put the conditions before upat

  • Configuring BIP 11g using scripting

    Hello for everyone, is it possible to do following configuration tasks: - Create a JDBC data source. - Add Email Server information to delivering. - Setting permissions to access catalog folders to roles created previously. Through scripting? is ther