JP2010061235A - Control device and control method - Google Patents

Control device and control method Download PDF

Info

Publication number
JP2010061235A
JP2010061235A JP2008224029A JP2008224029A JP2010061235A JP 2010061235 A JP2010061235 A JP 2010061235A JP 2008224029 A JP2008224029 A JP 2008224029A JP 2008224029 A JP2008224029 A JP 2008224029A JP 2010061235 A JP2010061235 A JP 2010061235A
Authority
JP
Japan
Prior art keywords
control
gpib
command
unit
function unit
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.)
Granted
Application number
JP2008224029A
Other languages
Japanese (ja)
Other versions
JP5069645B2 (en
Inventor
Masaya Shibayama
昌也 柴山
Hideki Usui
秀樹 臼居
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP2008224029A priority Critical patent/JP5069645B2/en
Publication of JP2010061235A publication Critical patent/JP2010061235A/en
Application granted granted Critical
Publication of JP5069645B2 publication Critical patent/JP5069645B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily control with a command before changing an control target apparatus even if the control target apparatus is changed. <P>SOLUTION: The control device is provided with a control part 1 for outputting a first command; a plurality of functional parts 3 and 6, including a GPIB functional part 5 for controlling first control target apparatus with the first command; a DLL execution part 2 for retrieving a plurality of functional parts in a prescribed priority order; and a pseudo-GPIB functional part 4 configured to be retrievable by the DLL executing part under the same conditions as those of the GPIB functional part, and stored in a higher priority order than that of the GPIP functional part for translating the first command into the second command for controlling the second equipment to be controlled. According to the start of control, the DLL execution part retrieves the functional part, according to the priority order, and recognizes the pseudo-GPIB functional part, and links the control part with the pseudo-GPIB functional part. The pseudo-GPIB functional part translates the first command into the second command, and transmits the second command to the second control target equipment. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、他の制御対象機器を制御する制御装置及びその方法に関する。特に、ある制御対象機器をある制御プログラムで制御していたときに、その制御対象機器を他社の製品に置き換えたとき、或いは制御対象機器を新しいコマンド体系のバージョンアップした製品に置き換えたとき、それらの置き換え前に使用していた制御プログラムでは置き換えた製品を制御できなくなる可能性があるが、本発明は、その置き換え前の制御プログラムを有効に生かして、置き換えた製品にも制御できるようにする技術に係る。   The present invention relates to a control apparatus and method for controlling another device to be controlled. In particular, when a control target device is controlled by a control program, when the control target device is replaced with a product of another company, or when the control target device is replaced with a product upgraded with a new command system. The control program used before the replacement may not be able to control the replaced product, but the present invention makes it possible to control the replaced product by effectively utilizing the control program before the replacement. Related to technology.

一般に、制御装置(コンピュータを含む)は、制御対象機器とのインターフェース(例えばGPIB)を確保した上で、制御プログラムを実行することで、その制御プログムに沿ったコマンドで制御対象機器を制御する。   In general, a control device (including a computer) controls an apparatus to be controlled with a command according to the control program by executing a control program after securing an interface (for example, GPIB) with the apparatus to be controlled.

制御対象機器を異なったコマンドのものに切り替えると、旧制御プログラムも新しいコマンドの新制御プログラムに作り直す必要が生じる。そこで、制御装置側に旧制御プログラムを新しいコマンドを基に自動で新制御プログラムに編集する技術があった(特許文献1)。しかし、これは、制御装置側にプログラムの自動編集手段が必要であった。   When the control target device is switched to one with a different command, the old control program needs to be recreated to a new control program with a new command. Therefore, there has been a technology on the control device side that automatically edits an old control program into a new control program based on a new command (Patent Document 1). However, this requires an automatic program editing means on the control device side.

一般のコンピュータを制御装置として使用するときは、その制御装置には、自動編集装置は持っていないことが多い。このようにプログラム編集機能のない制御装置では、特許文献1の技術では対応できない。   When a general computer is used as a control device, the control device often does not have an automatic editing device. In this way, the control device without the program editing function cannot be handled by the technique of Patent Document 1.

ところで、今日の制御装置は、例えば、各種インタフェース、マウスやプリンタを動作させるためのソフトウェア(ドライバー)等の汎用的な機能部品をファイルとして、各種のアプリケーションソフトウェアで共通に利用可能に管理している。このような管理機能を有するものとして、制御装置のWindows(登録商標)のOSで動作するような管理機能としては、DLL(ダイナミックリンクライブラリ;Dynamic Link Library)と呼ばれるソフトウェアがある(DLL等については、特許文献2に記載がある。)。   By the way, today's control devices manage, for example, general-purpose functional components such as various interfaces and software (drivers) for operating a mouse and a printer so that they can be commonly used by various application software. . As a management function having such a management function and operating on the Windows (registered trademark) OS of the control device, there is software called DLL (Dynamic Link Library) (for DLL and the like) And is described in Patent Document 2.)

例えば、図5は、制御装置100であり、それをハード的に表した図である。図5で、CPU(OS)上で、DLL130が、第1の機能部3(例えば、マウス・ドライバ)や第nの機能部6(例えば、プリンタードライバ)等の機能部品140をフォルダ(Windows(登録商標)では拡張子dllで管理されている。)で管理している。そして、CPU(OS)110上で、アプリケーションプログラムが実行されたとき(CPU110とアプリケーションプログラム120で制御部1が構成される。)、アプリケーションプログラム120の実行に必要な機能部品140を、予め決めてある優先順位にしたがって検索し、それが在ることを認識したとき、その機能部品140がアプリケーションプログラム120の実行に有効に機能するようにリンク付けする。例えば、このアプリケーションプログラム120の実行でプリント要求されたときに、第nの機能部6(プリンタドライバ)によりプリントを可能にする。   For example, FIG. 5 shows the control device 100, which is a hardware representation thereof. In FIG. 5, on the CPU (OS), the DLL 130 stores functional components 140 such as the first functional unit 3 (for example, a mouse driver) and the nth functional unit 6 (for example, a printer driver) in a folder (Windows ( (Registered trademark) is managed with the extension dll. When the application program is executed on the CPU (OS) 110 (the control unit 1 is configured by the CPU 110 and the application program 120), the functional component 140 necessary for executing the application program 120 is determined in advance. When searching according to a certain priority order and recognizing that it exists, the functional component 140 is linked so as to function effectively in the execution of the application program 120. For example, when a print request is made by executing the application program 120, printing is enabled by the nth functional unit 6 (printer driver).

制御のインタフェースについても同様である。図4は、図5にGPIB機能部5を加え、より機能的に表現した図であって、CPU110がアプリケーションプログラム120としてGPIBインターフェースを介して制御するプログラム(GPIB.obj)実行して制御する機能構成を示す。例えば、制御部1が実行開始され、制御部1が第1の制御対象機器210を制御するインターフェースドライバとして、GPIB機能部5(例えば、ファイル名;GPIB32.dll)を要求しているとき、DLL実行部2の機能検索部2aがフォルダ群7の各フォルダ内(ディレクトリ内)をフォルダ優先順位情報2cにしたがって検索して、k+j番目にGPIB機能部5を認知したときに、リンク部2bによりGPIB機能部5を制御部1にリンクさせる(図4の細かい点線)。そして、GPIB機能部5は、制御部1からの第1のコマンドを受けて、GPIBインタフェースで第1の制御対象機器210を制御する。GPIB機能部5は、反対に第1の制御対象機器210からの第1のコマンドを受けたときは、GPIBインタフェースで制御部1へ返す。   The same applies to the control interface. FIG. 4 is a diagram functionally expressed by adding the GPIB function unit 5 to FIG. 5, and a function that the CPU 110 executes and controls as an application program 120 a program (GPIB.obj) controlled via the GPIB interface. The configuration is shown. For example, when the control unit 1 starts executing and the control unit 1 requests the GPIB function unit 5 (for example, file name; GPIB32.dll) as an interface driver for controlling the first control target device 210, the DLL When the function search unit 2a of the execution unit 2 searches each folder (in the directory) of the folder group 7 according to the folder priority order information 2c and recognizes the GPIB function unit 5 k + jth, the link unit 2b performs GPIB. The function unit 5 is linked to the control unit 1 (fine dotted line in FIG. 4). The GPIB function unit 5 receives the first command from the control unit 1 and controls the first control target device 210 using the GPIB interface. Conversely, when the GPIB function unit 5 receives the first command from the first control target device 210, the GPIB function unit 5 returns the command to the control unit 1 through the GPIB interface.

上記説明における第1の機能部3,GPIB機能部5,第nの機能部等は、それぞれ別のフォルダに格納される場合も、同じフォルダに格納される場合もある。また、実際には、図4の制御部1やDLL実行部2も上記のようにソフトウェアで構成されており、所定のフォルダに格納されている。   The first functional unit 3, GPIB functional unit 5, nth functional unit, etc. in the above description may be stored in different folders or in the same folder. In practice, the control unit 1 and the DLL execution unit 2 in FIG. 4 are also configured by software as described above and stored in a predetermined folder.

また、機能検索部2aの機能は、例えば、Load Library関数によって実現されている。   Moreover, the function of the function search part 2a is implement | achieved by the Load Library function, for example.

特公平7−69197号公報Japanese Examined Patent Publication No. 7-69197 特開2005−317115号公報JP-A-2005-317115 特開平5−93634号公報Japanese Patent Laid-Open No. 5-93634

しかしながら、図4における第1の制御対象機器210を新しい、或いは性能アップした他のバージョンアップ製品、或いは他社製品に置き換える場合が生じることがある。そのときには、次の(1)(2)の対策が考えられる。
(1) 制御部1の制御用のアプリケーションプログラムを変える、或いは新しく作
る。
(2) 図4の制御装置100(GPIB機能部5)と第1の制御対象機器210と
の間に翻訳機能を設ける(特許文献3)。
上記(1)の場合は、制御用のアプリケーションプログラムを作り替えるのが大変なことと、一般にはそれまでに使用実績、信頼性が得られている制御用アプリケーションプログラムを資産として有効活用したい。上記(2)の場合も、第1のコマンドをGPIB機能部5でGPIBインタフェースに適合するように変換されたものを、戻して翻訳するようになるので、費用、規模が大きくなってしまう。また、内部のGPIB機能部5を使用しないで、特許文献3のように構成すれば、内部のGPIB機能部5が資産として利用されないことになる。
However, there may be a case where the first control target device 210 in FIG. 4 is replaced with a new version-up product with improved performance or another company's product. At that time, the following countermeasures (1) and (2) can be considered.
(1) Change or create a new application program for control of the control unit 1.
(2) A translation function is provided between the control device 100 (GPIB function unit 5) of FIG. 4 and the first control target device 210 (Patent Document 3).
In the case of (1), it is difficult to recreate a control application program, and in general, it is desirable to effectively use a control application program that has been used and reliable until now as an asset. Also in the case of (2), since the first command converted by the GPIB function unit 5 so as to be compatible with the GPIB interface is returned and translated, the cost and scale are increased. Moreover, if it comprises like patent document 3 without using the internal GPIB function part 5, the internal GPIB function part 5 will not be utilized as an asset.

本発明の目的は、翻訳機能をDLLで取り扱う構成にすることで、制御対象機器を換えても、容易に、換える前のコマンドで制御する技術を提供することである。   An object of the present invention is to provide a technique for easily controlling with a command before switching even if the control target device is changed by adopting a configuration in which the translation function is handled by DLL.

上記目的を達成するために、請求項1に記載の発明は、第1の制御対象機器を制御するための第1のコマンドを出力する制御部(1)と、前記第1の制御対象機器とリンクし、前記第1のコマンドをGPIBインターフェースで前記第1の制御対象機器へ送るためのGPIB機能部(5)と他の機能を実行する機能部とを含む複数の機能部(3、5、6)と、予め定められた優先順位にしたがって、実行すべき複数の前記機能部を検索するDLL実行部(2)と、を有し、検索により認識された機能部を実行させる、コンピュータを有する制御装置において、前記GPIB機能部と同一条件で前記DLL実行部により認識可能にされ、かつ前記GPIB機能部より高い前記優先順位に格納されて、前記第1のコマンドを前記第1の制御対象機器と異なる第2の制御対象機器を制御する第2のコマンドに翻訳するとともに、前記GPIB機能部へリンク可能な疑似GPIB機能部(4)とを備え、制御開始前に、前記DLL実行部が前記優先順位にしたがって、実行すべき複数の前記機能部を検索し、前記疑似GPIB機能部を認識したとき該検索を停止し、前記制御部と前記疑似GPIB機能部とをリンクさせることにより、前記疑似GPIB機能部は、前記第1のコマンドを翻訳した第2のコマンドを前記GPIB機能部を介して前記第2の制御対象機器へ送って制御する構成とした。   In order to achieve the above object, the invention described in claim 1 is directed to a control unit (1) that outputs a first command for controlling a first control target device, the first control target device, A plurality of function units (3, 5,...) Including a GPIB function unit (5) for linking and sending the first command to the first control target device via a GPIB interface and a function unit for executing other functions 6) and a DLL execution unit (2) for searching a plurality of the function units to be executed according to a predetermined priority order, and having a computer for executing the function units recognized by the search In the control device, the DLL execution unit is made recognizable under the same conditions as the GPIB function unit, and stored in the priority order higher than the GPIB function unit, and the first command is transmitted to the first control target device. And a pseudo-GPIB function unit (4) that can be linked to the GPIB function unit, and the DLL execution unit is configured so that the DLL execution unit A plurality of the function units to be executed are searched according to priority, the search is stopped when the pseudo-GPIB function unit is recognized, and the control unit and the pseudo-GPIB function unit are linked, thereby The GPIB function unit is configured to send and control the second command obtained by translating the first command to the second control target device via the GPIB function unit.

請求項2に記載の発明は、第1の制御対象機器を制御するための第1のコマンドを出力する制御部(1)と、前記第1の制御対象機器とリンクし、前記第1のコマンドをGPIBインターフェースで前記第1の制御対象機器へ送るためのGPIB機能部(5)と他の機能を実行する機能部とを含む複数の機能部(3、5、6)と、予め定められた優先順位にしたがって、実行すべき複数の前記機能部を検索するDLL実行部(2)と、を有し、検索により認識された機能部を実行させる、コンピュータを有する制御装置により、前記第1の制御対象機器と異なる第2の制御対象機器を第2のコマンドで制御する制御方法であって、前記GPIB機能部と同一条件で前記DLL実行部により認識可能にされ、前記第1コマンドを前記第2の制御対象機器を制御する第2のコマンドに翻訳する辞書を有し、前記GPIB機能部へリンク可能な疑似GPIB機能部(4)を準備する第1の設定段階と、前記疑似GPIB機能部を、前記制御装置に前記GPIB機能部より上位の前記優先順位に格納する第2の設定段階と、前記制御部による制御開始とともに、前記DLL実行部が前記優先順位にしたがって、実行すべき複数の前記機能部を検索することにより前記疑似GPIB機能部を認識したとき、前記GPIB機能部の検索を停止する検索段階と、前記DLL実行部が、前記制御部と前記疑似GPIB機能部とをリンクさせるとともに、前記疑似GPIB機能部が前記GPIB機能部とリンクするリンク段階と、リンクした前記疑似GPIB機能部が、前記制御部から前記第1のコマンドを受けたとき、前記辞書を参照して、前記第1のコマンドを前記の第2のコマンドに翻訳し、前記翻訳により得られた第2のコマンドを前記GPIBを介して前記第2の制御対象機器に送付することにより該第2の制御対象機器を制御させる制御段階と、を備えた。   The invention described in claim 2 is a control unit (1) that outputs a first command for controlling a first control target device; and the first command is linked to the first control target device. A plurality of function units (3, 5, 6) including a GPIB function unit (5) for transmitting a message to the first control target device via a GPIB interface and a function unit for executing other functions; A DLL execution unit (2) for searching a plurality of the function units to be executed according to the priority order, and executing the function unit recognized by the search by the control device having a computer. A control method for controlling a second control target device different from a control target device with a second command, wherein the DLL execution unit can recognize the first command under the same condition as the GPIB function unit, and Control of 2 A first setting step of preparing a pseudo GPIB function unit (4) having a dictionary that translates into a second command for controlling an elephant device and linkable to the GPIB function unit; and the pseudo GPIB function unit, A plurality of functional units to be executed by the DLL execution unit in accordance with the priority order together with a second setting stage for storing the priority order higher than the GPIB functional unit in the control device, and starting control by the control unit When the pseudo-GPIB function unit is recognized by searching for the search, the search step for stopping the search of the GPIB function unit, the DLL execution unit links the control unit and the pseudo-GPIB function unit, and A link stage in which the pseudo GPIB function unit links to the GPIB function unit, and the linked pseudo GPIB function unit receives the first frame from the control unit. The first command is translated into the second command with reference to the dictionary, and the second command obtained by the translation is converted into the second control via the GPIB. And a control step of controlling the second control target device by sending it to the target device.

請求項3に記載の発明は、請求項1に記載の発明において、前記疑似GPIB機能部は、前記第1のコマンドを前記第2のコマンドに翻訳するための辞書を複数有しており、前記第2の制御対象機器を特定する情報を前記GPIB機能部を介して該第2の制御対象機器に問い合わせるとともに、該第2の制御対象機器からの当該情報に基づいて前記辞書を特定する構成とした。   The invention according to claim 3 is the invention according to claim 1, wherein the pseudo GPIB function unit includes a plurality of dictionaries for translating the first command into the second command, A configuration for inquiring the second control target device via the GPIB function unit for information for specifying a second control target device, and for specifying the dictionary based on the information from the second control target device; did.

請求項4に記載の発明は、請求項2に記載の発明において、前記第1の設定段階で準備される前記疑似GPIB機能部は、前記辞書を複数有しており、さらに、
前記リンク段階でリンクされた前記疑似GPIB機能部は、前記第2の制御対象機器を特定する情報を前記GPIB機能部を介して該第2の制御対象機器に問い合わせるとともに、該第2の制御対象機器からの当該情報に基づいて前記辞書を特定する特定段階を含み、前記制御段階では、該特定段階で特定された前記辞書を基に翻訳する構成とした。
The invention according to claim 4 is the invention according to claim 2, wherein the pseudo-GPIB function unit prepared in the first setting stage includes a plurality of the dictionaries,
The pseudo-GPIB function unit linked in the link stage inquires of the second control target device via the GPIB function unit about information for specifying the second control target device, and the second control target A specific step of specifying the dictionary based on the information from the device is included, and the control step is configured to translate based on the dictionary specified in the specific step.

本発明によれば、DLL実行部の特徴的な機能動作を利用して、第1のコマンドを第2のコマンドに翻訳する機能を有していて、本来のGPIB機能部と同じ条件で認識できる疑似GPIB機能部を、本来のGPIB機能部より先に認識して制御部にリンクさせる構成としたので、制御部とGPIB機能部との間で翻訳をすることが容易な構成とすることができる。   According to the present invention, it has the function of translating the first command into the second command using the characteristic functional operation of the DLL execution unit, and can be recognized under the same conditions as the original GPIB function unit. Since the pseudo GPIB function unit is recognized and linked to the control unit prior to the original GPIB function unit, it can be configured to facilitate translation between the control unit and the GPIB function unit. .

本発明の制御装置に係る実施形態を、図を用いて説明する。図1は本発明の制御装置の実施形態の機能構成を示す図である。図2は、制御装置により第2の制御対象機器を制御するまでの動作の流れを説明するための図である。図3は、第2の制御対象機器から制御装置へのコマンドの流れを説明するための図である。図4は、従来の技術を示す図であるとともに、本発明に本実施形態で、第2の制御対象機器の代わりに第1の制御対象機器を制御していたときの機能を示す図である。   An embodiment according to a control device of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a functional configuration of an embodiment of a control device of the present invention. FIG. 2 is a diagram for explaining an operation flow until the second control target device is controlled by the control device. FIG. 3 is a diagram for explaining the flow of commands from the second control target device to the control device. FIG. 4 is a diagram showing a conventional technique, and is a diagram showing a function when the first control target device is controlled instead of the second control target device in the present embodiment of the present invention. .

図1の本実施形態は、図4の従来の形態を利用して、これまで第1の制御対象機器210を制御するのに用いていた第1のコマンドで、第1のコマンドとは異なる第2のコマンドで動作する新たな第2の制御対象機器200を制御しょうとするものである。第2の制御対象機器200は、第1の制御対象機器210とほぼ同一の機能をカバーし、外部から制御可能な機器である。いわば、第1の制御対象機器210をバージョンアップした機器、或いは同機能の他社メーカの機器が該当する。   This embodiment of FIG. 1 is a first command that has been used to control the first control target device 210 so far using the conventional form of FIG. 4, and is different from the first command. The second control target device 200 that operates with the command of 2 is to be controlled. The second control target device 200 is a device that covers almost the same function as the first control target device 210 and can be controlled from the outside. In other words, this corresponds to a device obtained by upgrading the first control target device 210 or a device of another manufacturer having the same function.

図1の構成と図4の構成とでは、図1において、疑似GPIB機能部4が、フォルダ優先順位情報2cにおいてGPIB機能部5が格納されるフォルダの順位k+jより高い順位kのフォルダ格納されていること、及び制御対象が第2のコマンドで動作する第2の制御対象機器であることが、図4と異なる。   In the configuration of FIG. 1 and the configuration of FIG. 4, in FIG. 1, the pseudo GPIB function unit 4 is stored in folders having a rank k higher than the rank k + j of folders in which the GPIB function unit 5 is stored in the folder priority order information 2c. 4 and that the control target is a second control target device that operates with the second command.

したがって、図1の制御部1は、図4の制御部1と同じであり、そのハード構成は図5に示すように制御用の第1の制御対象機器210をGPIBインターフェースを介して制御するための第1のコマンドで構成されるアプリケーションプログラム120とそれを実行するCPU110で構成されている。図1のDLL実行部2、GPIB機能部5も図4のものと機能が同一である。   Therefore, the control unit 1 in FIG. 1 is the same as the control unit 1 in FIG. 4, and its hardware configuration is for controlling the first control target device 210 for control via the GPIB interface as shown in FIG. 5. Application program 120 composed of the first command and a CPU 110 that executes the application program 120. The DLL execution unit 2 and the GPIB function unit 5 in FIG. 1 have the same functions as those in FIG.

図1で疑似GPIB機能部4は、次の(a)〜(g)のように機能し、動作する。
(a)疑似GPIB機能部4は、制御部1からの第1のコマンドを、第2の制御対象機器200を制御するための第2のコマンドに、又はその逆に第2のコマンドを第1のコマンドに、読み替えるための辞書を備え、翻訳する。第1のコマンドと第2のコマンドが異なるかどうか判断し、異なるもの同士を翻訳する。第1のコマンドと第2のコマンドとが同じものは辞書になくとも良い。この場合は、辞書にあるコマンドだけ翻訳し、辞書に無いものは翻訳しないでパスさせる。
In FIG. 1, the pseudo GPIB function unit 4 functions and operates as in the following (a) to (g).
(A) The pseudo GPIB function unit 4 uses the first command from the control unit 1 as the second command for controlling the second control target device 200, or vice versa. A command dictionary is provided for translation, and translated. It is determined whether the first command and the second command are different, and the different ones are translated. The first command and the second command may not be in the dictionary. In this case, only commands in the dictionary are translated, and those not in the dictionary are passed without being translated.

また、第2の制御対象機器200が複数種類あって、それに対応して第2のコマンドも複数在る場合は、その第2の制御対象機器の種類毎に辞書を用意し、例えば、メーカ名、形名、バージョン情報、機種名等(それらの1つ又は組み合わせ)の機器を特定する情報で、必要な辞書を選択して使用できるようにしておく。   In addition, when there are a plurality of types of second control target devices 200 and a plurality of second commands corresponding thereto, a dictionary is prepared for each type of the second control target device, for example, a manufacturer name Information specifying the device such as model name, version information, model name, etc. (one or a combination of them) is used so that a necessary dictionary can be selected and used.

(b)DLL実行部2の機能検索部2aがGPIB機能部5を検索する条件と同一条件で検索可能にされている。例えば、GPIB機能部5がその名称を条件として検索されるのであれば、疑似GPIB機能部4にも、GPIB機能部5と同一名称を付して、機能検索部2aにより検索可能にされている。例えば、GPIB機能部5はファイルで構成され、GPIB32.dllなる名称で検索されるのであれば、疑似GPIB機能部4も同じ名称、GPIB32.dllで検索可能にされている。 (B) The function search unit 2a of the DLL execution unit 2 is searchable under the same conditions as the conditions for searching for the GPIB function unit 5. For example, if the GPIB function unit 5 is searched using the name as a condition, the pseudo-GPIB function unit 4 is also given the same name as the GPIB function unit 5 and can be searched by the function search unit 2a. . For example, the GPIB function unit 5 is composed of a file and GPIB 32. If the search is performed using the name dll, the pseudo GPIB function unit 4 also has the same name, GPIB32. It is made searchable with dll.

(c)疑似GPIB機能部4は、機能検索部2aがフォルダ群7の各フォルダを検索する優先順位は、GPIB機能部5より、高い位置に配置される。ここで、フォルダ(ディレクトリ)とは、いわば、ソフトウェアのファイルが格納される場所を書庫のように管理している。 (C) The pseudo-GPIB function unit 4 is arranged at a higher position than the GPIB function unit 5 in the priority order in which the function search unit 2 a searches each folder in the folder group 7. Here, the folder (directory) manages the place where the software file is stored like a library.

一般に、コンピュータで構成される制御装置100は、DLL実行部2による検索の優先順位は次のようにされている。高い順に記す。
・ アプリケーションソフトウェアがロードされるディレクトリ(フォルダ)
・ カレントディレクトリ(フォルダ)
・ Windows(登録商標)のシステムディレクトリ(フォルダ)
例えば、GPIBのドライバをインストールするとGPIB32.dllは、Windows(登録商標)のシステムディレクトリにコピーされる。
Generally, in the control device 100 configured by a computer, the priority of search by the DLL execution unit 2 is as follows. Write in descending order.
-Directory (folder) where application software is loaded
・ Current directory (folder)
-Windows (registered trademark) system directory (folder)
For example, when the GPIB driver is installed, GPIB32. dll is copied to the Windows (registered trademark) system directory.

そこで、例えば、GPIB機能部5が、Windows(登録商標)のシステムディレクトリ
に格納され、その名称が、GPIB32.dllなる名称(以下では、この名称で説明する。)で検索されるのであれば、疑似GPIB機能部4も同じ名称、GPIB32.dllで、上記のカレントディレクトリ、或いはアプリケーションソフトウェアがロードされるディレクトリにロード可能に組み込む(事前に格納する)ことで、GPIB機能部5より、高い優先順位に配置することができる。
Therefore, for example, the GPIB function unit 5 is stored in the Windows (registered trademark) system directory, and its name is GPIB32. If the search is performed using the name “dll” (hereinafter described as this name), the pseudo GPIB function unit 4 also has the same name, GPIB32. It is possible to arrange with higher priority than the GPIB function unit 5 by loading it into the current directory or the directory where the application software is loaded (stored in advance) with dll.

(d)疑似GPIB機能部4は、制御部1からの指示で機能検索部2aが優先順位にしたがってGPIB32.dllの検索を開始し、最初に疑似GPIB機能部4が検索条件と一致すると認識したとき、リンク部2bにより、制御部1と疑似GPIB機能部4とがリンク付けされる(図1の細かい点線)。 (D) In the pseudo GPIB function unit 4, the function search unit 2 a is instructed by GPIB 32. When the search of dll is started and the pseudo GPIB function unit 4 first recognizes that the search condition matches, the link unit 2b links the control unit 1 and the pseudo GPIB function unit 4 (the fine dotted line in FIG. 1). ).

(e)疑似GPIB機能部4は、自己より下位の優先順位にある機能部を検索して、GPIB32.dllを探す。そして探し当てたGPIB32.dll、つまりGPIB機能部5と自己とをリンク付けする。疑似GPIB機能部4は、GPIB機能部5の検索、それとのリンク付けをDLL実行部2に行わせても良い。つまり、疑似GPIB機能部4は、制御部1にリンク付けされた後に、機能検索部2aに自己より下位の優先順位に機能部を検索させて、GPIB機能部5を見つけさせ、見つけたところで、リンク部2bに自己とGPIB機能部5とをリンク付けさせる(図1の細かい点線)。 (E) The pseudo GPIB function unit 4 searches for a function unit having a lower priority order than the self GPIB 32. Search for dll. And found GPIB32. dll, that is, the GPIB function unit 5 and the self are linked. The pseudo GPIB function unit 4 may cause the DLL execution unit 2 to search for the GPIB function unit 5 and link with the GPIB function unit 5. That is, the pseudo GPIB function unit 4 causes the function search unit 2a to search for a function unit in a lower priority order than the self after searching the GPIB function unit 5 after being linked to the control unit 1. The link unit 2b is linked to itself and the GPIB function unit 5 (fine dotted lines in FIG. 1).

(f)上記(a)に記載したように第2の制御対象機器200が複数種類あって、それに対応して第2のコマンドも複数在る場合は、上記(e)のリンク付け後に、疑似GPIB機能部4は、GPIB機能部5を介して、第2の制御対象機器200に対して、形名或いは機種名等の特定する情報を問い合わせして、聞き出したその第2の制御対象機器200の第2のコマンドと第1のコマンドに係る辞書を特定して利用可能にする。 (F) As described in (a) above, when there are a plurality of types of second control target devices 200 and there are a plurality of second commands corresponding thereto, the pseudo control is performed after linking in (e) above. The GPIB function unit 4 inquires of the second control target device 200 via the GPIB function unit 5 about information to be specified such as a model name or a model name, and finds out the second control target device 200 that has been heard. The dictionary relating to the second command and the first command is specified and made available.

具体的には、疑似GPIB機能部4は、GPIB機能部5から第2の制御対象機器200に対して、GPIBコマンド「*IDN?」を送信させる。ここで、GPIBコマンド「*IDN?」は、Identification Queryと呼ばれるGPIBコマンドであり、接続されている機器のメーカ名、形名、バージョン番号を問い合わせるものである。第2の制御対象機器は、コマンド「*IDN?」を受信すると、4つのフィールドをコンマで区切って構成したレスポンスメッセージを制御装置101へ向けて送信する。例えば、第2の制御対象機器の製造メーカ=ANRITSU、形名=MX999A、バージョン番号=1.0である場合、レスポンスメッセージ「ANRITSU,MX999A,0,1.0」となる。なお、コンマで区切られた3つ目のフィールドは、メッセージッフォーマットの規定上、常に0(ゼロ)となっている。疑似GPIB機能部は、GPIB機能部5を介してこのようなレスポンスメッセージの情報を基に自己の内部の辞書を特定する。   Specifically, the pseudo GPIB function unit 4 causes the GPIB function unit 5 to transmit the GPIB command “* IDN?” To the second control target device 200. Here, the GPIB command “* IDN?” Is a GPIB command called Identification Query, and inquires about the manufacturer name, model name, and version number of the connected device. When the second control target device receives the command “* IDN?”, The second control target device transmits a response message composed of four fields separated by commas to the control device 101. For example, when the manufacturer of the second control target device = ANRITSU, the model name = MX999A, and the version number = 1.0, the response message “ANRITSU, MX999A, 0, 1.0” is displayed. Note that the third field separated by a comma is always 0 (zero) according to the message format. The pseudo GPIB function unit specifies its own internal dictionary based on the information of such a response message via the GPIB function unit 5.

このように、GPIBで標準的なコマンドであるIdentification Queryコマンドを利用することにより、第2の制御対象機器200の、メーカや形名が異なる場合に辞書を特定でき、さらに、同一メーカ、同一形名で機器のバージョンのみが異なる場合でも辞書を特定できる。   In this way, by using the Identification Query command that is a standard command in GPIB, a dictionary can be specified when the manufacturer and model name of the second controlled device 200 are different, and the same manufacturer and the same model You can specify a dictionary even if only the device version differs by name.

(g)疑似GPIB機能部4は、制御部1からの第1のコマンドを受け、第1のコマンドに対する第2のコマンドが辞書(上記(f)で特定された辞書)にあれば、その第2のコマンドを読み出して(つまり、翻訳)GPIB機能部5を通して第2の制御対象機器200へ送って第1のコマンドの内容にしたがった制御を行う。一方、GPIB機能部5を通して第2の制御対象機器200から第2のコマンドを受けたときは、その第2のコマンドに対する第1のコマンドが辞書にあれば、その第1のコマンドを読み出して(つまり、翻訳)制御部1へ送る。 (G) The pseudo GPIB function unit 4 receives the first command from the control unit 1, and if the second command corresponding to the first command is in the dictionary (the dictionary specified in (f) above), the first command The second command is read (that is, translated) and sent to the second controlled device 200 through the GPIB function unit 5 to perform control according to the content of the first command. On the other hand, when the second command is received from the second control target device 200 through the GPIB function unit 5, if the first command corresponding to the second command is in the dictionary, the first command is read ( That is, it is sent to the translation control unit 1.

図2、図3は、本実施形態の一連の動作を説明するための図である。この図2、図3にしたがって動作の流れを説明する。一部は上記説明と重なることがある。   2 and 3 are diagrams for explaining a series of operations of the present embodiment. The flow of operation will be described with reference to FIGS. Some may overlap with the above description.

S00:準備1(従来の制御装置を準備する段階)
図4に示すような既存の制御装置100を準備する。従来技術の説明と区別するため、ここでは制御装置101と言う。つまり第1の制御対象機器210をGPIBインタフェースを介して制御するための第1のコマンドで構成されるアプリケーションプログラム120と、それを実行するCPU110で構成されている制御部1と、DLL実行部2と、GPIB機能部5とを備えた制御装置101を用意する。GPIB機能部5は、予め図4の制御装置101のWindows(登録商標)のシステムディレクトリに格納されているものとする。
S00: Preparation 1 (stage of preparing a conventional control device)
An existing control device 100 as shown in FIG. 4 is prepared. In order to distinguish it from the description of the prior art, here it is referred to as the control device 101. That is, the control unit 1 including the application program 120 including the first command for controlling the first control target device 210 via the GPIB interface, the CPU 110 executing the application program, and the DLL execution unit 2. And a control device 101 including the GPIB function unit 5 are prepared. The GPIB function unit 5 is assumed to be stored in advance in the Windows (registered trademark) system directory of the control apparatus 101 in FIG. 4.

S01:準備2(第1,第2の設定段階)
上記(a)〜(g)の機能動作する疑似GPIB機能部4を用意し(第1の設定段階)、図4の制御装置101のカレントディレクトリ(DLL実行部2による検索の優先順位が高い位置)に格納する(第2の設定段階)。そして、所望の第2の制御対象機器200を接続する。ここで、図1の制御装置101が構成される。
S01: Preparation 2 (first and second setting stages)
The pseudo GPIB function unit 4 that performs the functions (a) to (g) is prepared (first setting stage), and the current directory of the control device 101 in FIG. ) (Second setting stage). Then, the desired second control target device 200 is connected. Here, the control apparatus 101 of FIG. 1 is comprised.

S02:制御開始段階
図1で、制御部1は、制御を開始し(CPU110がアプリケーションプログラム120を実行開始する。)、GPIB32.dllの使用を指定する。
S02: Control start stage In FIG. 1, the control unit 1 starts control (the CPU 110 starts executing the application program 120), and GPIB32. Specifies the use of dll.

S03:検索段階
機能検索部2aが、フォルダ群7内の各フォルダ(各ディレクトリ)をフォルダ優先順位情報2cにしたがって(例えば、アプリケーションソフトウェアがロードされるディレクトリ、カレントディレクトリ、Windows(登録商標)のシステムディレクトリの順に))、各機能部を検索し、GPIB32.dllを探す。
S03: Search stage The function search unit 2a assigns each folder (each directory) in the folder group 7 according to the folder priority order information 2c (for example, a directory in which application software is loaded, a current directory, a Windows (registered trademark) system). In the order of the directory))), each functional unit is searched and GPIB32. Search for dll.

