JP2005090959A - Control program and measuring system - Google Patents

Control program and measuring system Download PDF

Info

Publication number
JP2005090959A
JP2005090959A JP2003320331A JP2003320331A JP2005090959A JP 2005090959 A JP2005090959 A JP 2005090959A JP 2003320331 A JP2003320331 A JP 2003320331A JP 2003320331 A JP2003320331 A JP 2003320331A JP 2005090959 A JP2005090959 A JP 2005090959A
Authority
JP
Japan
Prior art keywords
routine
program
program module
parameters
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003320331A
Other languages
Japanese (ja)
Inventor
Tatsu Yonezawa
龍 米澤
Akira Shimizu
暁 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agilent Technologies Japan Ltd
Original Assignee
Agilent Technologies Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agilent Technologies Japan Ltd filed Critical Agilent Technologies Japan Ltd
Priority to JP2003320331A priority Critical patent/JP2005090959A/en
Publication of JP2005090959A publication Critical patent/JP2005090959A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Measuring Instrument Details And Bridges, And Automatic Balancing Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a measuring system capable of easily developing control programs and facilitating the evaluation of parameters used by the control programs. <P>SOLUTION: The measuring system is provided with at least one measuring apparatus and a computer provided with an input means, an output means, and a storage means for controlling the measuring apparatus. A program module includes both a routine for measuring predetermined items of measurement by controlling the measuring apparatus according to the parameters set by a user and a routine for verifying whether the parameters are appropriately set or not, alternatively executed and made to be executed by the computer if needed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ユーザにより設定されるパラメータに従って測定器を制御する測定システムに関する。   The present invention relates to a measurement system that controls a measuring instrument in accordance with parameters set by a user.

電子部品や電子機器の開発サイクルは年々短くなる一方で、電子部品や電子機器は性能が向上し機能が増加している。これにより、電子部品や電子機器の試験は、測定項目数が増加し、また、場合によっては1つの項目の測定に要する時間が増加している。測定システムは、そのような測定項目数が多く、また、長時間を要する試験を試験者に代わって自動的に行うことができるので、試験時間が短縮され、試験に必要とされる人手も減る。測定システムは、一般に、所望の測定項目を測定できる測定器と、測定器を制御するコンピュータとからなる。コンピュータでは、コンピュータに接続された測定器を制御するためのプログラムが実行される(例えば、特許文献1を参照。)。   While the development cycle of electronic components and electronic devices has become shorter year by year, the performance of electronic components and electronic devices has improved and functions have increased. Thereby, in the test of electronic parts and electronic devices, the number of measurement items increases, and in some cases, the time required to measure one item increases. The measurement system has a large number of such measurement items and can automatically perform a long test on behalf of the tester, thereby reducing the test time and reducing the labor required for the test. . The measurement system generally includes a measuring instrument that can measure a desired measurement item and a computer that controls the measuring instrument. In the computer, a program for controlling a measuring instrument connected to the computer is executed (see, for example, Patent Document 1).

測定システムにおいて実行される制御プログラムは、電子部品や電子機器に関連する多くのパラメータを参照する。それらのパラメータは、様々な使用上の制限を受ける。例えば、あるパラメータは独立した固有の制限を受け、他のある複数のパラメータは互いに制限しあう。また、それらのパラメータは、試験対象物や試験の目的などにより頻繁に変更される。さらに、試験対象物や試験の目的などにより制御プログラムも変更される場合がある。   A control program executed in the measurement system refers to many parameters related to electronic components and electronic devices. These parameters are subject to various usage restrictions. For example, some parameters are subject to independent inherent restrictions, while some other parameters are mutually exclusive. Also, these parameters are frequently changed depending on the test object and the purpose of the test. Furthermore, the control program may be changed depending on the test object and the purpose of the test.

特開2001−119309号公報(第3−4頁、図1)JP 2001-119309 A (page 3-4, FIG. 1)

パラメータを頻繁に変更することは、パラメータの誤設定など制御プログラムの不完全さを増す一因となっている。従って、測定システムは、試験時間を短くし試験にかかる人手を減らす一方で、完全な制御プログラムを入手するために時間と労力を必要としている。本発明は、制御プログラムを容易に開発でき、制御プログラムが使用するパラメータ設定の適切性の評価を容易にする測定システムを提供することを目的とする。これにより、本発明は、全体として、試験に要する時間を短くし、また、試験に要する人手を減らした測定システムを提供する。   Frequently changing parameters contributes to increasing incompleteness of the control program such as incorrect parameter settings. Thus, the measurement system requires time and effort to obtain a complete control program while shortening the test time and reducing the labor required for the test. It is an object of the present invention to provide a measurement system that can easily develop a control program and easily evaluate the appropriateness of parameter settings used by the control program. Thus, the present invention provides a measurement system that shortens the time required for the test as a whole and reduces the manpower required for the test.

本発明は、上記の課題を解決し上記の目的を達成するためになされたものである。すなわち、本第1の発明は、少なくとも1つの測定器と、入力手段と出力手段と記憶手段とを具備し前記測定器を制御するコンピュータと備え、ユーザにより設定されるパラメータに従って前記測定器を制御することにより予め決められた測定項目を測定するルーチンと、前記パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行されるプログラムモジュールを必要に応じて前記コンピュータに実行させる測定システムであって、前記入力手段により前記プログラムモジュールの選択または配置の指示を受信し、受信した前記指示に従って前記プログラムモジュールの実行手順を生成し、該実行手順を前記記憶手段に格納し、前記プログラムモジュールにおいて、前記検証ルーチンが実行されるように設定し、必要に応じて、前記入力手段により前記パラメータの設定を受信し、前記記憶手段から前記実行手順を読み出し、読み出した前記実行手順に従って前記プログラムモジュールを実行し、前記検証ルーチンの検証結果を前記記憶手段に格納し、前記記憶手段から前記検証結果を読み出し、読み出した前記検証結果を前記出力手段に出力することを特徴とするものである。   The present invention has been made to solve the above problems and achieve the above object. That is, the first invention includes at least one measuring instrument, a computer having an input means, an output means, and a storage means and controlling the measuring instrument, and controls the measuring instrument according to a parameter set by a user. A routine for measuring predetermined measurement items and a routine for verifying whether or not the parameters are set appropriately, and a program module in which those routines are alternatively executed as necessary. A measurement system to be executed by the computer, wherein the input unit receives an instruction for selecting or arranging the program module, generates an execution procedure for the program module according to the received instruction, and stores the execution procedure in the storage unit And the verification routine is executed in the program module. And, if necessary, receiving the parameter setting by the input means, reading the execution procedure from the storage means, executing the program module according to the read execution procedure, and verifying the verification routine The result is stored in the storage means, the verification result is read from the storage means, and the read verification result is output to the output means.

