JPH052445A - Keyboard simulator - Google Patents

Keyboard simulator

Info

Publication number
JPH052445A
JPH052445A JP3150234A JP15023491A JPH052445A JP H052445 A JPH052445 A JP H052445A JP 3150234 A JP3150234 A JP 3150234A JP 15023491 A JP15023491 A JP 15023491A JP H052445 A JPH052445 A JP H052445A
Authority
JP
Japan
Prior art keywords
key input
key
key code
keyboard
data
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
JP3150234A
Other languages
Japanese (ja)
Other versions
JP2653276B2 (en
Inventor
Atsushi Mase
篤 間瀬
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3150234A priority Critical patent/JP2653276B2/en
Publication of JPH052445A publication Critical patent/JPH052445A/en
Application granted granted Critical
Publication of JP2653276B2 publication Critical patent/JP2653276B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To evaluate the functions of all target machines except a keyboard by attaining the automatic key input operations. CONSTITUTION:A host machine 1 transmits the key input data to a target machine 2 which contains a keyboard 17 which inputs the key codes, a CPU 11 which carries out the processing programmed previously based on the key input contents received from the keyboard 17, and a display device 16 which shows the contents carried out by the CPU 11. Then the key input contents received from the keyboard 17 are simulated. Furthermore the key input data are written into an auxiliary storage means 15 by the machine 1 in the easy- to-see character codes 93.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、情報処理装置(ター
ゲットマシン)のキー入力を他の情報処理装置(ホスト
マシン)からキー入力データを送信することによって、
キー入力データのシュミレートを可能とするキーボード
シュミレータに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention provides a key input of an information processing device (target machine) by transmitting key input data from another information processing device (host machine).
The present invention relates to a keyboard simulator capable of simulating key input data.

【0002】[0002]

【従来の技術】図10は、従来におけるキー入力装置の
外観構成図であり、図において、2は情報処理装置、3
は情報処理装置2を操作するオペレータである。
2. Description of the Related Art FIG. 10 is an external view of a conventional key input device, in which 2 is an information processing device and 3 is an information processing device.
Is an operator who operates the information processing apparatus 2.

【0003】図11は、上記情報処理装置2の構成を示
すブロック図であり、図において、11はCPU、12
は表示手段、13はキーコード取込手段、14は記憶手
段、15は補助記憶手段、16は表示装置、17はキー
ボードである。
FIG. 11 is a block diagram showing the configuration of the information processing apparatus 2, in which 11 is a CPU and 12 is a block diagram.
Is a display means, 13 is a key code fetching means, 14 is a storage means, 15 is an auxiliary storage means, 16 is a display device, and 17 is a keyboard.

【0004】次に動作について説明する。情報処理装置
2において、補助記憶手段15に記憶されたアプリケー
ションプログラムを実行させる場合、オペレータ3はキ
ーボード17を用いてキー入力を実行し、キーコード取
込手段13を介してCPU11により、補助記憶手段1
5に記憶されたアプリケーションプログラムを記憶手段
14に読み出し、キー入力データに対応した演算処理或
いは(及び)表示手段12を介して表示装置16に対す
る表示を実行する。
Next, the operation will be described. When the application program stored in the auxiliary storage unit 15 is executed in the information processing apparatus 2, the operator 3 performs key input using the keyboard 17, and the CPU 11 via the key code fetching unit 13 causes the auxiliary storage unit. 1
The application program stored in No. 5 is read into the storage unit 14, and the arithmetic processing corresponding to the key input data or / and the display on the display device 16 via the display unit 12 is executed.

【0005】[0005]

【発明が解決しようとする課題】従来のキー入力処理
は、以上のように構成されているので、アプリケーショ
ンプログラムの評価試験、或いは異常処理の再現試験で
は、毎回オペレータがキーボードより指示を入力しなけ
ればならず、長時間にわたる連続的な評価試験には限界
があった。また、アプリケーションプログラムにおける
一部分の変更に伴う全体の機能評価試験にあっては、毎
回、同様なキー入力処理を必要とし作業時間が無駄にな
る等の問題点があった。
Since the conventional key input processing is configured as described above, the operator must input an instruction from the keyboard every time in the evaluation test of the application program or the reproduction test of the abnormal processing. Therefore, there is a limit to the continuous evaluation test for a long time. Further, in the entire function evaluation test accompanying a partial change in the application program, there is a problem that the same key input processing is required every time and the working time is wasted.

【0006】この発明は、上記のような課題を解決する
ためになされたもので、キー入力の自動化及びターゲッ
ト情報処理装置上のソフトウェア構成、メモリ配置を何
ら変化せずにキーコードデータを入力できるため、キー
ボードを除くターゲットマシンの全ての部分に対して試
験を行うことができるキーボードシュミレータを得るこ
とを第1の目的とする。
The present invention has been made in order to solve the above problems, and it is possible to input key code data without changing the automation of key input and the software configuration and memory arrangement on the target information processing apparatus. Therefore, it is a first object to obtain a keyboard simulator capable of performing a test on all parts of the target machine except the keyboard.

【0007】また、キーボードから入力されたキーコー
ドデータの編集を容易にするキーボードシュミレータを
得ることを第2の目的とする。
A second object is to obtain a keyboard simulator that facilitates editing of key code data input from the keyboard.

【0008】[0008]

【課題を解決するための手段】この発明に係るキーボー
ドシュミレータは、 キーコードを入力するキー入力手
段と、前記キー入力手段からのキー入力内容に基づいて
予めプログラミングされた処理を実行する制御手段と、
前記制御手段により実行された内容を表示する表示手段
とを有する情報処理装置(ターゲットマシン)に対し、
他の情報処理装置(ホストマシン)からキー入力データ
を送信することにより、前記キー入力手段からのキー入
力内容をシュミレートするようにしたものである。
A keyboard simulator according to the present invention comprises a key input means for inputting a key code, and a control means for executing a pre-programmed process based on the key input contents from the key input means. ,
For an information processing device (target machine) having a display unit for displaying the contents executed by the control unit,
By transmitting key input data from another information processing apparatus (host machine), the contents of key input from the key input means are simulated.

【0009】また、情報処理装置(ホストマシン)がキ
ー入力データを補助記憶手段に書き込む際、前記キー入
力データを目で見てわかりやすいキャラクタコードによ
りファイルに書き込むようにしたものである。
Further, when the information processing device (host machine) writes the key input data in the auxiliary storage means, the key input data is written in the file by a character code which is easy to see.

【0010】[0010]

【作用】ホストマシンのキーボードからターゲットマシ
ンの操作に必要なキー入力を打ち込む。その結果、キー
入力されたキーコードデータは、ホストマシンの補助記
憶装置にファイル形式で記憶され、また、補助記憶装置
に書き込む際にはキーコードデータを目で見てわかりや
すいキャラクタコードでファイルに書き込むようにす
る。
[Function] The key input necessary for operating the target machine is input from the keyboard of the host machine. As a result, the key code data input by the key is stored in a file format in the auxiliary storage device of the host machine, and when writing to the auxiliary storage device, the key code data is written in a file with a visually recognizable character code. To do so.

【0011】書き込まれたキーコードデータは、オペレ
ータの指示によりキーコードデータファイルより読み出
され、キーコード変換ボードを経由してターゲットマシ
ンのキーボードコネクタに対し送信される。ターゲット
マシンにおいては、ターゲットマシンのキーボードから
入力したものと同様に作用する。
The written key code data is read from the key code data file according to the instruction of the operator and transmitted to the keyboard connector of the target machine via the key code conversion board. On the target machine, it works the same as what was input from the keyboard of the target machine.

【0012】[0012]

【実施例】以下、この発明の一実施例を図について説明
する。図1は、この発明によるキーボードシュミレータ
の一実施例を示す外観構成図であり、1はホストマシ
ン、2はターゲットマシンである。また、17はターゲ
ットマシン2のキーボードである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an external configuration diagram showing an embodiment of a keyboard simulator according to the present invention, in which 1 is a host machine and 2 is a target machine. Further, 17 is a keyboard of the target machine 2.

【0013】図2は、図1に示したホストマシン1と、
ターゲットマシン2の概略構成を示すブロック図であ
り、図において、11はCPU、12は表示手段、13
はキーコード取込手段、14は記憶手段、15は補助記
憶手段、16は表示装置、17はキーボード、18はR
S232C送信手段、19はキーコード変換ボードであ
り、該キーコード変換ボード19はボード自体に実行手
段を持ちホストマシン1からは電源のみが供給される構
成となっている。
FIG. 2 shows the host machine 1 shown in FIG.
2 is a block diagram showing a schematic configuration of the target machine 2, in which 11 is a CPU, 12 is a display unit, and 13
Is a key code fetching means, 14 is a storage means, 15 is an auxiliary storage means, 16 is a display device, 17 is a keyboard, and 18 is R.
S232C transmission means, 19 is a key code conversion board, and the key code conversion board 19 has an execution means on the board itself and is configured so that only power is supplied from the host machine 1.

【0014】また、補助記憶手段15には、キー入力取
込セーブプログラム15a(15a−1は、キー入力取
込セーブプログラム15a内にセットされているキーコ
ードデータ文字変換プログラム)、キーコードデータ送
信プログラム15b、キーコードデータファイル15c
及びキーコードデータ文字変換テーブル90が格納され
ている。
In the auxiliary storage means 15, the key input data save program 15a (15a-1 is the key code data character conversion program set in the key input data save program 15a) and the key code data transmission. Program 15b, key code data file 15c
A key code data character conversion table 90 is stored.

【0015】図3は、上記キーコード変換ボード19の
ブロック図であり、20はキーコード変換実行手段、2
1はキーコード変換処理プログラムを記憶する記憶手
段、22は上記RS232C送信手段18から送られて
きたキーコードデータを受け取るキーコード変換ボード
19上のRS232C受信手段、23はキーコード変換
実行手段20によって変換されたキー入力データをター
ゲットマシン2に送信するための変換キーデータ送信手
段である。前記ホストマシン1のRS232C送信手段
23と、キーコード変換ボード19のRS232C受信
手段22、及び、キーコード変換ボード19の変換キー
データ送信手段23とターゲットマシン2のキーコード
取込手段13とは各々通信用ケーブルにて接続されてい
る。
FIG. 3 is a block diagram of the key code conversion board 19, 20 is a key code conversion executing means, and 2 is a key code conversion executing means.
Reference numeral 1 is a storage means for storing a key code conversion processing program, 22 is an RS232C receiving means on a key code conversion board 19 for receiving the key code data sent from the RS232C transmitting means 18, and 23 is a key code conversion executing means 20. It is a conversion key data transmitting means for transmitting the converted key input data to the target machine 2. The RS232C transmission means 23 of the host machine 1, the RS232C reception means 22 of the key code conversion board 19, the conversion key data transmission means 23 of the key code conversion board 19 and the key code acquisition means 13 of the target machine 2 are respectively It is connected with a communication cable.

【0016】次に動作について説明する。キー入力をシ
ュミレートするために、オペレータは、まずホストマシ
ン1の補助記憶手段15に記憶されているキー入力取込
セーブプログラム15aをCPU11により実行する。
このキー入力取込セーブプログラム15aの処理を図4
のフローチャートを用いて説明する。
Next, the operation will be described. In order to simulate the key input, the operator first executes the key input capture save program 15a stored in the auxiliary storage means 15 of the host machine 1 by the CPU 11.
The processing of this key input capture save program 15a is shown in FIG.
This will be described with reference to the flowchart of.

【0017】キー入力取込セーブプログラム15aを起
動させる(ステップ100)。その後、オペレータがホ
ストマシン1上で通常のアプリケーション操作と同様な
キー入力操作データを記憶するためのキーコードデータ
ファイル名の入力を実行する(ステップ101)。次
に、通常のアプリケーション操作と同様なキー入力操作
により入力されたキーコードを読み込む(ステップ10
2)。その後、入力されたコードがキー入力終了コード
であるか否かを判断し(ステップ103)、キー入力終
了コードであればキー入力取込セーブプログラム15a
の処理を終了する(ステップ106)。
The key input capture save program 15a is activated (step 100). Then, the operator inputs the key code data file name for storing the key input operation data similar to the normal application operation on the host machine 1 (step 101). Next, the key code input by the key input operation similar to the normal application operation is read (step 10).
2). Then, it is judged whether or not the entered code is the key input end code (step 103), and if it is the key input end code, the key input capture save program 15a.
The process of (3) is finished (step 106).

