JP4239626B2 - Measuring instrument control system - Google Patents
Measuring instrument control system Download PDFInfo
- Publication number
- JP4239626B2 JP4239626B2 JP2003071455A JP2003071455A JP4239626B2 JP 4239626 B2 JP4239626 B2 JP 4239626B2 JP 2003071455 A JP2003071455 A JP 2003071455A JP 2003071455 A JP2003071455 A JP 2003071455A JP 4239626 B2 JP4239626 B2 JP 4239626B2
- Authority
- JP
- Japan
- Prior art keywords
- measuring instrument
- personal computer
- instruction
- displayed
- list
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、測定器制御システムに関し、詳しくは、パソコンで制御するように構成された測定システムの改善に関するものである。
【0002】
【従来の技術】
従来から、測定器をGPIB等を介してパソコンに接続し、パソコン上のプログラムで制御することが広く行われている。
【0003】
ところが、近年における測定器の機能の高度・複雑化に伴い、測定器側が必要とする通信コマンドと呼ばれる命令数が増大している。この結果、測定器の取扱説明書等のページ数も増加していて、測定器のユーザーによるパソコン制御のためのプログラム作成作業を難解にしてきているのが現状である。
【0004】
図8はこのような従来の測定器制御システムの一例を示すブロック図である。図において、測定器1は例えばGPIB(IEEE488.1)回線2を介してパソコン3に接続されている。測定器1のユーザーは、測定器1をパソコンで制御するのにあたり、図9に示すように取扱説明書を読んで測定器の機種に固有の通信コマンドの中から必要な命令を探し出し、プログラムを作成していた。
【0005】
しかし、前述の通り、測定器1の機能の複雑化により通信コマンドの数は増加傾向にあり、さらにIEEE488.2規格は一般的にアスキー文字列の階層による命令体系となるため文字列種類の増加と階層の増加を招いていて、ユーザーのプログラム作成作業を煩雑化させている。
【0006】
【特許文献1】
特開平10−187426
【0007】
特許文献1は、見通しの良いプログラム表記方法を採用したプログラム装置に関するものであるが、GPIBを用いて測定器の制御を行うシステムに関する発明が開示されていて、その段落0073と0074には、第43図および第44図に示されたGPIB用の操作盤GUIの説明が記載されている。
【0008】
【発明が解決しようとする課題】
【0009】
本発明はこれらの問題点に着目したものであり、その目的は、ユーザーが測定器制御用のプログラムを簡単に作成できる測定器制御システムを提供することにある。
【0010】
【課題を解決するための手段】
このような目的を達成する請求項1の発明は、
測定器とパソコンが通信回線を介して接続され、測定器をパソコンで制御するように構成された測定器制御システムであって、
前記パソコンの画面には、命令一覧取り込み実行ボタン、命令読み取り開始ボタン、命令読み取り終了ボタン、コピーボタンおよびテスト実行ボタンが表示されるとともに、一覧表示リスト領域、読み取り命令リスト領域およびテスト内容リスト領域が表示され、
前記パソコンの命令一覧取り込み実行ボタンが操作されることにより、前記測定器から前記パソコンでの制御に必要な全制御命令情報が通信回線を介して前記パソコンに取り込まれて前記一覧表示リスト領域に一覧表示され、
前記測定器は、前記パソコンの命令読み取り開始ボタンが操作されることにより命令解析処理モードに移行してキー操作による命令の設定を解析するとともに通信命令文字列に変換して出力バッファに格納した後前記パソコンに送信し、
前記パソコンは、前記測定器から受信したキー操作に関連した通信命令文字列を前記読み取り命令リスト領域に表示し、
この読み取り命令リスト領域に表示されている通信命令文字列から所望の通信命令文字列が選択された状態で前記コピーボタンが操作されることにより、選択された通信命令文字列が前記テスト内容リスト領域にコピー表示され、
このテスト内容リスト領域に選択された通信命令文字列が表示された状態で前記テスト実行ボタンが操作されることにより、これらテスト内容リスト領域に表示された通信命令文字列が前記測定器に転送されて所定のテスト内容の処理が実行されることを特徴とするものである。
【0011】
これにより、パソコンの画面上で、測定器に格納されている命令の内容および測定器のキー操作と通信命令の関係を把握できる。そして、パソコンの画面上で作成したプログラムの動作を測定器で確認できる。
【0017】
【発明の実施の形態】
以下、図面を用いて本発明の実施の形態を説明する。基本構成は従来の図8と同様であるが、測定器1のファームウェアとパソコン3側の専用ソフトウェアとの組み合わせにより、ユーザーが測定器制御用のプログラムを簡単に作成できるように工夫している。すなわち、測定器1には制御命令情報が格納しておき、パソコン3の専用ソフトウェアでこれら制御命令情報をパソコン3に取り込むことによりパソコン3の画面上で測定器制御用のプログラムを作成できるようにしたものである。
【0018】
図1は本発明に基づく制御用プログラム作成の流れを説明するパソコン3の表示画面概念図である。パソコン3の画面には、命令一覧取り込み実行ボタン4、命令読み取り開始ボタン5、命令読み取り終了ボタン6、コピーボタン7、テスト実行ボタン8が表示されるとともに、一覧表示リスト9、読み取り命令リスト10、テスト内容リスト11が表示される。
【0019】
図2はユーザーがパソコン3の画面に表示されている命令一覧取り込み実行ボタン4を操作した場合の処理の流れを示すフローチャートである。ユーザーがパソコン3の画面に表示される命令一覧取り込み実行ボタン4を操作することにより(SP1)、測定器1は命令一覧取り込み命令を受信する(SP2)。そして、測定器1は、格納しているすべての命令の情報をバイナリデータとして送信するための準備をし(SP3)、送信準備が整うと、パソコン3に向けて命令情報を送信する(SP4)。パソコン3は命令情報を受信することにより(SP5)、図3に示すようにパソコン3の表示画面の一覧表示リスト9に測定器1側から受信した制御命令情報を一覧表示する(SP6)。ここで、ユーザーが一覧表示リスト9に表示される各命令をクリックすることにより、それぞれの命令の説明、設定データ情報等、個々の詳細情報が表示される。
【0020】
これにより、制御対象とする測定器にどんな命令があるか、その命令はどのような内容を指令するかが一目でわかり、従来のように取扱説明書を読む必要がなくなる。
【0021】
図4は、図2の手順を実行して測定器1の制御命令情報をパソコン3に取り込んだ後における命令解析処理の流れを示すフローチャートである。図4において、ユーザーがパソコン3の画面に表示される命令読み取り開始ボタン5を押すことにより(SP1)、測定器1は命令解析処理モードに移行する(SP2)。命令解析処理モードに移行した後における測定器1上のキー操作による命令の設定は測定器1の内部で解析され(SP3)、命令確定時に通信命令の文字列に変換されて出力バッファに格納される(SP4)。
【0022】
パソコン3は定期的に命令を受信し(SP5)、測定器1に命令読み出しを送信する(SP6)。測定器1は、パソコン3から命令読み出しが来たら出力バッファの内容をパソコン3側に送信する(SP6)。パソコン3は測定器1から送られた命令を受信すると(SP7)、図5に示すようにそれらの命令をパソコン3の表示画面の読み取り命令リスト10に表示する(SP8)。ステップSP5からSP8を必要回数繰り返して実行した後、ユーザーが命令読み取り終了ボタン6を押すと(SP9)、測定器1は再び命令解析処理モードに移行する(SP10)。
【0023】
これら読み取り命令リスト10に表示される読み取り命令は、測定器1の実際のキー操作に基づいて命令に自動変換されるため、ユーザーは測定器1のどのキーの操作がどの通信命令になるのかをその都度検索しなくて済む。
【0024】
図6は、図4の手順を実行した後におけるテスト実行処理の流れを示すフローチャートである。図6において、ユーザーがパソコン3の画面に表示されている読み取り命令リスト10中から所望の読み取り命令群を選択して(SP1)、コピーボタン7を押すと(SP2)、選択された読み取り命令群がテスト内容リスト11にコピーされる。このようにしてテスト内容リスト11にコピーした後にテスト実行ボタン8を押すことにより(SP3)、テスト内容リスト11にコピーされた読み取り命令群は測定器1で受信される(SP4)。そして、測定器1は、読み取り命令群の処理を逐次実行する(SP5)。
【0025】
これにより、ユーザーがパソコン3の画面上で作成した一連のプログラムの動作を、測定器1を動作させて確かめることができる。
【0026】
なお、上記実施例では、通信回線がGPIB(IEEE488.1)の場合を説明したが、RS232,USB(登録商標),Ethernet(登録商標)等他の回線でもよい。
【0027】
【発明の効果】
以上説明したように、本発明によれば、ユーザーはパソコンの画面を見ながら編集することによって測定器制御用のプログラムを簡単に作成でき、波形測定装置やデータ収集装置や記録計など、パソコンで制御する各種の測定器制御システムに好適である。
【図面の簡単な説明】
【図1】本発明に基づく制御用プログラム作成の流れを説明するパソコンの表示画面概念図である。
【図2】本発明における処理の流れを示すフローチャートである。
【図3】図2の処理に関連したパソコンの表示画面概念図である。
【図4】本発明における処理の流れを示すフローチャートである。
【図5】図4の処理に関連したパソコンの表示画面概念図である。
【図6】本発明における処理の流れを示すフローチャートである。
【図7】図6の処理に関連したパソコンの表示画面概念図である。
【図8】従来の測定器制御システムの一例を示すブロック図である。
【図9】従来のプログラム作成概念図である。
【符号の説明】
1 測定器
2 通信回線
3 パソコン
4 命令一覧取り込み実行ボタン
5 命令読み取り開始ボタン
6 命令読み取り終了ボタン
7 コピーボタン
8 テスト実行ボタン
9 一覧表示リスト
10 読み取り命令リスト
11 テスト内容リスト[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a measuring instrument control system, and more particularly, to an improvement of a measuring system configured to be controlled by a personal computer.
[0002]
[Prior art]
Conventionally, it is widely performed that a measuring instrument is connected to a personal computer via GPIB or the like and controlled by a program on the personal computer.
[0003]
However, in recent years, with the sophistication and complexity of the functions of measuring instruments, the number of instructions called communication commands required on the measuring instrument side is increasing. As a result, the number of pages such as instruction manuals for measuring instruments has increased, making it difficult to create a program for controlling a personal computer by a user of the measuring instrument.
[0004]
FIG. 8 is a block diagram showing an example of such a conventional measuring instrument control system. In the figure, a
[0005]
However, as described above, the number of communication commands is increasing due to the complexity of the function of the
[0006]
[Patent Document 1]
JP-A-10-187426
[0007]
[0008]
[Problems to be solved by the invention]
[0009]
The present invention pays attention to these problems, and an object of the present invention is to provide a measuring instrument control system in which a user can easily create a measuring instrument control program.
[0010]
[Means for Solving the Problems]
The invention of
A measuring instrument control system configured such that a measuring instrument and a personal computer are connected via a communication line and the measuring instrument is controlled by the personal computer.
On the computer screen, an instruction list import execution button, an instruction reading start button, an instruction reading end button, a copy button, and a test execution button are displayed, and a list display list area, a reading instruction list area, and a test content list area are provided. Displayed,
By operating the command list fetch execution button of the personal computer, all control command information necessary for control by the personal computer from the measuring instrument is fetched into the personal computer via a communication line and listed in the list display list area. Displayed,
After the instrument is shifted to the instruction analysis processing mode by operating the instruction reading start button of the personal computer, the instruction setting by key operation is analyzed and converted into a communication instruction character string and stored in the output buffer. Send it to the computer,
The personal computer displays a communication command character string related to a key operation received from the measuring instrument in the read command list area,
When the copy button is operated in a state where a desired communication command character string is selected from the communication command character strings displayed in the read command list region, the selected communication command character string is displayed in the test content list region. Is displayed as a copy,
When the test execution button is operated while the selected communication command character string is displayed in the test content list area, the communication command character string displayed in the test content list area is transferred to the measuring instrument. Thus, processing of a predetermined test content is executed .
[0011]
Thereby, it is possible to grasp the contents of the command stored in the measuring instrument and the relationship between the key operation of the measuring instrument and the communication command on the screen of the personal computer . And the operation of the program created on the screen of the personal computer can be confirmed with the measuring instrument.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. Although the basic configuration is the same as that of the conventional FIG. 8, the user can easily create a program for controlling the measuring instrument by combining the firmware of the
[0018]
FIG. 1 is a conceptual diagram of a display screen of a
[0019]
FIG. 2 is a flowchart showing the flow of processing when the user operates the instruction list fetch execution button 4 displayed on the screen of the
[0020]
As a result, it is possible to know at a glance what kind of instruction is in the measuring instrument to be controlled and what kind of contents the instruction gives, and there is no need to read the instruction manual as in the past.
[0021]
FIG. 4 is a flowchart showing a flow of instruction analysis processing after the control instruction information of the
[0022]
The
[0023]
Since the read commands displayed in the
[0024]
FIG. 6 is a flowchart showing the flow of test execution processing after the procedure of FIG. 4 is executed. In FIG. 6, when the user selects a desired read command group from the read
[0025]
As a result, the operation of a series of programs created on the screen of the
[0026]
In the above embodiment, the communication line is GPIB (IEEE488.1), but other lines such as RS232, USB (registered trademark), Ethernet (registered trademark) may be used.
[0027]
【The invention's effect】
As described above, according to the present invention, a user can easily create a program for controlling a measuring instrument by editing while viewing the screen of the personal computer, such as a waveform measuring device, a data collecting device, and a recorder. It is suitable for various measuring instrument control systems to be controlled.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram of a display screen of a personal computer for explaining a flow of creating a control program based on the present invention.
FIG. 2 is a flowchart showing a processing flow in the present invention.
FIG. 3 is a conceptual diagram of a display screen of a personal computer related to the processing of FIG.
FIG. 4 is a flowchart showing the flow of processing in the present invention.
5 is a conceptual diagram of a display screen of a personal computer related to the process of FIG.
FIG. 6 is a flowchart showing the flow of processing in the present invention.
7 is a conceptual diagram of a display screen of a personal computer related to the process of FIG.
FIG. 8 is a block diagram showing an example of a conventional measuring instrument control system.
FIG. 9 is a conceptual diagram of conventional program creation.
[Explanation of symbols]
DESCRIPTION OF
Claims (1)
前記パソコンの画面には、命令一覧取り込み実行ボタン、命令読み取り開始ボタン、命令読み取り終了ボタン、コピーボタンおよびテスト実行ボタンが表示されるとともに、一覧表示リスト領域、読み取り命令リスト領域およびテスト内容リスト領域が表示され、
前記パソコンの命令一覧取り込み実行ボタンが操作されることにより、前記測定器から前記パソコンでの制御に必要な全制御命令情報が通信回線を介して前記パソコンに取り込まれて前記一覧表示リスト領域に一覧表示され、
前記測定器は、前記パソコンの命令読み取り開始ボタンが操作されることにより命令解析処理モードに移行してキー操作による命令の設定を解析するとともに通信命令文字列に変換して出力バッファに格納した後前記パソコンに送信し、
前記パソコンは、前記測定器から受信したキー操作に関連した通信命令文字列を前記読み取り命令リスト領域に表示し、
この読み取り命令リスト領域に表示されている通信命令文字列から所望の通信命令文字列が選択された状態で前記コピーボタンが操作されることにより、選択された通信命令文字列が前記テスト内容リスト領域にコピー表示され、
このテスト内容リスト領域に選択された通信命令文字列が表示された状態で前記テスト実行ボタンが操作されることにより、これらテスト内容リスト領域に表示された通信命令文字列が前記測定器に転送されて所定のテスト内容の処理が実行されることを特徴とする測定器制御システム。A measuring instrument control system configured such that a measuring instrument and a personal computer are connected via a communication line and the measuring instrument is controlled by the personal computer.
On the computer screen, an instruction list import execution button, an instruction reading start button, an instruction reading end button, a copy button, and a test execution button are displayed, and a list display list area, a reading instruction list area, and a test content list area are provided. Displayed,
By operating the command list fetch execution button of the personal computer, all control command information necessary for control by the personal computer from the measuring instrument is fetched into the personal computer via a communication line and listed in the list display list area. Displayed,
After the instrument is shifted to the instruction analysis processing mode by operating the instruction reading start button of the personal computer, the instruction setting by key operation is analyzed and converted into a communication instruction character string and stored in the output buffer. Send it to the computer,
The personal computer displays a communication command character string related to a key operation received from the measuring instrument in the read command list area,
When the copy button is operated in a state where a desired communication command character string is selected from the communication command character strings displayed in the read command list region, the selected communication command character string is displayed in the test content list region. Is displayed as a copy,
When the test execution button is operated while the selected communication command character string is displayed in the test content list area, the communication command character string displayed in the test content list area is transferred to the measuring instrument. A measuring instrument control system characterized in that processing of predetermined test contents is executed .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003071455A JP4239626B2 (en) | 2003-03-17 | 2003-03-17 | Measuring instrument control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003071455A JP4239626B2 (en) | 2003-03-17 | 2003-03-17 | Measuring instrument control system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004280502A JP2004280502A (en) | 2004-10-07 |
JP4239626B2 true JP4239626B2 (en) | 2009-03-18 |
Family
ID=33287893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003071455A Expired - Fee Related JP4239626B2 (en) | 2003-03-17 | 2003-03-17 | Measuring instrument control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4239626B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5088542B2 (en) * | 2007-06-15 | 2012-12-05 | 横河電機株式会社 | Data processing device |
-
2003
- 2003-03-17 JP JP2003071455A patent/JP4239626B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004280502A (en) | 2004-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6681343B1 (en) | Debugging device and method as well as storage medium | |
WO1996012233A1 (en) | Method and apparatus for graphically programming a computer to operate external devices | |
JPH08328795A (en) | Method for setting tool button and editing device | |
JP3535354B2 (en) | Stall detection display device and method | |
JP4239626B2 (en) | Measuring instrument control system | |
JP2002281111A (en) | Protocol analyzer | |
US20040210432A1 (en) | Simulation apparatus and method for storing operation information | |
Cottingham | Mastering AutoCAD VBA | |
JP2023141911A (en) | Measuring device and measuring method | |
JP4613770B2 (en) | Standard operation procedure creation support software for analytical instruments | |
US6307534B1 (en) | Computer data re-presentation method and apparatus | |
CN100432876C (en) | Inspecting device and programming tool | |
JPS59174994A (en) | Tester | |
JPH06324873A (en) | Diagnostic knowledge base input method and diagnostic knowledge base output method, diagnosing device, remote system for numerical controller | |
US20060015845A1 (en) | Method and system for managing measurement operations of testing and analysis devices | |
JP2006285793A (en) | Information processor, control method therefor, computer program and storage medium | |
US20020004896A1 (en) | Analyzer system | |
JPH08110848A (en) | File control operating method in analytic device | |
JPH09244837A (en) | Simulator and input data processing method for the same | |
JP2862369B2 (en) | Image display control device | |
KR100811538B1 (en) | Method for computer based schedule management | |
JPH09319417A (en) | Method for registering object to be registered, method for registering object device to be processed of ladder program, recording medium recording computer programs, and data processor | |
JPH09319414A (en) | Data processor, sequence program editing method, and recording medium | |
JP2006201940A (en) | Electronic filing system and control method | |
JP4192908B2 (en) | Editing apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050805 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080205 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081202 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081215 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120109 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |