JPH01237851A - Automatic debugging device - Google Patents

Automatic debugging device

Info

Publication number
JPH01237851A
JPH01237851A JP63065148A JP6514888A JPH01237851A JP H01237851 A JPH01237851 A JP H01237851A JP 63065148 A JP63065148 A JP 63065148A JP 6514888 A JP6514888 A JP 6514888A JP H01237851 A JPH01237851 A JP H01237851A
Authority
JP
Japan
Prior art keywords
software
debugged
data
input
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63065148A
Other languages
Japanese (ja)
Inventor
Yoshikiyo Yamada
山田 義清
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.)
Nippon Electric Industry Co Ltd
Original Assignee
Nippon Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Industry Co Ltd filed Critical Nippon Electric Industry Co Ltd
Priority to JP63065148A priority Critical patent/JPH01237851A/en
Publication of JPH01237851A publication Critical patent/JPH01237851A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To input required key data every time when key input is needed via a data input device by storing both software to be debugged and software for test in a computer in advance. CONSTITUTION:When data is inputted from a keyboard 103, a system is initialized. Next, the common flag F1 for test of a RAM incorporated in a personal computer 10 is set at '1'. Then, F1 = '1' is detected by the software for test, and '10' is outputted as the key data for the personal computer, and also, the F1 is cleared to '0'. Meanwhile, the software for test detects the state of the key input, and the next menu No. '20' is outputted. The data is handled as the key input '20' of the software to be debugged, and a branching software 'B' is executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、自動デバッグ装置、詳しくは簡単な装置で
パーソナルコンピュータ等に適用するソフトウェアのデ
バッグを自動的に行えるようにした自動デバッグ装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic debugging device, and more particularly to an automatic debugging device that can automatically debug software applied to a personal computer or the like using a simple device.

〔従来の技術〕[Conventional technology]

例えば、最近の製造工場においては生産の自動化が進み
、所謂F A (Factory Automatio
n)が多数導入されてきている。
For example, production automation has progressed in recent manufacturing factories, resulting in so-called FA (Factory Automation).
n) have been introduced in large numbers.