また、本第2の発明は、本第1の発明の測定システムにおいて、前記プログラムモジュールが、前記測定ルーチンに換えて、または、前記測定ルーチンおよび前記評価ルーチンに加えて、前記被測定物を制御するルーチンを含むことを特徴とするものである。   Further, according to a second aspect of the present invention, in the measurement system of the first aspect, the program module controls the device under test in place of the measurement routine or in addition to the measurement routine and the evaluation routine. It is characterized by including the routine to perform.

さらに、本第3の発明は、本第1の発明または本第2の発明の測定システムにおいて、前記検証ルーチンが、他の前記プログラムモジュールの前記評価ルーチンにも参照可能なように前記パラメータの設定内容を必要に応じて前記記憶手段に格納し、格納された前記パラメータの設定内容を必要に応じて前記記憶手段から読み出すことを特徴とするものである。   Further, according to the third invention, in the measurement system of the first invention or the second invention, the parameter setting is performed so that the verification routine can be referred to the evaluation routine of another program module. The contents are stored in the storage means as necessary, and the stored setting contents of the parameters are read out from the storage means as necessary.

またさらに、本第4の発明は、本第1の発明乃至本第3の発明のいずれかの測定システムにおいて、前記プログラムが、複数の前記プログラムモジュールを備えることを特徴とするものである。   Furthermore, the fourth invention is the measurement system according to any one of the first to third inventions, wherein the program includes a plurality of the program modules.

また、本第5の発明は、少なくとも1つの測定器と、入力手段と出力手段と記憶手段とを具備し前記測定器を制御するコンピュータとを備える測定システムにおいて、ユーザにより設定されるパラメータに従って前記測定器を制御することにより予め決められた測定項目を測定するルーチンと、前記パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行されるプログラムモジュールを必要に応じて前記コンピュータに実行させるプログラムであって、前記入力手段により前記プログラムモジュールの選択または配置の指示を受信する第1の手順と、受信した前記指示に従って前記プログラムモジュールの実行手順を生成し、該実行手順を前記記憶手段に格納する第2の手順と、前記プログラムモジュールにおいて、前記検証ルーチンが実行されるように設定する第3の手順と、必要に応じて、前記入力手段により前記パラメータの設定を受信する第4の手順と、前記記憶手段から前記実行手順を読み出し、読み出した前記実行手順に従って前記プログラムモジュールを実行し、前記検証ルーチンの検証結果を前記記憶手段に格納する第5の手順と、前記記憶手段から前記検証結果を読み出し、読み出した前記検証結果を前記前記出力手段に出力する第6の手順とを前記コンピュータに実行させることを特徴とするものである。   According to a fifth aspect of the present invention, there is provided a measurement system including at least one measuring instrument, a computer including an input unit, an output unit, and a storage unit and controlling the measuring unit, according to a parameter set by a user. A program module that includes a routine for measuring a predetermined measurement item by controlling a measuring instrument and a routine for verifying whether the parameters are set appropriately, and in which these routines are executed alternatively A program to be executed by the computer as necessary, wherein a first procedure for receiving an instruction to select or arrange the program module by the input means, and an execution procedure for the program module are generated according to the received instruction. , A second procedure for storing the execution procedure in the storage means, and the program A third procedure for setting the verification routine to be executed in the module, a fourth procedure for receiving the setting of the parameter by the input means, if necessary, and the execution procedure from the storage means. A fifth procedure for executing the program module in accordance with the read execution procedure and storing the verification result of the verification routine in the storage means; and reading the verification result from the storage means; And causing the computer to execute a sixth procedure of outputting to the output means.

さらに、本第6の発明は、本第7の発明のプログラムにおいて、前記プログラムモジュールが、前記測定ルーチンに換えて、または、前記測定ルーチンおよび前記評価ルーチンに加えて、前記被測定物を制御するルーチンを含むことを特徴とするものである。   Further, according to the sixth invention, in the program according to the seventh invention, the program module controls the device under test in place of the measurement routine or in addition to the measurement routine and the evaluation routine. It is characterized by including a routine.

またさらに、本第7の発明は、本第5の発明または本第6の発明のプログラムにおいて、前記検証ルーチンが、他の前記プログラムモジュールの前記評価ルーチンにも参照可能なようにパラメータの設定内容を必要に応じて前記記憶手段に格納し、格納された前記パラメータの設定内容を必要に応じて前記記憶手段から読み出すことを特徴とするものである。   Still further, according to the seventh invention, in the program of the fifth invention or the sixth invention, the setting contents of the parameters so that the verification routine can be referred to the evaluation routine of another program module. Is stored in the storage means as necessary, and the stored setting contents of the parameters are read out from the storage means as necessary.

また、本第8の発明は、本第5の発明乃至本第7の発明のいずれかのプログラムにおいて、複数の前記プログラムモジュールを備えることを特徴とするものである。   The eighth invention is characterized in that the program according to any one of the fifth invention to the seventh invention comprises a plurality of the program modules.