S04:リンク段階(1)
機能検索部2aがカレントディレクトリにGPIB32.dllを認識し、つまり、格納されている疑似GPIB機能部4を認識する。そして、機能検索部2aは、疑似GPIB機能部4を認識した時点で検索を停止する。そして、リンク部2bが制御部1と認識された疑似GPIB機能部4とをリンク付けさせる。
S04: Link stage (1)
The function search unit 2a sets GPIB32. dll is recognized, that is, the stored pseudo GPIB function unit 4 is recognized. Then, the function search unit 2a stops the search when the pseudo GPIB function unit 4 is recognized. Then, the link unit 2 b links the pseudo GPIB function unit 4 recognized as the control unit 1.

S05:リンク段階(2)
疑似GPIB機能部4は、自己より下位の優先順位にある機能部を検索して、GPIB32.dllを探す。そしてWindows(登録商標)のシステムディレクトリで探し当てたGPIB32.dll、つまりGPIB機能部5と自己とをリンク付けする。
S05: Link stage (2)
The pseudo GPIB function unit 4 searches for a function unit having a lower priority order than the self GPIB 32. Search for dll. And the GPIB 32. found in the system directory of Windows (registered trademark). dll, that is, the GPIB function unit 5 and the self are linked.

S06:制御対象機器確認段階
疑似GPIB機能部4は、リンクされたGPIB機能部5を介して、第2の制御対象機器200に対して、この第2の制御対象機器200を特定する情報(メーカ名、形名、バージョン情報、機種名等)を問い合わせして、聞き出した情報を記憶し、その情報の第2の制御対象機器200の第2のコマンドと第1のコマンドに係る辞書を特定して利用可能にする。
S06: Control target device confirmation stage The pseudo GPIB function unit 4 uses the linked GPIB function unit 5 to identify the second control target device 200 with respect to the second control target device 200 (manufacturer). Name, model name, version information, model name, etc.), the retrieved information is stored, and the second command of the second control target device 200 of the information and the dictionary relating to the first command are specified. And make it available.