このFAにはパーソナルコンピュータ(以下、パソコン
と記す、例えば日本電気製の9800シリーズ等)が用
いられることがあり、様々の工場のFAに対応した様々
の仕様のソフトウェア(以下、ソフトと記す)が用いら
れている。
Personal computers (hereinafter referred to as PCs, such as NEC's 9800 series) may be used for this FA, and software with various specifications (hereinafter referred to as software) compatible with FAs in various factories is sometimes used. It is used.

周知のようにこのソフトを設計した初期の段階では、所
謂「虫」がつきもので、この「虫」を無くした状態(デ
バッグされた状態)でFA装置が正確に稼動する。
As is well known, in the early stages of designing this software, so-called "insects" are present, and the FA device operates correctly without these "insects" (in a debugged state).

このデバッグをする際には、人間がパソコンと対峙し、
ソフトのステップ毎に1つずつデバッグをするのが一般
的である。  。
When debugging, a human faces the computer,
It is common to debug each software step one by one. .

一方、本出願人は、特願昭62−4704号において「
データ入力装置」を提案した。この装置は一般のパソコ
ンが、信号入力用のインターフェースとしては「キーボ
ード用のインターフェース」より用意されていないため
に、例えばバーコードリーグ等の情報機器からのデータ
入力をすることができないという不都合を解決しようと
じたものである。
On the other hand, the present applicant stated in Japanese Patent Application No. 62-4704 that “
proposed a data input device. This device solves the problem of not being able to input data from information devices such as barcode leagues because general PCs do not have a keyboard interface as an interface for signal input. This is what I tried to do.

ここで、上記データ入力装置を第4〜6図によって説明
する。
Here, the above data input device will be explained with reference to FIGS. 4 to 6.

第4図に示すように、データ入力装置200は、パソコ
ン202とキーボード103との間に介挿され、更にこ
のデータ入力装置200にはBCR。
As shown in FIG. 4, a data input device 200 is inserted between a personal computer 202 and a keyboard 103, and further includes a BCR.

OCR,OMR等の各種の情報機器201が接続される
ようになっている。
Various information devices 201 such as OCR and OMR are connected.

そして、第5図に示すようにデイツプスイッチの動作モ
ードの設定により各種の機能を果たし、第6図に示すよ
うな、データ切換え処理を行うものである。なお、この
データ入力装置の詳細については前記特願昭62−47
04号を参照されたい。
As shown in FIG. 5, various functions are performed by setting the operation mode of the dip switch, and data switching processing as shown in FIG. 6 is performed. The details of this data input device can be found in the above-mentioned patent application 1986-47.
Please refer to No. 04.

〔解決しようとする問題点〕[Problem to be solved]

ところで、前述のように人間が1つずつのステップをデ
バッグしていたのではいかにも効率が悪い。
By the way, as mentioned above, it is very inefficient if humans debug each step one by one.

そこで、このデバッグを自動化する場合には、例えば第
7図に示すような自動デバッグシステムが考えられる。
Therefore, in order to automate this debugging, an automatic debugging system as shown in FIG. 7, for example, can be considered.

即”ち、コンピュータ101の内部に被デバッグソフト
とテスト用ソフトとの両方を格納して用意しておき、キ
ーボード103から人間が各種の指示を入力すると、被
デバッグソフトの試験が行なわれ、その結果がコンピュ
ータ101の出力端から信号としてドライバ102に供
給され、このドライバ102からキー入力メカニズム1
04に対し信号が供給される。このキー入力メカニズム
104は、例えばソレノイド等を有して構成され、この
ソレノイドがキーボード103のキーをたたき、各種の
入力を行うようにすればよい。
That is, both software to be debugged and software for testing are stored and prepared inside the computer 101, and when a person inputs various instructions from the keyboard 103, the software to be debugged is tested. The result is supplied as a signal from the output of the computer 101 to the driver 102, and from this driver 102 the key input mechanism 1
A signal is supplied to 04. The key input mechanism 104 may include, for example, a solenoid, and the solenoid may strike the keys on the keyboard 103 to perform various inputs.

しかし、この第7図に示した自動デバッグ装置のシステ
ムは、キー入力メカニズムが非常に複雑な構成となり、
簡単で安価な自動デバッグ装置とは言いかねる。
However, the automatic debugging device system shown in FIG. 7 has a very complicated key input mechanism.
It cannot be called a simple and inexpensive automatic debugging device.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点を解決するために、少なくとも被デ
バッグ用ソフトとこの被デバッグ用ソフトをテストする
テスト用ソフトとの2本のソフトを走らせるようにした
コンピュータを備えた自動デバッグ装置であって、複数
個の動作項目を含み外部からのキー入力に応じていずれ
かの動作項目を実行するようにした被デバッグ用ソフト
と、この被デバッグソフトの実行に応じて上記動作項目
を指定するキーデータを発生するようにしたテスト用ソ
フトと、上記被デバッグ用ソフトの進行状況をテスト用
ソフトに伝えるためのテスト用共通フラグテーブルと、
上記テスト用ソフトのキーデータを出力する出力インタ
フェース回路と、上記コンピュータのキーボード用入力
インターフェースとキーボード間に介挿され、該キーボ
ードからのキー押下による入力信号と上記コンピュータ
の出力インターフェースからの出力結果の出力信号とを
切換えて上記コンピュータのキーボード用入力インター
フェースにデータ入力するデータ入力装置とを具備し、
被デバッグ用とテスト用の両ソフトを走行させ、キー入
力が必要になる都度上記データ入力装置を介して必要な
キーデータをコンピュータに入力可能としたものである
In order to solve the above-mentioned problems, the present invention provides an automatic debugging device equipped with a computer that runs at least two pieces of software: software to be debugged and test software for testing the software to be debugged. debugged software that includes multiple action items and executes one of the action items in response to an external key input; and a key that specifies the action item in response to the execution of this debugged software. A test software that generates data, a common flag table for testing that informs the test software of the progress status of the debugged software,
An output interface circuit that outputs key data of the test software, and an input interface for the keyboard of the computer, is inserted between the keyboard and outputs input signals from key presses from the keyboard and output results from the output interface of the computer. and a data input device for inputting data to the keyboard input interface of the computer by switching between the output signal and the output signal,
Both software to be debugged and software for testing are run, and necessary key data can be input into the computer via the data input device each time key input is required.

〔作用〕[Effect]

本発明によれば、コンピュータに予め被デバッグ用のソ
フトと試験用ソフトとの両方を格納しておき、キーボー
ドからの入力指示により上記2つのソフトを走らせる。
According to the present invention, both software to be debugged and software for testing are stored in a computer in advance, and the two software are run by input instructions from a keyboard.

すると、被デバッグ用ソフトの進行に伴い、キー入力状
態になったとき、テスト用共通フラグを介してテスト用
ソフトが検知し、被デバッグ用ソフトに必要なキーデー
タをコンピュータの出力インターフェースからデータ入
力装置に入力する。
Then, as the software to be debugged progresses, when the key input state is reached, the test software detects it via the test common flag and inputs the key data necessary for the software to be debugged from the output interface of the computer. input into the device.

次いで、このデータ入力装置でコンピュータツキ−入力
信号と同等の信号に変換され、キーボードから入力した
信号と同様にコンピュータの入力インタフェースに入力
する。
The data input device then converts the signal into a signal equivalent to a computer key input signal, and inputs it to the computer's input interface in the same way as a signal input from a keyboard.

従って、被デバッグ用ソフトのデバッグを安価かつ簡単
に自動的に行うことが可能となる。
Therefore, it becomes possible to automatically debug the software to be debugged at low cost and easily.

〔実施例〕〔Example〕

以下、この自動デバッグ装置を図示の実施例に基づいて
説明する。なお、既に説明した構成部材については重ね
て説明することを避け、同一の符号を付すに止める。
This automatic debugging device will be explained below based on the illustrated embodiment. It should be noted that the constituent members that have already been explained will not be described again, and will only be given the same reference numerals.

第1図は本発明の自動デバッグ装置の動作概要を示す概
念図であり、第2図は本発明の自動デバッグ装置を示す
システム構成図である。
FIG. 1 is a conceptual diagram showing an outline of the operation of the automatic debugging device of the present invention, and FIG. 2 is a system configuration diagram showing the automatic debugging device of the present invention.

まず、第2図によって自動デバッグ装置のシステムを説
明する。
First, the system of the automatic debugging device will be explained with reference to FIG.

図示のように、キーボード103はKBウェッジインタ
ーフェースと称するデータ入力装置200の第1の入力
端に接続され、このデータ入力装置200の出力端はパ
ソコン10の入力インターフェースに接続されている。
As shown, the keyboard 103 is connected to a first input end of a data input device 200, referred to as a KB wedge interface, and the output end of this data input device 200 is connected to an input interface of the personal computer 10.

このパソコン10の内部には、被デバッグ用ソフト1と
テスト用ソフト2とが格納されていて、これら2つのソ
フトの間においてテストが行われる。そして、このテス
トが行われた結果が出力インターフェース3を介して出
力し、この出力が上記データ入力装置200の第2の入
力端に供給される。
A software to be debugged 1 and a test software 2 are stored inside the personal computer 10, and a test is performed between these two software. The result of this test is outputted via the output interface 3, and this output is supplied to the second input terminal of the data input device 200.

このように構成されている自動デバッグ装置を動作させ
るには、第1図に示したような被デバッグ用ソフトとテ
スト用ソフトを用いればよい。
In order to operate the automatic debugging apparatus configured as described above, it is sufficient to use debugged software and test software as shown in FIG.

キーボード103から適宜の入力を行うと、システム全
体がイニシャライズされる(ステップS1)。次いで、
パソコン装置10のCRTに各種のテスト項目がメニュ
ー表示される(ステップS2)。
When appropriate input is made from the keyboard 103, the entire system is initialized (step S1). Then,
Various test items are displayed as a menu on the CRT of the personal computer 10 (step S2).

次いでパソコン装置10内に内蔵されているRAMのテ
スト用の共通フラグF1を“1”にする(ステップS3
)。すると、テスト用ソフトにおいてF1=″1″を検
知しくステップ21)、パソコンに対するキーデータと
して“10”が出力する(ステップ522)と共に、F
1=″0″にクリアされる(ステップ523)。
Next, the common flag F1 for testing the RAM built in the personal computer device 10 is set to "1" (step S3).
). Then, the test software detects F1="1" (step 21), outputs "10" as key data to the computer (step 522), and
It is cleared to 1=“0” (step 523).

すると、このキーデータ“10”は被デパック用ソフト
の中のメニュー魚として入力しくステップS4)、デー
タNl1IOが指定されるので、例えば分岐ソフ)Aが
指定実行される(ステップS6)。このテスト項目Aの
テストが終了するとCRTに再びメニューが表示され(
ステップS2)、再びF1=“1″とする(ステップS
3)。
Then, this key data "10" is input as a menu item in the software to be depacked (step S4), and data Nl1IO is specified, so for example, branching software) A is specified and executed (step S6). When the test for test item A is completed, the menu will be displayed on the CRT again (
Step S2), and set F1="1" again (Step S2).
3).

一方、テスト用ソフトではキー入力状態を検知しくステ
ップ524)、次のメニュー魚”20”を出力する(ス
テップ525)。このデータは被デバッグソフトのキー
入力“20″として扱われ、分岐ソフト“B”が実行さ
れる(ステップS7)。
On the other hand, the test software detects the key input state (step 524) and outputs the next menu item "20" (step 525). This data is treated as key input "20" of the debugged software, and branching software "B" is executed (step S7).

以上述べたように、被デバッグ用ソフトを走らせている
際にテスト用命令が発生する都度そのキー入力場面をテ
スト用ソフトが検知し、その場面に8亥当したキーデー
タをKBウェッジインターフェース200を介してパソ
コンに入力する。従って、キーボード103からは最初
のトリガとなるキー入力を行えば、以後は被デバッグ用
ソフト1とテスト用ソフト2とが相互に調歩しながら作
用し、自動的なデバッグを行うことが可能となる。
As described above, each time a test command occurs when the software to be debugged is running, the test software detects the key input scene, and the key data corresponding to that scene is sent to the KB wedge interface 200. input into the computer via the Therefore, when the first trigger key input is performed from the keyboard 103, the software to be debugged 1 and the software for testing 2 work together in step with each other, allowing automatic debugging. .