本発明によれば、測定システムの制御プログラムを容易に開発でき、制御プログラムの開発と同時にパラメータの評価プログラムが自動的に生成され、実際の試験の事前にパラメータ設定の適切性を確認できるようになる。   According to the present invention, a control program for a measurement system can be easily developed, and simultaneously with the development of the control program, a parameter evaluation program is automatically generated so that the appropriateness of parameter setting can be confirmed in advance of an actual test. Become.

本発明を、添付の図面に示す実施の形態に基づいて詳細に説明する。本発明の実施形態は、測定システムであって、そのブロック図を図1に示す。図1において、測定システム100は、測定器210と、測定器220と、コンピュータ300とを備える。また、測定システム100は、被測定物400を接続するためのポート110とポート120とを備える。一方、被測定物400は、被測定物400と接続するためのポート410とポート420とを備える。   The present invention will be described in detail based on embodiments shown in the accompanying drawings. The embodiment of the present invention is a measurement system, and its block diagram is shown in FIG. In FIG. 1, the measurement system 100 includes a measuring instrument 210, a measuring instrument 220, and a computer 300. The measurement system 100 includes a port 110 and a port 120 for connecting the device under test 400. On the other hand, the device under test 400 includes a port 410 and a port 420 for connecting to the device under test 400.

コンピュータ300は、演算処理手段310と記憶手段320と入力手段330と出力手段340と通信手段350とを備える。演算処理手段310と記憶手段320と入力手段330と出力手段340と通信手段350は、バス360を介して互いに接続されている。演算処理手段310は、コンピュータ300内の他の手段を制御し、また、演算を行う手段である。例えば、演算処理手段310は、CPU、RISC、または、DSPなどのプロセッサを少なくとも1つ備える。記憶手段320は、データやプログラムを格納する手段である。記憶手段320は、RAM、ROM、ハードディスクドライブ、フロピティカルディスク、または、メモリカードなどが必要に応じて含まれる。記憶手段320は、通信手段350を介して接続されるファイルサーバやデータベースサーバなどであっても良い。入力手段330は、測定システムのユーザがデータやプログラムなどをコンピュータ300へ入力するための手段である。例えば、入力手段330は、キーボード、マウス、マイク、または、カメラなどである。以下、測定システムのユーザを試験者と称する。出力手段340は、コンピュータ300が文字、画像、または、音声などの情報を試験者に示すための手段である。例えば、出力手段340は、ディスプレイ、または、スピーカーなどである。通信手段350は、コンピュータ300が外部の機器と通信するための手段である。例えば、通信手段350は、HP−IBインターフェース、シリアルインターフェース、LANインターフェース、または、USBインターフェースなどである。通信手段350は、ポート110およびポート410を介して被測定物400と接続されている。また、通信手段350は、測定器210および測定器220に接続されている。通信手段350と測定器210および測定器220との接続形式は、バス型であるが、スター型など他の接続形式であっても良い。   The computer 300 includes arithmetic processing means 310, storage means 320, input means 330, output means 340, and communication means 350. The arithmetic processing unit 310, the storage unit 320, the input unit 330, the output unit 340, and the communication unit 350 are connected to each other via a bus 360. The arithmetic processing means 310 is a means for controlling other means in the computer 300 and performing arithmetic operations. For example, the arithmetic processing unit 310 includes at least one processor such as a CPU, a RISC, or a DSP. The storage means 320 is means for storing data and programs. The storage unit 320 includes a RAM, a ROM, a hard disk drive, a floppy disk, a memory card, or the like as necessary. The storage unit 320 may be a file server or a database server connected via the communication unit 350. The input unit 330 is a unit for a user of the measurement system to input data, a program, and the like to the computer 300. For example, the input unit 330 is a keyboard, a mouse, a microphone, a camera, or the like. Hereinafter, the user of the measurement system is referred to as a tester. The output means 340 is a means for the computer 300 to show the tester information such as characters, images, or sounds. For example, the output unit 340 is a display or a speaker. The communication unit 350 is a unit for the computer 300 to communicate with an external device. For example, the communication unit 350 is an HP-IB interface, a serial interface, a LAN interface, or a USB interface. Communication means 350 is connected to device under test 400 via port 110 and port 410. The communication means 350 is connected to the measuring device 210 and the measuring device 220. The connection form between the communication means 350 and the measuring instrument 210 and the measuring instrument 220 is a bus type, but may be another connection form such as a star type.

測定器210および測定器220は、ポート120およびポート420を介して被測定物400と接続されている。図において、測定器210とポート120との間および測定器220とポート120との間は、それぞれ直接接続されているが、スイッチ、スイッチプレクサ、アッテネータ、または、カップラなどの結合手段を介して接続されても良い。   Measuring instrument 210 and measuring instrument 220 are connected to device under test 400 via port 120 and port 420. In the figure, the measuring instrument 210 and the port 120 and the measuring instrument 220 and the port 120 are directly connected to each other, but via a coupling means such as a switch, a switchplexer, an attenuator, or a coupler. It may be connected.

測定システム100は、記憶手段320に格納されたプログラムを実行する演算処理手段310により制御される。ここで、演算処理手段310に実行されるプログラムのフローチャートを図2に示す。   The measurement system 100 is controlled by arithmetic processing means 310 that executes a program stored in the storage means 320. Here, a flowchart of the program executed by the arithmetic processing means 310 is shown in FIG.