S07(Yes)、S08及びS09:制御段階(1)
疑似GPIB機能部4は、制御部1からの第1のコマンドを受け、第1のコマンドに対する第2のコマンドが辞書(上記S06で特定された辞書)にあれば、その第2のコマンドを読み出して(翻訳)GPIB機能部5を通して第2の制御対象機器200へ送って第1のコマンドの内容にしたがった制御を行う。
S07 (Yes), S08 and S09: Control stage (1)
The pseudo GPIB function unit 4 receives the first command from the control unit 1, and if the second command corresponding to the first command is in the dictionary (the dictionary specified in S06 above), reads the second command. (Translation) control is performed according to the content of the first command sent to the second control target device 200 through the GPIB function unit 5.

S07(No)、及びS09:制御段階(2)
疑似GPIB機能部4は、制御部1からの第1のコマンドを受け、第1のコマンドに対する第2のコマンドが辞書(上記S06で特定された辞書)に無い場合は、第1のコマンド=第2のコマンドなので、そのまま第1のコマンドを第2のコマンドとして、GPIB機能部5を通して第2の制御対象機器200へ送って第1のコマンドの内容にしたがった制御を行う。
S07 (No) and S09: Control stage (2)
The pseudo GPIB function unit 4 receives the first command from the control unit 1, and if there is no second command for the first command in the dictionary (the dictionary specified in S06 above), the first command = the first command Therefore, the first command is sent as the second command to the second control target device 200 through the GPIB function unit 5 and the control according to the content of the first command is performed.