【0018】反対に、キー入力終了コードではない場合
にあっては、入力したキーコードをRS232C送信手
段18からキーコード変換ボード19に送信する(ステ
ップ104)。更に、キーコードを予め設定したファイ
ル名にて補助記憶手段15にキーコードデータファイル
として登録する(ステップ105)。以下、順次キーコ
ードの読取処理を行ない、ステップ103にてキー入力
終了コードが入力されたと判断されるまで上記一連の処
理を繰り返す。
On the contrary, when the key input end code is not received, the input key code is transmitted from the RS232C transmitting means 18 to the key code conversion board 19 (step 104). Further, the key code is registered in the auxiliary storage means 15 as a key code data file with a preset file name (step 105). Thereafter, the key code reading process is sequentially performed, and the above series of processes is repeated until it is determined in step 103 that the key input end code is input.

【0019】次に、キーコード変換ボード19は、キー
入力取込セーブプログラム15aにより送信されたキー
コードを受信すると、キーコード変換実行手段20によ
りターゲットマシン2のキーコード取込手段13のイン
ターフェースに適合するようにデータを変換し、変換キ
ーデータ送信手段23を介してターゲットマシン2のキ
ーコード取込手段13に送信する。オペレータは、ター
ゲットマシン2に送られたキーコードデータが正常デー
タであり、アプリケーションプログラムの処理がキー入
力に対応した正常処理であることを確認した後、キーコ
ードデータ送信プログラム15bを起動する。
Next, when the key code conversion board 19 receives the key code transmitted by the key input acquisition save program 15a, the key code conversion execution means 20 causes the key code conversion board 19 to interface with the key code acquisition means 13 of the target machine 2. The data is converted so as to be suitable and transmitted to the key code fetching means 13 of the target machine 2 via the conversion key data transmitting means 23. The operator activates the key code data transmission program 15b after confirming that the key code data sent to the target machine 2 is normal data and the processing of the application program is normal processing corresponding to the key input.