ステップS10において、所望の試験を行うための測定システムの動作手順が作成される。具体的には、本ステップにおいて、試験者が所望の命令を所望の順列で並べることにより、測定のためのプログラムモジュールの実行手順を作成する。命令には、測定器210などの測定器を制御するプログラムモジュールを実行するための命令、被測定物400を制御するプログラムモジュールを実行するための命令、実行手順の流れを制御する命令(例えば、LOOP文やIF文)などが含まれる。ここで、出力手段340により表示される実行手順の作成画面の例を図3に示す。   In step S10, an operation procedure of the measurement system for performing a desired test is created. Specifically, in this step, the tester creates a procedure for executing the program module for measurement by arranging desired instructions in a desired permutation. The instructions include an instruction for executing a program module for controlling a measuring instrument such as the measuring instrument 210, an instruction for executing a program module for controlling the device under test 400, and an instruction for controlling the flow of an execution procedure (for example, LOOP statement and IF statement). Here, an example of an execution procedure creation screen displayed by the output means 340 is shown in FIG.

図3において、ウィンドウ600は、演算処理手段310に実行されるプログラムの主ウィンドウであって、試験者が測定システム100を体系的に制御できるグラフィカル・ユーザ・インタフェース(GUI)を提供する。ウィンドウ600は、5つのタブを有する。5つのタブは、実行手順を作成するためのタブ「テストプラン定義(Define Test Plan)」610と、プログラムモジュール内で使用されるパラメータを設定するためのタブ「スペック/パラメータ設定(Set Specs/Parameters)」と、実行手順全体で使用されるパラメータを設定するためのタブ「グローバルパラメータ設定(Set Global parameters)」と、作成した実行手順を実行するためのタブ「テストプラン実行(Run Test Plan)」と、環境を設定するためのタブ「環境設定(Change Configuration)」である。ウィンドウ600は、選択されるタブに関連するボタンやボックスなどを表示する。   In FIG. 3, a window 600 is a main window of a program executed by the arithmetic processing unit 310, and provides a graphical user interface (GUI) that allows a tester to systematically control the measurement system 100. Window 600 has five tabs. The five tabs are tab “Define Test Plan” 610 for creating an execution procedure, and tab “Set Specs / Parameters” for setting parameters used in the program module. ), A tab “Set Global parameters” for setting parameters used in the entire execution procedure, and a tab “Run Test Plan” for executing the created execution procedure And a tab “Change Configuration” for setting the environment. The window 600 displays buttons and boxes related to the selected tab.

タブ610は、実行手順を作成するためのリストボックス611およびリストボックス612を有する。リストボックス611には、使用可能な命令が列挙される。また、リストボックス611に列挙される命令は、フィルタ613で指定されるカテゴリに属する命令だけが列挙される。使用可能な全ての命令をリストボックス611に列挙する時は、フィルタ613を「全部(All)」にする。また、図3のように、フィルタ613を「フローコントロール(Flow Control)」にした場合には、実行手順の流れを制御する命令のみがリストボックス611に列挙される。試験者は、リストボックス611に列挙される命令を選択しリストボックス612内の所望の位置に配置することにより、プログラムモジュールの実行手順を作成する。実際には、試験者は、入力手段330を介して命令の選択または配置を測定システム100へ指示する。例えば、入力手段330がマウスである場合、試験者は、リストボックス611に列挙される命令をドラッグし、リストボックス612内の所望の位置にドロップする。リストボックス612に配置される命令の集まりは、プログラムモジュールの実行手順であり、記憶手段320に格納される。記憶手段320に格納されている実行手順は、命令が追加もしくは削除または変更されるたびに更新される。   The tab 610 has a list box 611 and a list box 612 for creating an execution procedure. The list box 611 lists usable instructions. Also, only the instructions belonging to the category specified by the filter 613 are listed in the list box 611. When all the available instructions are listed in the list box 611, the filter 613 is set to “All”. As shown in FIG. 3, when the filter 613 is set to “Flow Control”, only the command for controlling the flow of the execution procedure is listed in the list box 611. The tester creates an execution procedure of the program module by selecting an instruction listed in the list box 611 and placing it at a desired position in the list box 612. In practice, the tester instructs the measurement system 100 to select or place an instruction via the input means 330. For example, when the input unit 330 is a mouse, the tester drags an instruction listed in the list box 611 and drops it on a desired position in the list box 612. A collection of instructions arranged in the list box 612 is a program module execution procedure and is stored in the storage unit 320. The execution procedure stored in the storage unit 320 is updated each time an instruction is added, deleted, or changed.

次に、ステップS11において、フラグをセットする。フラグは、後に説明するプログラムモジュール内の検証ルーチンおよび測定ルーチンのいずれかが択一的に実行されるように制御するためのものである。フラグがセットされている場合、検証ルーチンが実行される。また、フラグがリセットされている場合、測定ルーチンが実行される。   Next, in step S11, a flag is set. The flag is for controlling such that either a verification routine or a measurement routine in the program module described later is executed alternatively. If the flag is set, the verification routine is executed. If the flag is reset, the measurement routine is executed.

次に、ステップS12において、必要に応じて、プログラムモジュールが使用するパラメータを設定する。測定器を制御するプログラムモジュールの場合、掃引周波数範囲などの測定条件やGo/NoGo試験のための判定条件などのパラメータが設定される。被測定物400を制御するプログラムモジュールの場合、被測定物の動作状態や固有情報などに関するパラメータが設定される。また、実行手順の流れを制御する命令の場合、制御条件などのパラメータが設定される。例えば、LOOP文の場合、上記の測定条件などのパラメータを変化させるための、所望の範囲と所望の間隔が設定される。なお、パラメータは、初期設定値を有するものと、初期設定値を有しないものがある。ここで、出力手段340により表示されるパラメータの設定画面の例を図4に示す。   Next, in step S12, parameters used by the program module are set as necessary. In the case of a program module for controlling a measuring instrument, parameters such as a measurement condition such as a sweep frequency range and a determination condition for a Go / NoGo test are set. In the case of a program module that controls the device under test 400, parameters relating to the operating state of the device under test, unique information, and the like are set. In the case of an instruction that controls the flow of the execution procedure, parameters such as control conditions are set. For example, in the case of a LOOP statement, a desired range and a desired interval for changing parameters such as the above measurement conditions are set. Some parameters have an initial setting value and others do not have an initial setting value. An example of a parameter setting screen displayed by the output unit 340 is shown in FIG.