S10(Yes)、S11及びS12:制御段階(3)
疑似GPIB機能部4は、GPIB機能部5を通して第2の制御対象機器200からの第2のコマンドを受け、第2のコマンドに対する第1のコマンドが辞書(上記S06で特定された辞書)にあれば、その第1のコマンドを読み出して(翻訳)制御部1へ送る。例えば、第2の制御対象機器200が測定器の場合は、制御部1で制御して所望の条件で測定して測定データ記憶部200aに記憶させ、その記憶させた測定データを測定器から受領する。この場合、測定器から測定データを送るコマンドが第2の制御対象機器200からの第2のコマンドに相当する。
S10 (Yes), S11 and S12: Control stage (3)
The pseudo GPIB function unit 4 receives the second command from the second control target device 200 through the GPIB function unit 5, and the first command corresponding to the second command is in the dictionary (the dictionary specified in S06 above). If so, the first command is read and sent to the (translation) control unit 1. For example, when the second control target device 200 is a measuring instrument, it is controlled by the control unit 1 and measured under desired conditions, stored in the measurement data storage unit 200a, and the stored measurement data is received from the measuring instrument. To do. In this case, the command for sending measurement data from the measuring instrument corresponds to the second command from the second control target device 200.

S10(No)、及びS12:制御段階(4)
疑似GPIB機能部4は、第2の制御対象機器200からの第2のコマンドを受け、第2のコマンドに対する第1のコマンドが辞書(上記S06で特定された辞書)に無い場合は、第1のコマンド=第2のコマンドなので、そのまま第2のコマンドを第1のコマンドとして、制御部1へ送る。第2の制御対象機器200からの第2のコマンドが上記のように測定データを送るコマンドであれば、制御部1はその測定データを受けて、測定データを加工して、或いはそのまま表示部へ表示させる。
S10 (No) and S12: Control stage (4)
The pseudo GPIB function unit 4 receives the second command from the second device 200 to be controlled, and if the first command for the second command is not in the dictionary (the dictionary specified in S06 above), the first Therefore, the second command is sent as it is to the control unit 1 as the first command. If the second command from the second control target device 200 is a command for sending measurement data as described above, the control unit 1 receives the measurement data, processes the measurement data, or continues to the display unit. Display.