【0020】次に、キーコードデータ送信プログラム1
5bの処理を図5のフローチャートを用いて説明する。
まず、キーコードデータ送信プログラム15bを起動さ
せる(ステップ200)。その後、オペレータによりキ
ー入力取込セーブプログラム15aにより登録したキー
コードデータファイル名が入力される(ステップ20
1)。その後、入力されたキーコードデータファイル名
をキーコードデータ送信プログラム15bのワークエリ
アに格納する(ステップ202)。更に、上記キーコー
ドデータファイル名入力処理で登録したファイル名以外
に送信したいキー入力コードデータファイルがないかを
オペレータに問い合わせ、返答を判断する(ステップ2
03)。もし他の送信ファイルがあれば、上記ステップ
201に戻り、再びキーコードデータファイル名の入力
を行う。
Next, the key code data transmission program 1
The process 5b will be described with reference to the flowchart of FIG.
First, the key code data transmission program 15b is activated (step 200). Thereafter, the operator inputs the key code data file name registered by the key input capture save program 15a (step 20).
1). Then, the input key code data file name is stored in the work area of the key code data transmission program 15b (step 202). Further, the operator is inquired whether there is a key input code data file to be transmitted other than the file name registered in the key code data file name input process, and a reply is determined (step 2).
03). If there is another transmission file, the process returns to step 201 and the key code data file name is input again.