図4において、ウィンドウ600は、パラメータを設定するためのタブ「スペック/パラメータ設定(Set Specs/Parameters)」620が選択されている。タブ620は、リストボックス621、リストボックス622、および、リストボックス623を有する。リストボックス621は、ステップS10において作成された実行手順が表示される。従って、その表示内容は、図3におけるリストボックス612の表示内容と同じである。リストボックス621に列挙される命令は、選択されると反転表示される。リストボックス622は、リストボックス621内で選択された命令により呼び出されるプログラムモジュールが使用するパラメータが列挙される。また、リストボックス623は、リストボックス622に列挙されるパラメータの設定条件が列挙される。リストボックス622に列挙されるパラメータは、試験者により設定される。リストボックス623に列挙されるパラメータの設定条件は、試験者により定義される。また、パラメータの設定条件は、初期値が設定されている場合もある。タブ「グローバルパラメータ設定(Set Global parameters)」においても、上記と同様に、パラメータが設定でき、また、パラメータの設定条件が定義できる。   In FIG. 4, in the window 600, a tab “Set Specs / Parameters” 620 for setting parameters is selected. The tab 620 includes a list box 621, a list box 622, and a list box 623. The list box 621 displays the execution procedure created in step S10. Therefore, the display content is the same as the display content of the list box 612 in FIG. The instructions listed in the list box 621 are highlighted when selected. The list box 622 lists parameters used by the program module called by the instruction selected in the list box 621. The list box 623 lists the parameter setting conditions listed in the list box 622. The parameters listed in the list box 622 are set by the tester. The parameter setting conditions listed in the list box 623 are defined by the tester. In addition, initial values may be set as parameter setting conditions. In the tab “Set global parameters”, parameters can be set and parameter setting conditions can be defined in the same manner as described above.

次に、ステップS13において、実行手順に従って各命令を実行する。実行手順に従って各命令を実行する時、それぞれの命令に関連するプログラムモジュールが呼び出され実行される。また、それらのプログラムモジュールは、実行手順の流れを制御する命令により、ある条件を満たす間繰り返し実行されたり、ある条件を満たす時に実行される。プログラムモジュールは、ユーザにより設定されるパラメータに従って測定器210や被測定物400などを制御するするルーチンと、パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行される。このようなプログラムモジュールの実行手順を示すフローチャートを図5に示す。   Next, in step S13, each instruction is executed according to the execution procedure. When each instruction is executed according to the execution procedure, the program module associated with each instruction is called and executed. These program modules are repeatedly executed while satisfying a certain condition or executed when a certain condition is satisfied by an instruction for controlling the flow of the execution procedure. The program module includes a routine for controlling the measuring instrument 210 and the DUT 400 according to parameters set by the user, and a routine for verifying whether the parameters are set appropriately. To be executed. A flowchart showing the execution procedure of such a program module is shown in FIG.

図5において、プログラムモジュールPM1〜PM3は、実行手順に従って呼び出される順に(実行される順に)並んでいる。プログラムモジュールPM1は、ユーザにより設定されるパラメータに従って被測定物400を制御するルーチンと、パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行される。プログラムモジュールPM2は、ユーザにより設定されるパラメータに従って測定器210を制御することにより予め決められた測定項目を測定するルーチンと、パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行される。プログラムモジュールPM3は、ユーザにより設定されるパラメータに従って測定器210を制御することにより予め決められた測定項目を測定するルーチンと、パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行される。プログラムモジュールPM1〜PM3は、それぞれ制御ルーチンまたは測定ルーチンと評価ルーチンとを択一的に選択するための条件付き分岐を含んでいる。これらの条件付き分岐は、フラグの状態に応じて、実行するためのルーチンを選択する(ステップS21、ステップS31、および、ステップS41)。ステップS11においてフラグがセットされているので、プログラムモジュールPM1〜PM3では、パラメータが検証される(ステップS22、ステップS32、および、ステップS42)。検証されるパラメータは、ステップS12において設定されたパラメータが与えられるか、実行手順の流れを制御する命令により設定されるパラメータが与えられる。実行手順の流れを制御する命令により設定されるパラメータは変化する場合があって、ステップS12においてパラメータが適切に設定されているか確認できない場合がある。本発明によれば、実際の試験中にあり得るパラメータ設定の全てについて、その適切性を評価することができる。また、ステップS22、ステップS32、および、ステップS42において、各プログラムモジュールが使用するパラメータの内容は、必要に応じて、他のプログラムモジュールの評価ルーチンにも参照可能なように記憶手段320に格納される。また、ステップS22、ステップS32、および、ステップS42において、格納されたパラメータの内容は、必要に応じて記憶手段320から読み出される。これにより、同一プログラムモジュール内、または、異なるプログラムモジュール間で使用される複数のパラメータが互いに制限し合う時などに、それらのパラメータが適切に設定されているかどうかを評価することができる。各評価ルーチンの評価結果は、それぞれのルーチンにおいて記憶手段320に格納される。   In FIG. 5, the program modules PM1 to PM3 are arranged in the order of being called according to the execution procedure (in the order of execution). The program module PM1 includes a routine for controlling the device under test 400 according to parameters set by the user and a routine for verifying whether the parameters are set appropriately, and these routines are executed alternatively. The program module PM2 includes a routine for measuring a predetermined measurement item by controlling the measuring instrument 210 according to a parameter set by the user, and a routine for verifying whether the parameter is set appropriately. The routine is executed alternatively. The program module PM3 includes a routine for measuring a predetermined measurement item by controlling the measuring instrument 210 according to a parameter set by the user, and a routine for verifying whether the parameter is set appropriately. The routine is executed alternatively. Each of the program modules PM1 to PM3 includes a conditional branch for alternatively selecting a control routine or a measurement routine and an evaluation routine. These conditional branches select a routine to be executed according to the state of the flag (step S21, step S31, and step S41). Since the flag is set in step S11, the parameters are verified in the program modules PM1 to PM3 (step S22, step S32, and step S42). As the parameter to be verified, the parameter set in step S12 is given, or the parameter set by an instruction for controlling the flow of the execution procedure is given. The parameter set by the instruction that controls the flow of the execution procedure may change, and it may not be possible to confirm whether the parameter is set appropriately in step S12. According to the present invention, it is possible to evaluate the appropriateness of all parameter settings that can be made during an actual test. In step S22, step S32, and step S42, the contents of parameters used by each program module are stored in the storage means 320 so that they can be referred to by the evaluation routines of other program modules as necessary. The In step S22, step S32, and step S42, the contents of the stored parameters are read from the storage unit 320 as necessary. Thereby, when a plurality of parameters used in the same program module or between different program modules restrict each other, it is possible to evaluate whether or not those parameters are appropriately set. The evaluation result of each evaluation routine is stored in the storage means 320 in each routine.

次に、ステップS14において、記憶手段320から評価結果を読み出し、読み出した評価結果を出力手段340を介して試験者に示す。ここで、評価結果の表示例を図6および図7に示す。図6は、パラメータの再設定を行わなくても良い場合の表示例である。図7は、パラメータの再設定が必要である場合の表示例である。   Next, in step S <b> 14, the evaluation result is read from the storage unit 320, and the read evaluation result is shown to the tester via the output unit 340. Here, display examples of the evaluation results are shown in FIGS. FIG. 6 is a display example when it is not necessary to reset the parameters. FIG. 7 is a display example when it is necessary to reset parameters.

図6および図7において、ウィンドウ700は、リストボックス710とボタン720とボタン730とを備える。リストボックス710には、設定に問題があるパラメータや設定に問題があるかどうか不明であるパラメータがパラメータ毎に列挙される。設定に問題がないパラメータは、リストボックス710に列挙されない。リストボックス710において、左列から順に、パラメータの評価結果「ステータス(Status)」、パラメータが使用されるプログラムモジュールを実行する命令の名称「テスト名(Test Name)」、パラメータの名称「パラメータ/設定条件(Parameters/Specifications)」、評価結果に関するコメント「メッセージ(Message)」が表示される。パラメータの評価結果は、設定に問題がある場合は「エラー(Error)」が表示され、設定に問題があるかどうか不明である場合は「不明(Unknown)」が表示される。なお、設定に問題があるかどうか不明なパラメータとは、例えば、信号源の出力パワーレベルなどである。信号源から被測定物までの信号経路は、通過する信号のパワーレベルを少なからず劣化させる。その劣化分を補うために信号源からわざと大きなパワーレベルの信号を出力させる場合がある。つまり、ある基準に照らせば問題のある設定であっても、その設定が正しい場合もあり、評価ルーチンから見ればパラメータの設定に問題があるかどうか不明なのである。このような場合、設定に問題があるかどうか試験者に判断を仰ぐ必要がある。   6 and 7, the window 700 includes a list box 710, a button 720, and a button 730. The list box 710 lists parameters for which there is a problem in setting and parameters for which it is unknown whether there is a problem in setting for each parameter. Parameters that have no problem in setting are not listed in the list box 710. In the list box 710, in order from the left column, the parameter evaluation result “Status”, the name of the instruction that executes the program module that uses the parameter “Test Name”, and the parameter name “Parameter / Setting” “Conditions (Parameters / Specifications)” and a comment “Message” regarding the evaluation result are displayed. As the parameter evaluation result, “Error” is displayed when there is a problem with the setting, and “Unknown” is displayed when it is unclear whether there is a problem with the setting. Note that the parameter that is unknown whether there is a problem in the setting is, for example, the output power level of the signal source. The signal path from the signal source to the device under test deteriorates the power level of the signal passing therethrough. In some cases, a signal having a large power level is intentionally output from the signal source in order to compensate for the deterioration. In other words, even if there is a problem setting according to a certain standard, the setting may be correct. From the viewpoint of the evaluation routine, it is unknown whether there is a problem with the parameter setting. In such a case, it is necessary to ask the examiner whether there is a problem in the setting.

次に、ステップS15において、パラメータを再設定するか、作成した実行手順に従って実際の試験を実施するかを選択する。図6において、設定に問題があるパラメータは無く、実際の試験を行うことができる。また、リストボックス710には、設定に問題があるかどうか不明なパラメータが列挙されているが、強制的に実際の試験を行うことができる。なお、ボタン720を押すと、パラメータの再設定のために、ステップS12に戻って処理を継続する。また、ボタン730を押すとステップS16へ処理を進め、作成した実行手順に従って実際の試験を実施する。図7において、リストボックス710には、設定に問題があるパラメータが列挙されている。この時、ボタン730は利用不可能になる。   Next, in step S15, it is selected whether to reset the parameter or to perform the actual test according to the created execution procedure. In FIG. 6, there is no parameter having a problem in setting, and an actual test can be performed. The list box 710 lists parameters that are unknown whether there is a problem with the setting, but an actual test can be forcibly performed. When the button 720 is pressed, the process returns to step S12 to continue the process for resetting the parameters. When the button 730 is pressed, the process proceeds to step S16, and an actual test is performed according to the created execution procedure. In FIG. 7, a list box 710 lists parameters that have a problem with the setting. At this time, the button 730 becomes unavailable.

次に、ステップS16において、フラグをリセットする。これにより、プログラムモジュール内の制御ルーチンまたは測定ルーチンが実行されるようになる。   Next, in step S16, the flag is reset. As a result, the control routine or measurement routine in the program module is executed.