上記第1図に示した実施例においては、被デバッグ用ソ
フトとテスト用ソフトとを平行して走らせる場合につい
て述べたものであるが、例えば平行して走らせることが
不可能な場合には第3図(a)、  (b)に示すよう
にすればよい。
In the embodiment shown in FIG. 1 above, the case where the debugged software and the test software are run in parallel is described, but for example, if it is impossible to run them in parallel, What is necessary is to do as shown in FIGS. 3(a) and 3(b).

即ち、被デバッグ用ソフトのステップS3Aにおいてテ
スト用ソフト(第3図(b)参照)を呼び出し、そのと
きのテスト用ソフトが指定するメニュー阻を順次実行す
るようにしてもよい。
That is, the test software (see FIG. 3(b)) may be called in step S3A of the software to be debugged, and the menu items designated by the test software at that time may be sequentially executed.

〔効果〕〔effect〕

本発明によれば、被デバッグ用ソフトとテスト用ソフト
を予め用意し、従来のパソコン装置にこれらを格納し、
データ入力装置を付加すれば、簡単に自動デバッグ装置
を作動させることが可能となる。
According to the present invention, software to be debugged and software for testing are prepared in advance, and these are stored in a conventional personal computer device.
By adding a data input device, it becomes possible to easily operate an automatic debugging device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の自動デバッグ装置の動作を示す概念図
、第2図は本発明の自動デバッグ装置を示すシステム構
成図、第3図(a)、  (b)は被デバッグ用ソフト
とテスト用ソフトとが直列に構成されている場合の流れ
図、第4図は本出願人が先に出願したデータ入力装置の
ブロック構成図、第5図は上記データ入力装置の動作モ
ードを示す図、第6図は上記データ入力装置の動作を示
すフローチャート、第7図は従来の自動デバッグ装置の
一例を示すシステム構成図である。 1・・・デバッグ用ソフト、 2・・・テスト用ソフト、 3・・・入力インターフェース、 10・・・パーソナルコンピュータ装置、103・・・
キーボード、 200・・・データ入力装置(KBウェッジインターフ
ェース)。
Fig. 1 is a conceptual diagram showing the operation of the automatic debugging device of the present invention, Fig. 2 is a system configuration diagram showing the automatic debugging device of the present invention, and Fig. 3 (a) and (b) are software to be debugged and tests. FIG. 4 is a block diagram of a data input device previously filed by the applicant; FIG. 5 is a diagram showing the operation mode of the data input device; FIG. 6 is a flowchart showing the operation of the data input device, and FIG. 7 is a system configuration diagram showing an example of a conventional automatic debugging device. DESCRIPTION OF SYMBOLS 1...Debugging software, 2...Testing software, 3...Input interface, 10...Personal computer device, 103...
Keyboard, 200...data input device (KB wedge interface).

Claims (1)

【特許請求の範囲】 1、少なくとも被デバッグ用ソフトとこの被デバッグ用
ソフトをテストするテスト用ソフトとの2本のソフトを
走らせるようにしたコンピュータを備えた自動デバッグ
装置であって、 複数個の動作項目を含み外部からのキー入力に応じてい
ずれかの動作項目を実行するようにした被デバッグ用ソ
フトと、 この被デバッグソフトの実行に応じて上記動作項目を指
定するキーデータを発生するようにしたテスト用ソフト
と、 上記被デバッグ用ソフトの進行状況をテスト用ソフトに
伝えるためのテスト用共通フラグテーブルと、 上記テスト用ソフトのキーデータを出力する出力インタ
フェース回路と、 上記コンピュータのキーボード用入力インターフェース
とキーボード間に介挿され、該キーボードからのキー押
下による入力信号と上記コンピュータの出力インターフ
ェースからの出力結果の出力信号とを切換えて上記コン
ピュータのキーボード用入力インターフェースにデータ
入力するデータ入力装置と、 を具備し、被デバッグ用とテスト用の両ソフトを走行さ
せ、キー入力が必要になる都度上記データ入力装置を介
して必要なキーデータをコンピュータに入力可能とした
ことを特徴とする自動デバッグ装置。
[Claims] 1. An automatic debugging device comprising a computer configured to run at least two pieces of software: software to be debugged and test software for testing the software to be debugged, comprising: debugged software that includes action items and executes any of the action items in response to external key input, and generates key data that specifies the above action items in response to the execution of this debugged software. a common flag table for testing for communicating the progress status of the software to be debugged to the testing software; an output interface circuit for outputting key data of the testing software; and a keyboard for the computer. a data input device inserted between an input interface for the computer and a keyboard, and inputting data to the input interface for the keyboard of the computer by switching between an input signal caused by pressing a key from the keyboard and an output signal of an output result from the output interface of the computer; The apparatus is characterized in that it is equipped with a device, and is capable of running both software to be debugged and for testing, and inputting necessary key data into the computer via the data input device each time key input is required. Automatic debugging equipment.
JP63065148A 1988-03-18 1988-03-18 Automatic debugging device Pending JPH01237851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63065148A JPH01237851A (en) 1988-03-18 1988-03-18 Automatic debugging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63065148A JPH01237851A (en) 1988-03-18 1988-03-18 Automatic debugging device

Publications (1)

Publication Number Publication Date
JPH01237851A true JPH01237851A (en) 1989-09-22

Family

ID=13278506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63065148A Pending JPH01237851A (en) 1988-03-18 1988-03-18 Automatic debugging device

Country Status (1)

Country Link
JP (1) JPH01237851A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61282940A (en) * 1985-06-07 1986-12-13 Nec Corp Control program inspection system using event table

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61282940A (en) * 1985-06-07 1986-12-13 Nec Corp Control program inspection system using event table

Similar Documents

Publication Publication Date Title
US5051997A (en) Semiconductor integrated circuit with self-test function
JPH01237851A (en) Automatic debugging device
EP0362392A1 (en) Pc simulation system
JPH08265278A (en) Communication and operation testing device and testing method therefor
JPH0577143A (en) Failure diagnosis device for automated line
JPH0962537A (en) Simulator for confirming operation of display device
JP2002189617A (en) Evaluation system and evaluation method
CN112579443B (en) Automatic testing method and platform of intelligent testing robot
JPS61210415A (en) Crt key input operating device
JP3114828B2 (en) Programming device
JP2726998B2 (en) Computer testing method
JP2773483B2 (en) Semiconductor test equipment
JPH05120176A (en) On-line test device
JPS5851309A (en) Sequence controller
CN117992262A (en) Fault processing method, sample analyzer and computer readable storage medium thereof
JPH02147872A (en) Scan-out operation circuit
JP2001243084A (en) Power system monitor controller and storage medium with program for executing the same stored
JPS61184647A (en) Performance test system of computer equipment
JPS58223765A (en) Automatic testing device for auxiliary relay panel
JPH0887426A (en) Self-diagnosis state display system
JPH03233643A (en) Total test system for program component
JPH05324150A (en) Device for confirming key input operation
JPS57143650A (en) Diagnostic system for fault of microiprocessor device
JPH03245072A (en) Testing device
JPH02171817A (en) Simulation system for keyboard