【0021】返信したいデータファイルがなければ、ワ
ークエリアからデータファイル名を読み込み(ステップ
204)、補助記憶手段15から読み出したデータファ
イル名の対応するデータを1バイト読み出し(ステップ
205)、読み込まれたキーコードデータはRS232
C送信手段18からキーコード変換ボード19に再度送
信する(ステップ206)。
If there is no data file to be returned, the data file name is read from the work area (step 204), the corresponding data of the data file name read from the auxiliary storage means 15 is read out by 1 byte (step 205), and read. Key code data is RS232
The C transmission means 18 transmits again to the key code conversion board 19 (step 206).

【0022】次に、データが終了(END)であるか否
かを判断し(ステップ207)、終了でなければ上記ス
テップ205の処理に戻る。反対にデータが終了の場合
には、ワークエリアに他のデータファイル名は登録され
ていないか否かを判断し(ステップ208)、登録され
ていたら上記ステップ204の処理に戻る。反対に登録
されていない場合はキーコードデータ送信プログラム1
5bの処理を終了する(ステップ209)。その結果、
ターゲットマシン2は、ターゲットマシン2上でキー入
力が行われたものとみなし、アプリケーションプログラ
ムの処理を実行する。
Next, it is judged whether or not the data is the end (END) (step 207). If not, the process returns to the step 205. On the other hand, if the data has ended, it is determined whether or not another data file name is registered in the work area (step 208), and if registered, the process returns to step 204. On the contrary, if it is not registered, key code data transmission program 1
The process of 5b is ended (step 209). as a result,
The target machine 2 assumes that a key input has been made on the target machine 2, and executes the processing of the application program.

