tag 标签: tester

相关博文
  • 热度 20
    2016-4-15 17:20
    2428 次阅读|
    0 个评论
    Several weeks ago, I was walking around my office building when I ran across my chums Ivan and Darryl playing with a new toy that Darryl had picked up on eBay.   This little rascal (the toy, not Darryl) turned out to be a component tester. I have to say that I was pretty amazed by what I saw; so much so, in fact, that I raced back to my office to purchase one of my very own.   First, I placed an order for the model Darryl and Ivan were playing with -- a Mega328 ESR Transistor Resistor Diode Capacitor Mosfet Tester w/ Test hook -- which is a mega-bargain at only $15.98 USD ($0 shipping and handling):   Mega328 ESR Transistor Resistor Diode Capacitor Mosfet Tester w/ Test hook (Source: Max Maxfield)   It turns out that there are a bunch of these things. For example, while I was rooting around on eBay, I also ran across this All-in-1 Component Tester Transistor Diode Capacitance ESR Meter Inductance (they really could work on the naming of these little scamps) for only $19.33 USD (again, $0 shipping and handling).   All-in-1 Component Tester Transistor Diode Capacitance ESR Meter Inductance (Source: Max Maxfield)   It does take a couple of weeks for these little ragamuffins to wend their way from China, but I really wasn't in too much of a hurry. They both arrived a few days ago and I just now found a few minutes to take them for a spin.   A few thought off the top of my head are that the $15.98 unit is incredibly reasonably priced and I do like the fact that it comes with the three flying test leads. On the down-side, it was poorly packed, the display was loose, and it doesn’t have an "Off" button, which means that after you've pressed the "Test" button and seen the results, you have to wait for it to turn itself off automatically.   By comparison, the $19.33 unit is more "rugged" and was much better packed. It also has an "Off" button, which is jolly useful if you want to test a bunch of components. This unit didn't come with any test leads, but overall I have to say that it's my favorite.   Next, I gathered a few components together -- a resistor, a couple of capacitors, a FET, and a relay (inductor) -- whatever I found lying around, really. Both of the units come with ZIF (zero insertion force) sockets. You plug the leads from your component into the ZIF socket (it doesn’t seem to matter which pins go in which holes), close the socket, press the "Test" button, and observe the results on the display. The image below shows the test of a 10µF ceramic capacitor.   Testing a 10µF ceramic capacitor (Source: Max Maxfield)   To be honest, these testers would be worth the money if all they did was test capacitors. I can’t tell you how many of these components I have lying around that I couldn’t use (until now) because I couldn’t read their markings. The fact that these testers also work with resistors and inductors and diodes and transistors is just cream in the cake, as far as I'm concerned.   Check out this video showing the $19.33 unit in action:   One thing that did impress me is the fact that, when I tested my FET, it appears (from the diagram presented on the display) that the tester correctly identified the fact that there's an internal protection diode. I know there is such a diode because that was one of my selection criteria when I purchased these transistors (I'm going to use them to control the meters in my Inamorata Prognostication Engine and the relays in my Nixie Tube Clock, so I need to protect myself from the effects of back-EMF).   On the other hand, it may be that this diode is just part of the FET diagram they used -- I need to try this with a FET I know not to have this diode to make sure.   The only area I think these testers could use some work is the way in which they number the component pins on the display and associate these numbers with the pins in the ZIF socket -- sometimes the mapping is obvious; other times less so -- but overall I feel this is a minor niggle and I think either of these units would complement anyone's workspace and/or make a perfect gift.
  • 热度 18
    2016-4-15 17:17
    2233 次阅读|
    0 个评论
    Several weeks ago I was meandering my way around my office building when I ran across my chums Ivan and Darryl playing with a new toy that Darryl had picked up on eBay.   This little rascal (the toy, not Darryl) turned out to be a component tester. I have to say that I was pretty amazed by what I saw; so much so, in fact, that I raced back to my office to purchase one of my very own.   First, I placed an order for the model Darryl and Ivan were playing with -- a Mega328 ESR Transistor Resistor Diode Capacitor Mosfet Tester w/ Test hook -- which is a mega-bargain at only $15.98 USD ($0 shipping and handling):   Mega328 ESR Transistor Resistor Diode Capacitor Mosfet Tester w/ Test hook (Source: Max Maxfield)   It turns out that there are a bunch of these things. For example, while I was rooting around on eBay, I also ran across this All-in-1 Component Tester Transistor Diode Capacitance ESR Meter Inductance (they really could work on the naming of these little scamps) for only $19.33 USD (again, $0 shipping and handling).   All-in-1 Component Tester Transistor Diode Capacitance ESR Meter Inductance (Source: Max Maxfield)   It does take a couple of weeks for these little ragamuffins to wend their way from China, but I really wasn't in too much of a hurry. They both arrived a few days ago and I just now found a few minutes to take them for a spin.   A few thought off the top of my head are that the $15.98 unit is incredibly reasonably priced and I do like the fact that it comes with the three flying test leads. On the down-side, it was poorly packed, the display was loose, and it doesn’t have an "Off" button, which means that after you've pressed the "Test" button and seen the results, you have to wait for it to turn itself off automatically.   By comparison, the $19.33 unit is more "rugged" and was much better packed. It also has an "Off" button, which is jolly useful if you want to test a bunch of components. This unit didn't come with any test leads, but overall I have to say that it's my favorite.   Next, I gathered a few components together -- a resistor, a couple of capacitors, a FET, and a relay (inductor) -- whatever I found lying around, really. Both of the units come with ZIF (zero insertion force) sockets. You plug the leads from your component into the ZIF socket (it doesn’t seem to matter which pins go in which holes), close the socket, press the "Test" button, and observe the results on the display. The image below shows the test of a 10µF ceramic capacitor.   Testing a 10µF ceramic capacitor (Source: Max Maxfield)   To be honest, these testers would be worth the money if all they did was test capacitors. I can’t tell you how many of these components I have lying around that I couldn’t use (until now) because I couldn’t read their markings. The fact that these testers also work with resistors and inductors and diodes and transistors is just cream in the cake, as far as I'm concerned.   Check out this video showing the $19.33 unit in action:   One thing that did impress me is the fact that, when I tested my FET, it appears (from the diagram presented on the display) that the tester correctly identified the fact that there's an internal protection diode. I know there is such a diode because that was one of my selection criteria when I purchased these transistors (I'm going to use them to control the meters in my Inamorata Prognostication Engine and the relays in my Nixie Tube Clock, so I need to protect myself from the effects of back-EMF).   On the other hand, it may be that this diode is just part of the FET diagram they used -- I need to try this with a FET I know not to have this diode to make sure.   The only area I think these testers could use some work is the way in which they number the component pins on the display and associate these numbers with the pins in the ZIF socket -- sometimes the mapping is obvious; other times less so -- but overall I feel this is a minor niggle and I think either of these units would complement anyone's workspace and/or make a perfect gift.
  • 热度 18
    2015-3-5 07:59
    1685 次阅读|
    0 个评论
    Reader Dave Kellogg posed an intriguing question recently: what is the proper tester/developer ratio? Or, for projects where the developers do their own testing, what is the ratio of their time in the two activities? Surely there’s no single answer as that depends on the strategy used to develop the code and the needed reliability of the product. If completely undisciplined software engineering techniques were used to design commercial aircraft avionics (e.g., giving a million monkeys a text editor), then you’d hope there would be an army of testers for each developer. Or consider security. Test is probably the worst way to ensure a system is bullet-proof. Important? Sure. But no system will be secure unless that attribute is designed in. Microsoft is said to have a 1:1 ratio. When you consider the number of patches that stream out of that company one might think that either better developers or processes should be used, or a bunch more testers. The quality revolution taught us that you cannot test quality into a product. In fact, tests usually exercise only half the code! (Of course, with test coverage that number can be greatly improved). Capers Jones and Olivier Bonsignour, in The Economics of Software Quality (2012, Pearson Education) show that many kinds of testing are needed for reliable products. On large projects, up to 16 different forms of testing are sometimes used. Jones and Bonsignour don’t address Dave’s question directly, but do provide some useful data. It is all given in function points, as Jones, especially, is known for espousing them over lines of code (LOC). But function points are a metric few practitioners use or understand. We do know that in C, one function point represents roughly 120 LOC, so despite the imprecision of that metric, I’ve translated their function point results to LOC. They have found that, on average, companies create 55 test cases per function point. That is, companies typically create almost one test per two lines of C. The average test case takes 35 minutes to write and 15 to run. Another 84 minutes are consumed fixing bugs and re-running the tests. Most tests won’t find problems; that 84 minutes is the average, including those tests that run successfully. The authors emphasize that the data has a high standard deviation so we should be cautious in doing much math, but a little is instructive. One test for every two lines of code consumes 35+15+84 minutes. Let’s call it an hour’s work per line of code. That’s a hard-to-believe number but, according to the authors, represents companies doing extensive, multi-layered, testing. Most data shows the average developer writes 200 to 300 LOC of production code per month. No one believes this as we’re all superprogrammers. But you may be surprised! I see a ton of people working on complex products that no one completely understands, and they may squeak out just a little code each month. Or, they’re consumed with bug fixes, which effectively generate no new code at all. Others crank massive amounts of code in a short time but then all but stop, spending months in maintenance, support, requirements analysis for new products, design, or any of a number of non-coding activities. One hour of test per LOC means two testers (160 hours/month each) are needed for the developer creating about 300 LOC/month. One test per two LOC is another number that seems unlikely, but a little math shows it isn’t an outrageous figure. One version of the Linux kernel I have averages 17.6 statements per function, with an average cyclomatic complexity of 4.7. Since complexity is the minimum number of tests needed, at least one test is needed per four lines of code. Maybe a lot more; complexity doesn’t give an upper bound. So one per two lines of code could be right, and is certainly not off by very much. Jones’ and Bonsignour’s data is skewed towards large companies on large projects. Smaller efforts may see different results. They do note that judicious use of static analysis and code inspections greatly changes the results, since these two techniques, used together and used effectively, can eliminate 97% of all defects pre-test. But they admit that few of their clients exercise much discipline with the methods. If 97% of the defects were simply not there, that 84 minutes of rework drops to 2.5 and well over half the testing effort goes away. Yet the code undergoes exactly the same set of tests. (Here’s another way to play with the numbers. The average embedded project removes 95% of all defects before shipping. Use static analysis and inspections effectively, and one could completely skip testing and still have higher quality than the average organization! I don’t advocate this, of course, since we should aspire to extremely high quality levels. But it does make you think. And, though the authors say that static analysis and inspections can eliminate 97% of defects, that’s a far higher number than I have seen.) The authors don’t address alternative strategies. Tools exist that will create tests automatically. I have a copy of LDRA Unit here, which is extraordinary at creating unit tests, and I plan to report on it in more detail in a future article. Test is no panacea. But it’s a critical part of generating good code. It’s best to view quality as a series of filters: each activity removes some percentage of the defects. Inspections, compiler warnings, static analysis, lint, test, and all of the other steps we use each filters out bugs. Jones’ and Bonsignour’s results are fascinating, but like so much empirical software data one has to be wary of assigning too much weight to any single result. It’s best to think of it like an impressionistic painting that gives a suggestion of the underlying reality, rather than as hard science. Still, their metrics give us some data to work from, and data is sorely needed in this industry. What about you? How many tests do you create per LOC or function point?
相关资源
  • 所需E币: 3
    时间: 2022-11-29 16:35
    大小: 2.94MB
    上传者: 饶良定
    SC9820E连接AudioTester方法
  • 所需E币: 0
    时间: 2020-9-26 01:52
    大小: 471.94KB
    上传者: LGWU1995
    电池测试设备(BatteryTester)
  • 所需E币: 4
    时间: 2019-12-24 18:55
    大小: 122.56KB
    上传者: givh79_163.com
    【应用笔记】使用HP3070测试系统进行在系统编程(UsingtheHP3070TesterforIn-SystemProgramming)使用HP3070测试系统进行在系统编程(UsingtheHP3070TesterforIn-SystemProgramming)In-systemprogramminghasbecomeamainstreamfeatureinprogrammablelogicdevices(PLDs),offeringsystemdesignersandtestengineerssignificantcostbenefitsbyintegratingPLDsintoboard-leveltesting.Thesebenefitsincludereducedinventoryofpre-programmeddevices,lowercosts,fewerdevicesdamagedbyhandling,andincreasedflexibilityinengineeringchanges.Alteraprovidessoftwareanddevicesupportthatintegratesin-systemprogrammability(ISP)intoexistingtestflowsfortheHP3070system(ISPisoccasionallyreferredtoas“on-boardprogramming”).ThisapplicationnotediscusseshowtousetheHP3070testsystemtoachievefasterprogrammingtimesforAlteraISP-capabledevices.UsingtheHP3070TesterforIn-SystemProgrammingJanuary2003,ver.1.2ApplicationNote109IntroductionIn-systemprogramminghasbecomeamainstreamfeatureinprogrammablelogicdevices(PLDs),offeringsystemdesignersandtestengineerssignificantcostbenefitsbyintegratingPLDsintoboard-leveltesting.Thesebenefitsincludereducedinventoryofpre-programmeddevices,lowercosts,fewerdevicesdamagedbyhandling,andincreasedflexibil……
  • 所需E币: 5
    时间: 2020-1-10 09:44
    大小: 702.8KB
    上传者: givh79_163.com
    CMU200WCDMATESTERCMU200WCDMA手……