上記の構成により、既存の制御装置100に、翻訳機能を有する疑似GPIB機能部4を、DLL実行部2が本来のインタフェース機能を実行するGPIB機能部より、先に検索して見つかるように構成することで、制御部1とGPIB機能部5との間で翻訳機能を実行することができるので、異なるコマンドの制御対象機器であっても、容易な構成で制御できる。   With the configuration described above, the existing control device 100 is configured such that the pseudo GPIB function unit 4 having a translation function is searched and found before the GPIB function unit in which the DLL execution unit 2 executes the original interface function. Thus, since the translation function can be executed between the control unit 1 and the GPIB function unit 5, it is possible to control with a simple configuration even if the devices are controlled by different commands.

本発明の制御装置の実施形態の機能構成を示す図である。It is a figure which shows the function structure of embodiment of the control apparatus of this invention. 制御装置により第2の制御対象機器を制御するまでの動作の流れを説明するための図である。It is a figure for demonstrating the flow of operation | movement until it controls a 2nd control object apparatus by a control apparatus. 第2の制御対象機器から制御装置へのコマンドの流れを説明するための図である。It is a figure for demonstrating the flow of the command from a 2nd control object apparatus to a control apparatus. 従来の技術を示す図であるとともに、本発明に本実施形態で、第2の制御対象機器の代わりに第1の制御対象機器を制御していたときの機能を示す図である。It is a figure which shows a prior art, and is a figure which shows a function when the 1st control object apparatus is controlled instead of the 2nd control object apparatus by this embodiment in this invention. 従来の技術を示す図であるとともに、制御装置の構成・動作を説明するための図である。It is a figure which shows the prior art, and is a figure for demonstrating the structure and operation | movement of a control apparatus.