【0023】上記キー入力取込セーブプログラム15a
がキーコードを補助記憶手段15にキーコードデータフ
ァイルとしてセーブするとき、通常のキーコードデータ
では、図6に示すキーコードデータファイル31aの如
く単なるバイナリデータの羅列であり、一見してどのキ
ーが入力されたのか判断ができない。この問題点を解決
するために実行されるキーコードデータ文字変換プログ
ラム15a−1の処理を図7のフローチャート及び図
8、図9を用いて説明する。
The key input capture save program 15a
When the key code is saved in the auxiliary storage means 15 as a key code data file, the normal key code data is just a list of binary data like the key code data file 31a shown in FIG. I can not judge whether it was entered. The processing of the key code data character conversion program 15a-1 executed to solve this problem will be described with reference to the flowchart of FIG. 7 and FIGS. 8 and 9.

【0024】まず、キーコードデータ文字変換プログラ
ム15a−1を起動する(ステップ300)。次に、キ
ーコードを2バイト読み込む(ステップ301)。この
ステップ301の処理は、図4に示したキー入力取込セ
ーブプログラム15aのステップ102と同様のもので
ある。
First, the key code data character conversion program 15a-1 is started (step 300). Next, 2 bytes of the key code are read (step 301). The processing of step 301 is similar to that of step 102 of the key input capture save program 15a shown in FIG.

【0025】次に、キーコードデータ文字変換テーブル
90を参照するためのインデックス(INDEX)91
の値を初期化する(ステップ302)。その後、上記ス
テップ301で読み込んだデータとキーコードデータ文
字変換テーブル90のインデックス91の値に対応する
キーコードデータ92を比較する(ステップ303)。
結果が同じであれば、キーコードデータ文字変換テーブ
ル90のインデックス91の値に対応するキャラクタコ
ード93を読み込む(ステップ304)。更に、インデ
ックスの値を再度初期化する(ステップ305)。
Next, an index (INDEX) 91 for referring to the key code data character conversion table 90.
Is initialized (step 302). After that, the data read in step 301 is compared with the key code data 92 corresponding to the value of the index 91 of the key code data character conversion table 90 (step 303).
If the result is the same, the character code 93 corresponding to the value of the index 91 of the key code data character conversion table 90 is read (step 304). Further, the index value is initialized again (step 305).

【0026】次に、上記ステップ304で読み込んだキ
ャラクタデータを予めオペレータから登録されていたキ
ーコードデータファイル15cに書き込み(ステップ3
06)、キーコードデータがキー入力終了コードである
か否かを判断し(ステップ310)、終了コードである
と判断した場合には、キーコードデータ文字変換プログ
ラム15a−1の処理を終了する。反対に、終了コード
でなければ上記ステップ301に戻り以後同様な処理を
実行する。
Next, the character data read in step 304 is written in the key code data file 15c registered in advance by the operator (step 3
06), it is determined whether or not the key code data is the key input end code (step 310), and when it is determined that it is the end code, the process of the key code data character conversion program 15a-1 is ended. On the contrary, if it is not the end code, the process returns to step 301 and the same processing is executed thereafter.

【0027】また、上記ステップ303において比較結
果が異なっていた場合、インデックス91の値をインク
リメントする(ステップ307)。次に、インクリメン
ト後の値がインデックス91の最大値を越えているか否
かを判断し(ステップ308)し、越えている場合に
は、読み込んだキーコードデータは変換する必要がない
と判断し、予めオペレータから登録されていたキーコー
ドデータファイル15cに書き込む(ステップ30
9)。反対に、インデックス91の最大値を越えていな
い場合には、上記ステップ303に戻りキーコードデー
タ文字変換テーブル90のインデックス91の値に対応
するキーコードデータ92と再度比較処理を行う。
If the comparison result is different in step 303, the value of the index 91 is incremented (step 307). Next, it is determined whether or not the incremented value exceeds the maximum value of the index 91 (step 308). If it exceeds, it is determined that the read key code data does not need to be converted, The key code data file 15c registered in advance by the operator is written (step 30).
9). On the contrary, if the maximum value of the index 91 is not exceeded, the process returns to the step 303 and the comparison process is performed again with the key code data 92 corresponding to the value of the index 91 of the key code data character conversion table 90.

【0028】上記の如く、本処理はキーコードデータフ
ァイル15cに書き込む際に、見やすいキャラクタコー
ドで書き込むものであり、具体的な変換例として図9
(a)におけるキーコードデータファイル31のように
なる。図9(b)における32は、キーコードを変換す
る際のキャラクタ変換例である。
As described above, this process is performed by writing the character code in the key code data file 15c with an easy-to-read character code. As a concrete conversion example, FIG.
It becomes the key code data file 31 in (a). Reference numeral 32 in FIG. 9B is an example of character conversion when converting a key code.

【0029】これにより、通常のテキストエディタ(ア
ルファベット、カナ、漢字、ひらがな、数字等のキャラ
クタを対象に編集できるエディタ)を使用して、キー入
力内容の参照及び変更を実行することができる。
Thus, it is possible to refer to and change the key input contents by using an ordinary text editor (editor capable of editing characters such as alphabets, kana, kanji, hiragana and numbers).

【0030】また、この発明はキー入力を自動化するこ
とと、メモリ配置を何ら変化させずにキーボードからの
キー入力をシュミレートすることを目的としているた
め、用途をアプリケーションプログラムの評価試験、或
いは、異常処理の再現試験としているが、ショー、展示
会等のデモンストレーションの自動運転にも使用するこ
とができる。
Further, since the present invention aims at automating the key input and simulating the key input from the keyboard without changing the memory arrangement at all, the application is evaluated by an application program evaluation test or abnormal operation. Although it is used as a process reproduction test, it can also be used for automated driving during demonstrations at shows and exhibitions.

【0031】また、ホストマシンからハードコピー用キ
ーを送信することにより、ターゲットマシンからの画面
データをホストマシンで受け取り、予め記憶させた正常
画面データと比較することにより自動試験装置としても
使用できる。
Further, by transmitting a hard copy key from the host machine, the screen data from the target machine is received by the host machine and compared with normal screen data stored in advance, so that it can be used as an automatic test apparatus.

【0032】また、上記実施例にあっては、ターゲット
マシンに対して、ある一定の間隔でのみキーコードデー
タを送信しているだけであるが、ホストマシン上でキー
コードを取り入れる場合、キー入力間隔も同時に情報と
して取り込み、キーコード変換ボード19に対しキーコ
ードデータを送信する場合、キー入力間隔情報を読み取
りキーコードデータを読み取ったキー入力間隔時間でキ
ーコード変換ボード19に送信することによって、より
実際のキー入力に近い自動試験を行うことができる。
Further, in the above embodiment, the key code data is only transmitted to the target machine only at a constant interval. However, when the key code is taken in on the host machine, key input is performed. When the interval is also taken in as information at the same time and the key code data is transmitted to the key code conversion board 19, by reading the key input interval information and transmitting it to the key code conversion board 19 at the key input interval time when the key code data is read, It is possible to perform an automatic test that is closer to actual key input.

【0033】また、キーコードは、キーコード変換ボー
ド19に対しRS232C経由で送信し、キーコード変
換ボード19上でターゲットマシンのキー入力信号に変
換してターゲットマシンに送信しているが、キーコード
変換ボード19に対し別の送信手段(例えば、RS42
2或いはホストマシンのデータバス)を利用してキーコ
ードを出力しても同様な効果が得られる。
The key code is transmitted to the key code conversion board 19 via RS232C, converted into the key input signal of the target machine on the key code conversion board 19 and transmitted to the target machine. Another transmission means (for example, RS42) is used for the conversion board 19.
2 or the data bus of the host machine) to output the key code, the same effect can be obtained.

【0034】[0034]

【発明の効果】以上のように、この発明によればターゲ
ットマシンのキーボードからのキー入力データをホスト
マシンから送信し、キーボードからのキー入力作業をシ
ュミレートするようにしたため、評価試験或いは異常処
理の再現試験をターゲットマシンのソフトウエア構成、
記憶装置上のメモリ配置を何ら変化させずにアプリケー
ションプログラムを実行させ、キーボード以外の全ての
ターゲットマシンにおける機能を評価することができ
る。
As described above, according to the present invention, the key input data from the keyboard of the target machine is transmitted from the host machine to simulate the key input work from the keyboard. Reproduction test, target machine software configuration,
It is possible to execute the application program without changing the memory arrangement on the storage device and evaluate the functions of all the target machines other than the keyboard.

