텍트로닉스 담당자와 실시간 상담 6:00am-4:30pm PST에 이용 가능
전화전화 문의
9:00am-6:00PM KST에 이용 가능
연락처 의견, 문의 사항 또는 피드백이 있는 경우 문의해 주십시오. 다운로드 매뉴얼, 데이터 시트, 소프트웨어 등을 다운로드할 수 있습니다. 다운로드 유형 모두 표시 Products Datasheet Manual Software Marketing Document Faq Video 모델 또는 키워드 피드백피드백이 있으신가요? 귀하의 의견을 알려 주십시오.
귀하의 피드백은 Tek.com 경험을 지속적으로 개선하는 데 도움이 됩니다. 문제가 있는지 아니면 당사에서 잘하고 있는지 알려 주시기 바랍니다.
귀하의 의견을 알려 주십시오. Tektronix Blog From Button Pushing to Automation: Getting Started with Scripting From Button Pushing to Automation: Getting Started with Scripting Saturday, January 19, 2019 작성자: Tektronix Expert #FeatureHighlight #DMM #DAQ #SMU By Andrew Kirby Making simple electrical measurements is something that every engineer is familiar with. These measurements are the usual: current, voltage, and resistance. In a typical benchtop setting, these measurements are made one at a time, using the front panel of a given instrument. The knobs of the power supply are turned to the appropriate voltage, the current limit is set, the DMM is carefully clipped onto the circuit, and the value is the jotted down in a notebook or typed into a spreadsheet for later analysis. If a new measurement is needed, each component must be adjusted manually, this takes time, but if you’re only doing it a handful of times, it isn’t too bad. Further on in your career though, whether that be industry, academia, or otherwise, benchtop measurements are not the only thing test and measure equipment is used for. At this level, it becomes important to make lots of measurements on various parameters, sometimes at regular intervals over a long period of time. Or maybe, in a production line setting, verification testing on each unit coming through a line, as they come through the line. In this application, it is important to not slow down the line too much by keeping up a high level of throughput. Obviously, we can’t use our same strategy of manually hooking up each unit, adjusting the necessary knobs, looking up at the reading on the front panel, then writing the reading down in a notebook. We need to automate this, but how? Luckily, those same benchtop instruments have hidden functionality. It’s easy to think of them as isolated units, cut off from each other and from the rest of the world. To a freshly minted engineer, these instruments are only their front control panels, but, if you turn the instrument around, you’ll likely find an array of various communication ports, hidden away on the rear panel. To automate our measurements, we will need to use some of those. Connecting a USB cable, LAN cable, GPIB cable, or anything else all accomplish the task of setting up a pathway for a separate computer to communicate with an instrument. The next thing we need is a way to remotely and automatically press all the buttons we need to press to get the instrument to do what we need it to do at any given moment; we need a command set: something to call to command the instrument to do a certain thing. Changing the function to voltage, setting the range, taking a measurement, clearing a reading buffer, these are all examples of actions that can be done by a command set. One such command set is the Standard Commands for Programmable Instruments, or SCPI (pronounced “Skippy”). Keithley Instruments’ solution to this is the Test Script Processor (TSP) command set. At a base level, these two sets function in the same way, and many Keithley products support both sets. However, TSP offers some additional functionality such as built in control structures and the ability to run the whole thing from the instrument, without needing to continually communicate to a controlling computer, but we’ll talk about that in a bit. So, think of the commands in a command set like virtual button pushes, only much more useful. Of course, simply sending commands from a computer is no better than pushing the buttons on the front panel unless the computer can do it all automatically. We need some sort of control structure to force these commands to execute when and how we want them to. For example, if some condition is met, like a temperature reading goes above a certain point, we want the instrument to make 1000 readings, each 100 milliseconds apart. How could we do something like this? We could use a separate programming language to handle all the logic, sending commands from our chosen command set when this separate language decides. If we’ve chosen TSP as our command set, we can use the fact that TSP is a Turing complete programming language itself and write a script with commands and logic without using any other programming language. Since this script doesn’t rely on a separate programming language, we can even load it directly on the instrument itself and run our whole test without using a controlling computer. For our chosen task, we can use “if” and “for” statements to write the logic we want, saving us from having to develop some impressive manual dexterity and patience. Pretty cool, right? The commands are our hands pressing the buttons and the program is our brain knowing the process to follow to make all our measurements. TSP is a very powerful tool in instrument automation and testing. To prove it, I’m going to scale up a typical benchtop measurement to an industry level test. Let’s say these are our requirements: We have a 6.9 volt Zener diode In series with a 150 ohm resistor Connected to a 12 volt supply We want to find the power being consumed by the diode To do this, we need to know the voltage across the diode and the current flowing through it. We can measure these things using a digital multimeter. First, we switch our function to DC Voltage, plug our leads into the Hi and Lo input terminals, clip them across the diode, and record the measurement. Then, we remove our leads from the circuit, move one of our leads to the Amps terminal, switch the function of the instrument to DC Current, put the meter in series with the circuit, and record the measurement. Using the two recorded values we can then manually calculate the power being consumed by the Zener diode. I measured 6.85 V and 34.40 mA and I calculated power to be 236 mW, or about a quarter of a watt. The whole process took me about a minute and a half to complete. But what if we had to do this test every minute over the course of multiple hours. Maybe we could do that, but almost anything else would be a better use of our time, especially when we have the tools to automate. The script below shows how this can be done, but before we go further, we need to change the wiring of the setup. Since we don’t want to spend any time changing the leads from Input Hi to AMPS when we change functions, we will instead use the below setup, to measure both without unplugging anything. The script starts by defining some variables. We want to run our test for 5 hours and we can use that number to calculate the test time in minutes. The next thing is to make a place to store our volts and current measurements, as well as the results of our power calculations. We initialize three array variables, volts, current, and power, to do this. We also need a place for our power measurements to be stored on the instrument in a way that we access them later, so we make a buffer with units “Watts” to write the values into. The next part is the most important. We want to use the control structures mentioned earlier to tell the instrument what to do next. So, we start by using a “for” loop to have the instrument do the set of instructions for the duration we selected. The sequence we did by hand earlier was: measure voltage, measure current, calculate power. That is what we want to tell the instrument to do over and over again for the number of minutes we set, which is exactly what we do in the code below. Additionally, we need to account for the fact that values below a certain threshold don’t make sense (and also can’t be displayed on the DMM6500 because they are too small). We fix this with the “if” statement which states: If the value is below 10^-8 we just treat it as if it is equal to zero. The final step is to wait 60 seconds before starting the loop over again. Implementing this automation means we can start our test and forget about it until the time is up. Alright, now that that test is over, we want to investigate further, so we decide to vary the input voltage and see how that changes the power dissipated by the diode. But, we don’t want to have to sit around and change the supply voltage, we want to automate this as well. To do so, we will use a SMU, or source measure unit. Think of it as a power supply, a voltmeter, an ammeter and more, all in one box. This instrument can source V while measuring I and we can control it from our DMM using TSP-link, a communication method that allows us to send an instrument our TSP commands from a script running on another. Hopefully now you can see the usefulness of instrument automation. It really does become a necessity whenever multiple, repeated measurements are needed, especially if those measurements require multiple instruments. In industry, this comes up again and again from assembly lines, to automating validation testing, to component engineering, and more. The familiarity with test and measure equipment acquired in school is a great starting point to expand into the instrument automation world. Knowledge of how to set up and use these instruments is a key aspect of automating the measurements. Familiarity with TSP is the next part. It’s the part that lets you do the job you need to do, in a time period that is economical and efficient. How far you take it now is up to you, it’s an awesome tool that can do really cool things in the hands of a skilled engineer.텍트로닉스 소개
당사는 고객님과 같은 엔지니어가 혁신을 창조하고 실현하도록 돕고 주력하는 회사입니다. 텍트로닉스는 고객이 더 정확하고 신속한 분석을 수행 할 수 있도록 노력하고 있습니다.
텍트로닉스에 대해 자세히 알아보기회사
회사 소개 채용 정보 뉴스룸 이벤트 EA Elektro-Automatik도움말 및 학습
연락처 기술 지원 문의 학습 센터 소유자 리소스 블로그파트너
파트너 찾기텍트로닉스와 연락하기
추가 링크
© 2026 TEKTRONIX, INC. Sitemap Privacy 사용 약관 약관 Call us at Feedback智能索引记录
-
2026-02-27 18:18:09
综合导航
成功
标题:Can 'Love' be photographed ?
简介:1x.com is the world
-
2026-02-27 17:06:38
综合导航
成功
标题:김영귀대표님 2016 한국경제문화대상 수상 언론보도 - 김영귀환원수
简介:
-
2026-02-28 00:14:33
综合导航
成功
标题:驱动人生官网-显卡驱动_打印机驱动_网卡驱动_声卡驱动等驱动程序下载及检测平台
简介:驱动人生是一款提供电脑驱动下载和安装自动化的软件,通过驱动人生可一键安装显卡驱动、网卡驱动、声卡驱动、打印机驱动、万能网
-
2026-02-27 22:02:31
综合导航
成功
标题:WTB: Turbo Axles [Archive] - Toyota MR2 Message Board
简介:Seeing if anyone out there has any good mr2 turbo axles.
-
2026-02-27 16:11:06
综合导航
成功
标题:Licensed Practical Nurse-Night · GQR
简介:GQR Healthcare is representing a well-known health system se
-
2026-02-27 23:30:07
综合导航
成功
标题:JS Bank Congratulates its 100 Lucky Winners. JSCLJSCL
简介:JS Bank’s Home Remittance Group has recently introduced a mo
-
2026-02-27 23:06:30
综合导航
成功
标题:土耳其推迟在叙利亚东北部对库尔德武装采取军事行动-新华网
简介:土耳其推迟在叙利亚东北部对库尔德武装采取军事行动 ---土耳其总统埃尔多安21日表示,鉴于事态发展,土方将推迟在叙利亚
-
2026-02-28 00:32:48
综合导航
成功
标题:Author: Lindsey E. Gale Law.com
简介:Lindsey E. Gale
-
2026-02-27 15:23:30
综合导航
成功
标题:Vamose, vamoose. World English Historical Dictionary
简介:Vamose, vamoose. World English Historical Dictionary
-
2026-02-27 14:32:46
综合导航
成功
标题:Timothy Riffe Fish & Richardson
简介:Timothy W. Riffe’s practice emphasizes complex patent litiga
-
2026-02-27 19:23:02
新闻资讯
成功
标题:我在数据科学前线工作这一年, 站长资讯平台
简介:作者:Will Koehrsen 译者:核子可乐 来源:InfoQ 过去一年以来,我的工作内容从简单编写 Jup
-
2026-02-28 00:50:31
综合导航
成功
标题:منصة Scoop لأحدث الابتكارات والقصص LG STORY
简介:اكتشف منصة Scoop التي تقدم أحدث القصص عن الابتكار والتقنية و
-
2026-02-27 21:22:25
综合导航
成功
标题:AI智能索引
简介:鑴氳涪楦熺殑涓汉璧勬枡 ,瀛︽硶缃 /> <title>鑴氳涪楦熺殑涓汉璧勬枡 - 瀛︽硶缃慄/title><st
-
2026-02-27 19:33:18
综合导航
成功
标题:Regalzonen - Sichtzone
简介:Die Sichtzone beginnt durchschnittlich bei einer Höhe von 1,
-
2026-02-27 14:34:52
游戏娱乐
成功
标题:浙江传奇游戏_2025最新精品传奇游戏_BT页游排行榜推荐_稀有满V版变态网页游戏公益服
简介:浙江传奇游戏专注最新精品传奇网页游戏,绿色公益服游戏,超低折扣福利让网页游戏和bt手游玩家更爽更省钱玩游戏,上线满V送元
-
2026-02-27 23:26:58
综合导航
成功
标题:Das Sexforum und Erotikforum für Baden-Württemberg
简介:Das große Pay6, Huren und Rotlicht Rating Forum für Baden Wü
-
2026-02-27 18:53:04
综合导航
成功
标题:Is Inflation Opening Foodservice Opportunity?
简介:Opinion: Foodservice inflation is creating opportunity for c
-
2026-02-27 14:49:26
新闻资讯
成功
标题:广东财经大学国际本科(SQA HND)招生简章_本科项目
简介:中外合作办学教育信息网,提供国内重点大学留学预科、本科留学预科、硕士留学预科等项目最新招生资讯。全国留学预科免费咨询热线
-
2026-02-27 23:34:11
综合导航
成功
标题:The hottest testnets and Perp projects in October Bee Network
简介:If you missed the Monad testnet, don’t miss out on other fre
-
2026-02-28 02:39:23
综合导航
成功
标题:Final Fantasy 7 Remake Part 2 Will Make Bigger Use Of PS5's Features, Including The DualSense - PlayStation Universe
简介:Square Enix has revealed that Final Fantasy 7 Remake Part 2
-
2026-02-28 02:26:18
综合导航
成功
标题:Phlebotomist - Laboratory · GQR
简介:Contract - W2 Laboratory Phlebotomist Job Location: West Bur
-
2026-02-27 19:07:06
综合导航
成功
标题:DH2C.com request & buy now K1 SE
简介:DH2C.com - Interested in this domain? Request and buy now. E
-
2026-02-28 01:40:08
综合导航
成功
标题:The $9 trillion elephant breaks into encryption: Can Trump trigger a “slow bull” long run?Recommended Articles Bee Network
简介:On August 7th, Trump issued an executive order expanding the
-
2026-02-27 17:37:43
综合导航
成功
标题:A review of the key time points of the US presidential election: What are the related concept coins? Bee Network
简介:Original author: Jaleel Jialiu , BlockBeats The US election
-
2026-02-28 02:14:56
综合导航
成功
标题:You don’t need gaming experience to enter the industry
简介:Barbara Homewood is currently a Quality Designer at Electron
-
2026-02-27 19:28:02
综合导航
成功
标题:World English Historical Dictionary
简介:World English Historical Dictionary: The Path to Full Litera
-
2026-02-28 02:35:45
综合导航
成功
标题:Best prop bets ahead of the 2020 NFL Draft
简介:The NFL already has a plan in place to host the 2020 NFL Dra
-
2026-02-27 18:01:40
综合导航
成功
标题:NFL, Fantasy Football, and NFL Draft
简介:The latest football news, analysis, and rankings from PFF. F
-
2026-02-27 17:47:31
视频影音
成功
标题:视频攻略_单机游戏视频攻略_视频攻略大全_3DM游戏攻略
简介:3DM单机游戏攻略,涵盖全网所有的单机游戏,提供与之相关的攻略技巧,且有专业的游戏速攻团队第一时间攻略最新游戏,让玩家都
-
2026-02-27 19:53:34
综合导航
成功
标题:Telecom Inventory Database to Support Automation and Optimisation
简介:Learn how a telecom inventory database can help you support