符号の説明Explanation of symbols

1 制御部、 2 DLL実行部、2a 機能検索部、2b リンク部、
2c フォルダ優先順位情報、3 第1の機能部、4 疑似GPIB機能部、
5 GPIB機能部、 6 第nの機能部、7 フォルダ群
100、101 制御装置、110 CPU(OS)、
120 アプリケーションプログラム、130 DLL、140 機能部品
200 第2の制御対象機器、200a 測定データ記憶部、
210 第1の制御対象機器
1 control unit, 2 DLL execution unit, 2a function search unit, 2b link unit,
2c folder priority order information, 3 first function section, 4 pseudo GPIB function section,
5 GPIB function unit, 6 nth function unit, 7 folder group 100, 101 control device, 110 CPU (OS),
120 application program, 130 DLL, 140 functional component 200 second control target device, 200a measurement data storage unit,
210 1st control object apparatus

Claims (4)

第1の制御対象機器を制御するための第1のコマンドを出力する制御部(1)と、前記第1の制御対象機器とリンクし、前記第1のコマンドをGPIBインターフェースで前記第1の制御対象機器へ送るためのGPIB機能部(5)と他の機能を実行する機能部とを含む複数の機能部(3、5、6)と、予め定められた優先順位にしたがって、実行すべき複数の前記機能部を検索するDLL実行部(2)と、を有し、検索により認識された機能部を実行させる、コンピュータを有する制御装置において、
前記GPIB機能部と同一条件で前記DLL実行部により認識可能にされ、かつ前記GPIB機能部より高い前記優先順位に格納されて、前記第1のコマンドを前記第1の制御対象機器と異なる第2の制御対象機器を制御する第2のコマンドに翻訳するとともに、前記GPIB機能部へリンク可能な疑似GPIB機能部(4)とを備え、
制御開始前に、前記DLL実行部が前記優先順位にしたがって、実行すべき複数の前記機能部を検索し、前記疑似GPIB機能部を認識したとき該検索を停止し、前記制御部と前記疑似GPIB機能部とをリンクさせることにより、前記疑似GPIB機能部は、前記第1のコマンドを翻訳した第2のコマンドを前記GPIB機能部を介して前記第2の制御対象機器へ送って制御することを特徴とする制御装置。
A control unit (1) that outputs a first command for controlling a first control target device and the first control target device are linked to each other, and the first command is linked to the first control by a GPIB interface. A plurality of function units (3, 5, 6) including a GPIB function unit (5) for sending to the target device and a function unit for executing other functions, and a plurality of units to be executed according to a predetermined priority order. And a DLL execution unit (2) for searching for the functional unit, and executing the functional unit recognized by the search.
The second command is made recognizable by the DLL execution unit under the same conditions as the GPIB function unit and stored in the priority order higher than the GPIB function unit, and the first command is different from the first control target device. A pseudo-GPIB function unit (4) that can be translated into a second command for controlling the control target device and can be linked to the GPIB function unit,
Before starting the control, the DLL execution unit searches for the plurality of function units to be executed in accordance with the priority, and stops the search when the pseudo GPIB function unit is recognized, and the control unit and the pseudo GPIB By linking the function unit, the pseudo GPIB function unit sends a second command obtained by translating the first command to the second control target device via the GPIB function unit and controls the second command. Control device characterized.
第1の制御対象機器を制御するための第1のコマンドを出力する制御部(1)と、前記第1の制御対象機器とリンクし、前記第1のコマンドをGPIBインターフェースで前記第1の制御対象機器へ送るためのGPIB機能部(5)と他の機能を実行する機能部とを含む複数の機能部(3、5、6)と、予め定められた優先順位にしたがって、実行すべき複数の前記機能部を検索するDLL実行部(2)と、を有し、検索により認識された機能部を実行させる、コンピュータを有する制御装置により、前記第1の制御対象機器と異なる第2の制御対象機器を第2のコマンドで制御する制御方法であって、
前記GPIB機能部と同一条件で前記DLL実行部により認識可能にされ、前記第1コマンドを前記第2の制御対象機器を制御する第2のコマンドに翻訳する辞書を有し、前記GPIB機能部へリンク可能な疑似GPIB機能部(4)を準備する第1の設定段階と、
前記疑似GPIB機能部を、前記制御装置に前記GPIB機能部より上位の前記優先順位に格納する第2の設定段階と、
前記制御部による制御開始とともに、前記DLL実行部が前記優先順位にしたがって、実行すべき複数の前記機能部を検索することにより前記疑似GPIB機能部を認識したとき、前記GPIB機能部の検索を停止する検索段階と、
前記DLL実行部が、前記制御部と前記疑似GPIB機能部とをリンクさせるとともに、前記疑似GPIB機能部が前記GPIB機能部とリンクするリンク段階と、
リンクした前記疑似GPIB機能部が、前記制御部から前記第1のコマンドを受けたとき、前記辞書を参照して、前記第1のコマンドを前記の第2のコマンドに翻訳し、前記翻訳により得られた第2のコマンドを前記GPIBを介して前記第2の制御対象機器に送付することにより該第2の制御対象機器を制御させる制御段階と、を備えたことを特徴とする制御方法。
A control unit (1) that outputs a first command for controlling a first control target device and the first control target device are linked to each other, and the first command is linked to the first control by a GPIB interface. A plurality of function units (3, 5, 6) including a GPIB function unit (5) for sending to the target device and a function unit for executing other functions, and a plurality of units to be executed according to a predetermined priority order. And a DLL execution unit (2) for searching for the functional unit of the second control unit, and a second control different from the first control target device by a control device having a computer for executing the functional unit recognized by the search A control method for controlling a target device with a second command,
The DLL execution unit has a dictionary that can be recognized by the DLL execution unit under the same conditions as the GPIB function unit, and translates the first command into a second command for controlling the second control target device, to the GPIB function unit A first setting stage for preparing a linkable pseudo GPIB function part (4);
A second setting stage for storing the pseudo GPIB function unit in the priority order higher than the GPIB function unit in the control device;
When the control by the control unit is started, the DLL execution unit stops searching for the GPIB function unit when it recognizes the pseudo GPIB function unit by searching for the plurality of function units to be executed according to the priority. Search phase to
A link stage in which the DLL execution unit links the control unit and the pseudo GPIB function unit, and the pseudo GPIB function unit links with the GPIB function unit;
When the linked pseudo GPIB function unit receives the first command from the control unit, the linked pseudo GPIB function unit translates the first command into the second command with reference to the dictionary, and obtains the first command. A control step of controlling the second control target device by sending the second command to the second control target device via the GPIB.
前記疑似GPIB機能部は、前記第1のコマンドを前記第2のコマンドに翻訳するための辞書を複数有しており、前記第2の制御対象機器を特定する情報を前記GPIB機能部を介して該第2の制御対象機器に問い合わせるとともに、該第2の制御対象機器からの当該情報に基づいて前記辞書を特定することを特徴とする請求項1に記載の制御装置。   The pseudo-GPIB function unit includes a plurality of dictionaries for translating the first command into the second command, and information specifying the second control target device is transmitted via the GPIB function unit. The control device according to claim 1, wherein the second control target device is inquired and the dictionary is specified based on the information from the second control target device. 前記第1の設定段階で準備される前記疑似GPIB機能部は、前記辞書を複数有しており、さらに、
前記リンク段階でリンクされた前記疑似GPIB機能部は、前記第2の制御対象機器を特定する情報を前記GPIB機能部を介して該第2の制御対象機器に問い合わせるとともに、該第2の制御対象機器からの当該情報に基づいて前記辞書を特定する特定段階を含み、
前記制御段階では、該特定段階で特定された前記辞書を基に翻訳することを特徴とする請求項2に記載の制御装置。
The pseudo GPIB function unit prepared in the first setting stage includes a plurality of the dictionaries, and
The pseudo-GPIB function unit linked in the link stage inquires of the second control target device via the GPIB function unit about information for specifying the second control target device, and the second control target Including a specific step of identifying the dictionary based on the information from the device;
3. The control apparatus according to claim 2, wherein in the control step, translation is performed based on the dictionary specified in the specifying step.
JP2008224029A 2008-09-01 2008-09-01 Control apparatus and control method Active JP5069645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008224029A JP5069645B2 (en) 2008-09-01 2008-09-01 Control apparatus and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008224029A JP5069645B2 (en) 2008-09-01 2008-09-01 Control apparatus and control method