【0035】また、上記ホストマシンにおいて、キー入
力データをターゲットマシンのキーボードからターゲッ
トマシンに送信する信号と同一の信号に変換する手段を
変換ボードとしたため、部品数も少なく構成でき装置が
安価となり、また、信頼性が向上する。
Further, in the above host machine, since the means for converting the key input data into the same signal as the signal transmitted from the keyboard of the target machine to the target machine is the conversion board, the number of parts can be reduced and the apparatus becomes inexpensive, Moreover, reliability is improved.

【0036】更に、キー入力データを補助記憶手段に書
き込む際、キーコードデータを目で見てわかりやすいキ
ャラクタコードでファイルに書き込むようにしたため、
専用の編集プログラムを必要とせず、一般のテキストエ
ディタで編集可能なため安価に編集作業ができる。
Further, when the key input data is written in the auxiliary storage means, the key code data is written in the file by a character code which is easy to see.
It does not require a dedicated editing program and can be edited with a general text editor, so editing work can be done at low cost.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一実施例によるキーボードシュミレ
ータの外観構成を示す説明図である。
FIG. 1 is an explanatory diagram showing an external configuration of a keyboard simulator according to an embodiment of the present invention.

【図2】図1に示したホストマシンとターゲットマシン
の概略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a host machine and a target machine shown in FIG.

【図3】図2に示したキーコード変換ボードの概略構成
を示すブロック図である。
FIG. 3 is a block diagram showing a schematic configuration of the key code conversion board shown in FIG.

【図4】キー入力取込セーブプログラムの処理動作を示
すフローチャートである。
FIG. 4 is a flowchart showing a processing operation of a key input capture save program.

【図5】キーコードデータ送信プログラムの処理動作を
示すフローチャートである。
FIG. 5 is a flowchart showing a processing operation of a key code data transmission program.

【図6】キーコードデータファイルのキャラクタ変換前
の例を示す説明図である。
FIG. 6 is an explanatory diagram showing an example of a key code data file before character conversion.

【図7】キーコードデータ文字変換プログラムの処理動
作を示すフローチャートである。
FIG. 7 is a flowchart showing a processing operation of a key code data character conversion program.

【図8】キーコードデータ文字変換テーブルを示す説明
図である。
FIG. 8 is an explanatory diagram showing a key code data character conversion table.

【図9】補助記憶手段に登録する際のキーコードデータ
ファイル及びキャラクタ変換例を示す説明図である。
FIG. 9 is an explanatory diagram showing a key code data file and a character conversion example when registering in an auxiliary storage unit.

【図10】従来における情報処理装置の外観構成及びオ
ペレータを示す説明図である。
FIG. 10 is an explanatory diagram showing an external configuration and an operator of a conventional information processing apparatus.

【図11】図10に示した情報処理装置の概略構成を示
すブロック図である。
11 is a block diagram showing a schematic configuration of the information processing apparatus shown in FIG.

【符号の説明】[Explanation of symbols]