次に、ステップS17において、実行手順に従って各命令を実行する。この時、フラグはリセットされているので、図5に示すプログラムモジュールPM1〜PM3では制御ルーチンまたは測定ルーチンが実行される(ステップS23、ステップS33、および、ステップS43)。   Next, in step S17, each instruction is executed according to the execution procedure. At this time, since the flag is reset, the control routine or the measurement routine is executed in the program modules PM1 to PM3 shown in FIG. 5 (step S23, step S33, and step S43).

本発明の測定システム100のブロック図である。1 is a block diagram of a measurement system 100 of the present invention. 本発明の測定システム100の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the measurement system 100 of this invention. ウィンドウ600の表示例を示す図である。FIG. 6 is a diagram showing a display example of a window 600. ウィンドウ600の表示例を示す図である。FIG. 6 is a diagram showing a display example of a window 600. プログラムモジュールの実行手順を示すフローチャートである。It is a flowchart which shows the execution procedure of a program module. ウィンドウ700の表示例を示す図である。FIG. 6 is a diagram showing a display example of a window 700. ウィンドウ700の表示例を示す図である。FIG. 6 is a diagram showing a display example of a window 700.

符号の説明Explanation of symbols

100 測定システム
110,120 ポート
210,220 測定器
300 コンピュータ
310 演算処理手段
320 記憶手段
330 入力手段
340 出力手段
350 通信手段
360 バス
400 被測定物
410,420 ポート
600 ウィンドウ
610,620 タブ
611,612 リストボックス
613 フィルタ
621,622,623 リストボックス
700 ウィンドウ
710 リストボックス
720,730 ボタン
100 Measurement system 110, 120 Port 210, 220 Measuring device 300 Computer 310 Operation processing means 320 Storage means 330 Input means 340 Output means 350 Communication means 360 Bus 400 Device under test 410, 420 Port 600 Window 610, 620 Tab 611, 612 List Box 613 Filter 621, 622, 623 List box 700 Window 710 List box 720, 730 Button

Claims (8)

少なくとも1つの測定器と、入力手段と出力手段と記憶手段とを具備し前記測定器を制御するコンピュータと備え、ユーザにより設定されるパラメータに従って前記測定器を制御することにより予め決められた測定項目を測定するルーチンと、前記パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行されるプログラムモジュールを必要に応じて前記コンピュータに実行させる測定システムであって、
前記入力手段により前記プログラムモジュールの選択または配置の指示を受信し、
受信した前記指示に従って前記プログラムモジュールの実行手順を生成し、該実行手順を前記記憶手段に格納し、
前記プログラムモジュールにおいて、前記検証ルーチンが実行されるように設定し、
必要に応じて、前記入力手段により前記パラメータの設定を受信し、
前記記憶手段から前記実行手順を読み出し、読み出した前記実行手順に従って前記プログラムモジュールを実行し、前記検証ルーチンの検証結果を前記記憶手段に格納し、
前記記憶手段から前記検証結果を読み出し、読み出した前記検証結果を前記前記出力手段に出力する、
ことを特徴とする測定システム。
A measurement item predetermined by controlling the measuring device according to a parameter set by a user, comprising at least one measuring device, a computer having input means, output means, and storage means and controlling the measuring instrument. And a routine for verifying whether the parameters are appropriately set, and causing the computer to execute a program module in which those routines are alternatively executed as necessary. And
An instruction for selecting or arranging the program module is received by the input means;
Generating an execution procedure of the program module in accordance with the received instruction, storing the execution procedure in the storage means;
In the program module, set the verification routine to be executed,
If necessary, the setting of the parameter is received by the input means,
Reading the execution procedure from the storage means, executing the program module according to the read execution procedure, storing the verification result of the verification routine in the storage means,
Reading the verification result from the storage means, and outputting the read verification result to the output means;
A measurement system characterized by that.
前記プログラムモジュールは、前記測定ルーチンに換えて、または、前記測定ルーチンおよび前記評価ルーチンに加えて、前記被測定物を制御するルーチンを含むことを特徴とする請求項1に記載の測定システム。   The measurement system according to claim 1, wherein the program module includes a routine for controlling the object to be measured instead of the measurement routine or in addition to the measurement routine and the evaluation routine. 前記検証ルーチンは、他の前記プログラムモジュールの前記評価ルーチンにも参照可能なように前記パラメータの設定内容を必要に応じて前記記憶手段に格納し、格納された前記パラメータの設定内容を必要に応じて前記記憶手段から読み出すことを特徴とする請求項1または請求項2に記載の測定システム。   The verification routine stores the setting contents of the parameters in the storage unit as necessary so that the evaluation routines of other program modules can also be referred to, and the stored setting contents of the parameters are stored as necessary. The measurement system according to claim 1, wherein the measurement system is read out from the storage unit. 前記プログラムは、複数の前記プログラムモジュールを備えることを特徴とする請求項1乃至請求項3のいずれかに記載の測定システム。   The measurement system according to claim 1, wherein the program includes a plurality of the program modules. 少なくとも1つの測定器と、入力手段と出力手段と記憶手段とを具備し前記測定器を制御するコンピュータとを備える測定システムにおいて、ユーザにより設定されるパラメータに従って前記測定器を制御することにより予め決められた測定項目を測定するルーチンと、前記パラメータが適切に設定されているかを検証するルーチンとを含み、それらのルーチンが択一的に実行されるプログラムモジュールを必要に応じて前記コンピュータに実行させるプログラムであって、
前記入力手段により前記プログラムモジュールの選択または配置の指示を受信する第1の手順と、
受信した前記指示に従って前記プログラムモジュールの実行手順を生成し、該実行手順を前記記憶手段に格納する第2の手順と、
前記プログラムモジュールにおいて、前記検証ルーチンが実行されるように設定する第3の手順と、
必要に応じて、前記入力手段により前記パラメータの設定を受信する第4の手順と、
前記記憶手段から前記実行手順を読み出し、読み出した前記実行手順に従って前記プログラムモジュールを実行し、前記検証ルーチンの検証結果を前記記憶手段に格納する第5の手順と、
前記記憶手段から前記検証結果を読み出し、読み出した前記検証結果を前記出力手段に出力する第6の手順と、
を前記コンピュータに実行させることを特徴とするプログラム。
In a measuring system comprising at least one measuring instrument, a computer comprising input means, output means and storage means and controlling the measuring instrument, the measuring instrument is determined in advance by controlling the measuring instrument in accordance with parameters set by a user. And a routine for verifying whether the parameters are appropriately set, and causing the computer to execute a program module in which these routines are alternatively executed as necessary. A program,
A first procedure for receiving an instruction to select or place the program module by the input means;
A second procedure for generating an execution procedure of the program module in accordance with the received instruction and storing the execution procedure in the storage means;
A third procedure for setting the verification routine to be executed in the program module;
A fourth procedure for receiving the setting of the parameter by the input means, if necessary;
Reading the execution procedure from the storage means, executing the program module according to the read execution procedure, and storing the verification result of the verification routine in the storage means;
A sixth procedure for reading the verification result from the storage means and outputting the read verification result to the output means;
That causes the computer to execute the program.
前記プログラムモジュールは、前記測定ルーチンに換えて、または、前記測定ルーチンおよび前記評価ルーチンに加えて、前記被測定物を制御するルーチンを含むことを特徴とする請求項5に記載のプログラム。   6. The program according to claim 5, wherein the program module includes a routine for controlling the object to be measured instead of the measurement routine or in addition to the measurement routine and the evaluation routine. 前記検証ルーチンは、他の前記プログラムモジュールの前記評価ルーチンにも参照可能なようにパラメータの設定内容を必要に応じて前記記憶手段に格納し、格納された前記パラメータの設定内容を必要に応じて前記記憶手段から読み出すことを特徴とする請求項5または請求項6に記載のプログラム。   The verification routine stores parameter setting contents in the storage unit as necessary so that the evaluation routines of other program modules can be referred to, and stores the stored parameter setting contents as necessary. The program according to claim 5 or 6, wherein the program is read from the storage unit. 複数の前記プログラムモジュールを備えることを特徴とする請求項5乃至請求項7のいずれかに記載のプログラム。
The program according to claim 5, comprising a plurality of the program modules.
JP2003320331A 2003-09-11 2003-09-11 Control program and measuring system Pending JP2005090959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003320331A JP2005090959A (en) 2003-09-11 2003-09-11 Control program and measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003320331A JP2005090959A (en) 2003-09-11 2003-09-11 Control program and measuring system

Publications (1)

Publication Number Publication Date
JP2005090959A true JP2005090959A (en) 2005-04-07

Family

ID=34452359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003320331A Pending JP2005090959A (en) 2003-09-11 2003-09-11 Control program and measuring system

Country Status (1)

Country Link
JP (1) JP2005090959A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010511868A (en) * 2006-11-30 2010-04-15 エレクトロ サイエンティフィック インダストリーズ インコーポレーテッド Synchronous control of test instruments
JP2020041975A (en) * 2018-09-13 2020-03-19 株式会社アドバンテスト Device, method, and program
CN113518976A (en) * 2019-01-10 2021-10-19 特克特朗尼克公司 Decomposed distributed measurement analysis system using dynamic application builder

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010511868A (en) * 2006-11-30 2010-04-15 エレクトロ サイエンティフィック インダストリーズ インコーポレーテッド Synchronous control of test instruments
JP2020041975A (en) * 2018-09-13 2020-03-19 株式会社アドバンテスト Device, method, and program
US11280830B2 (en) 2018-09-13 2022-03-22 Advantest Corporation Apparatus, method, and storage medium
CN113518976A (en) * 2019-01-10 2021-10-19 特克特朗尼克公司 Decomposed distributed measurement analysis system using dynamic application builder
JP2022522958A (en) * 2019-01-10 2022-04-21 テクトロニクス・インコーポレイテッド Separate and distributed measurement analysis system using dynamic application builder

Similar Documents

Publication Publication Date Title
US7908518B2 (en) Method, system and computer program product for failure analysis implementing automated comparison of multiple reference models
JP4395761B2 (en) Program test support apparatus and method
KR100808257B1 (en) Apparatus and Method for prototype development of embedded system
US20150094997A1 (en) Explaining partially illegal combinations in combinatorial models
US10719657B1 (en) Process design kit (PDK) with design scan script
KR20070069614A (en) Software test method and software test apparatus
WO2022095412A1 (en) Microservice development method and apparatus, storage medium, and electronic device
CN109358975A (en) A kind of analysis method, device, electronic equipment and storage medium that software is operating abnormally
JP2007010663A (en) Method and device for providing constitution of hardware resource specified in test template
JP2000122886A (en) Program production system of semiconductor testing device
JP2017084082A (en) Simulation device, test scenario file creation method, and test method using test scenario file
US7827209B2 (en) Data object based data analysis
US20100312541A1 (en) Program test device and program
US8255581B2 (en) Electronic device having physical switch to select functionality exposed to host computing device
JP2005300324A (en) Method for analyzing measurement data of device under test, program, and measurement data analysis system
KR20030076368A (en) Electronic test program with test triggered interactive displays
JP2005090959A (en) Control program and measuring system
JP2002163003A (en) Device and method for preparing control program, and recording medium
CN101266564A (en) Method and apparatus for providing help upon user&#39;s wrong button manipulation
US8745587B2 (en) System and method for testing computer programs
JP5743663B2 (en) Test support system, test support method, and program
CN116431467A (en) Page test method, device, equipment and medium
US20090071729A1 (en) Electronic scales and method for the operation thereof
US11436130B1 (en) System, method, and computer program for automating manually written test cases
JP2007257077A (en) Program debugging device, method and program