Publications (2)

Publication Number Publication Date
JP2010061235A true JP2010061235A (en) 2010-03-18
JP5069645B2 JP5069645B2 (en) 2012-11-07

Family

ID=42187986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008224029A Active JP5069645B2 (en) 2008-09-01 2008-09-01 Control apparatus and control method

Country Status (1)

Country Link
JP (1) JP5069645B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335125A (en) * 1989-06-30 1991-02-15 Anritsu Corp Measuring instrument
JPH0593634A (en) * 1991-10-01 1993-04-16 Nec Corp Command converter
JP2002312299A (en) * 2001-04-11 2002-10-25 Ando Electric Co Ltd Compatible software module for remote operation bus
JP2005317115A (en) * 2004-04-28 2005-11-10 Sony Corp Information processor, information processing method, and program
JP2007272763A (en) * 2006-03-31 2007-10-18 Canon Inc Module installation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335125A (en) * 1989-06-30 1991-02-15 Anritsu Corp Measuring instrument
JPH0593634A (en) * 1991-10-01 1993-04-16 Nec Corp Command converter
JP2002312299A (en) * 2001-04-11 2002-10-25 Ando Electric Co Ltd Compatible software module for remote operation bus
JP2005317115A (en) * 2004-04-28 2005-11-10 Sony Corp Information processor, information processing method, and program
JP2007272763A (en) * 2006-03-31 2007-10-18 Canon Inc Module installation method and device

Also Published As

Publication number Publication date
JP5069645B2 (en) 2012-11-07

Similar Documents

Publication Publication Date Title
US8464242B2 (en) Virtualization of configuration settings
US8848217B2 (en) Computer program product, information processing apparatus, printer, and system
EP2210183B1 (en) Managing updates to create a virtual machine facsimile
EP3471389A2 (en) Program
US7168003B2 (en) Method and apparatus for automating printer and printer driver diagnostics and repair
US8640092B2 (en) Compatibility evaluation apparatus, compatibility evaluation method, and recording medium
US20050240627A1 (en) Image server store system and method using combined image views
US20070216944A1 (en) Information processing apparatus and print setting reflection method pertaining to an information processing apparatus
US8627343B2 (en) Information processing apparatus and data output managing system
US7831981B1 (en) External device support for device abstraction layer
KR20040086757A (en) Peripheral device driver maintenance scheme for networked peripheral device clients
CN101551754A (en) Dynamic insertion and removal of virtual software sub-layers
US20100174833A1 (en) Method and Apparatus for Identifying a Device Handle in a Computer System
US10089102B2 (en) Information processing apparatus, method, and program
US10394756B2 (en) System and method for customizing archive of a device driver generator tool for a user
US20070234328A1 (en) File handling for test environments
CN103309751A (en) Apparatus and method of terminal for providing file system function
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
JP2010262448A (en) Information processing apparatus, installation method of printer driver, and program
US20060167868A1 (en) Universal and extensible packaging process for computer system software integration and deployment
US20060212848A1 (en) Apparatus for managing configuration of application software
JP5069645B2 (en) Control apparatus and control method
US8739146B2 (en) Systems and methods for generating and distributing executable procedures for technical desk-side support
US9519470B2 (en) Information processing system, information processing apparatus, device, software installation method, and storage medium for executing software installation
US7073096B2 (en) File path resolving debugger

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110203

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120725

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120731

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: 20120817

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150824

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5069645

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250