1 ホストマシン 2 ターゲットマシン 11 CPU 12 表示手段 13 キーコード取込手段 14 記憶手段 15 補助記憶手段 15a キー入力取込セーブプログラム 15b キーコードデータ送信プログラム 15c キーコードデータファイル 16 表示装置 17 キーボード 18 RS232C送信手段 19 キーコード変換ボード 20 キーコード変換実行手段 21 記憶手段 22 RS232C受信手段 23 変換キーデータ送信手段 31 キーコードデータファイル(変換後) 31a キーコードデータファイル(変換前) 32 キャラクタ変換例 90 キーコードデータ文字変換テーブル 91 インデックス 92 キーコードデータ例 93 キャラクタコード例 1 host machine 2 target machine 11 CPU 12 Display means 13 Key code acquisition means 14 storage means 15 Auxiliary storage means 15a Key input capture save program 15b Key code data transmission program 15c Key code data file 16 Display 17 keyboard 18 RS232C transmission means 19 Key code conversion board 20 Key code conversion execution means 21 storage means 22 RS232C receiving means 23 Conversion key data transmission means 31 Key code data file (after conversion) 31a Key code data file (before conversion) 32 character conversion example 90 key code data character conversion table 91 Index 92 Key code data example 93 Character code example

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 キーコードを入力するキー入力手段と、
前記キー入力手段からのキー入力内容に基づいて予めプ
ログラミングされた処理を実行する制御手段と、前記制
御手段により実行された内容を表示する表示手段とを有
する情報処理装置(ターゲットマシン)に対し、他の情
報処理装置(ホストマシン)からキー入力データを送信
することにより、前記キー入力手段からのキー入力内容
をシュミレートすることを特徴とするキーボードシュミ
レータ。
1. Key input means for inputting a key code,
For an information processing apparatus (target machine) having a control means for executing a pre-programmed process based on the key input content from the key input means, and a display means for displaying the content executed by the control means, A keyboard simulator characterized by simulating key input contents from the key input means by transmitting key input data from another information processing device (host machine).
【請求項2】 前記情報処理装置(ホストマシン)がキ
ー入力データを補助記憶手段に書き込む際、前記キー入
力データをキャラクタコードにより書き込むことを特徴
とする前記請求項1記載のキーボードシュミレータ。
2. The keyboard simulator according to claim 1, wherein when the information processing device (host machine) writes the key input data to the auxiliary storage means, the key input data is written by a character code.
JP3150234A 1991-06-21 1991-06-21 Keyboard simulator Expired - Fee Related JP2653276B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3150234A JP2653276B2 (en) 1991-06-21 1991-06-21 Keyboard simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3150234A JP2653276B2 (en) 1991-06-21 1991-06-21 Keyboard simulator

Publications (2)

Publication Number Publication Date
JPH052445A true JPH052445A (en) 1993-01-08
JP2653276B2 JP2653276B2 (en) 1997-09-17

Family

ID=15492489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3150234A Expired - Fee Related JP2653276B2 (en) 1991-06-21 1991-06-21 Keyboard simulator

Country Status (1)

Country Link
JP (1) JP2653276B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034197A (en) * 2009-07-30 2011-02-17 Daihen Corp Off-line programming method, off-line programming system, off-line programming device and teach pendant
JP2011198095A (en) * 2010-03-19 2011-10-06 Fujitsu Fsas Inc Customization support device
JP2012230709A (en) * 2012-07-23 2012-11-22 Fujitsu Fsas Inc Customization support device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011034197A (en) * 2009-07-30 2011-02-17 Daihen Corp Off-line programming method, off-line programming system, off-line programming device and teach pendant
JP2011198095A (en) * 2010-03-19 2011-10-06 Fujitsu Fsas Inc Customization support device
JP2012230709A (en) * 2012-07-23 2012-11-22 Fujitsu Fsas Inc Customization support device

Also Published As

Publication number Publication date
JP2653276B2 (en) 1997-09-17

Similar Documents

Publication Publication Date Title
EP1942386A1 (en) Simulation data creation supporting device
JP2561907B2 (en) Numerical control unit
JP2653276B2 (en) Keyboard simulator
EP0148948A1 (en) Method of setting date in numerical control apparatus
EP0483368A1 (en) Method of searching sequence program
JP2002268711A (en) Programmable display unit and plotting program for the same and recording medium with its plotting program recorded
EP0284111A1 (en) Method, system and test-driver computer for testing a computer and/or associated software
JPH0371209A (en) Abnormality detector for numerical control program
JP2706472B2 (en) Sequence program editing method
JP2617664B2 (en) Monitor data creation device
JP3110280B2 (en) Educational help device
JPH04296910A (en) Numerical controller
JP2532621B2 (en) Digital processor
JPH09319414A (en) Data processor, sequence program editing method, and recording medium
KR100404747B1 (en) Emulator Device for Input / Output Scanning Module
JP2643540B2 (en) Natural language display method and apparatus for programs created in NC language
KR890002304Y1 (en) Korean alphabet verification device for line printer
JP2584874B2 (en) Interlock inspection device for electronic interlock device
JP3115087B2 (en) Image data extraction device
JP3305340B2 (en) Operation display panel
JPH0769852B2 (en) Information processing equipment test method
JPH04190450A (en) Document processor
JPH05150924A (en) Device for generating network monitor screen text file
JPH03125212A (en) Back-up device for operation of keyboard
JPH0540719A (en) Telephone set with data terminal

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees