JPH03191414A - Data input system - Google Patents
Data input systemInfo
- Publication number
- JPH03191414A JPH03191414A JP1334370A JP33437089A JPH03191414A JP H03191414 A JPH03191414 A JP H03191414A JP 1334370 A JP1334370 A JP 1334370A JP 33437089 A JP33437089 A JP 33437089A JP H03191414 A JPH03191414 A JP H03191414A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input device
- input
- alpha
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は連続的にデータ入力を行う入力装置とオペレー
タが操作した場合にのみデータ入力を行う入力装置の接
続したコンピュータのデータ入力方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data input method for a computer that is connected to an input device that inputs data continuously and an input device that inputs data only when operated by an operator.
第2図に示すように、連続的にデータ入力を行う入力装
置1とオペレータが操作した場合にのみデータ入力を行
う入力装置2とが接続されたコンピュータ3におけるデ
ータ入力方式について考える。As shown in FIG. 2, consider a data input method in a computer 3 in which an input device 1 that inputs data continuously and an input device 2 that inputs data only when operated by an operator are connected.
従来のこの種の技術について第3図のフローチャートに
より説明する。A conventional technique of this type will be explained with reference to a flowchart shown in FIG.
コンピュータ3は周期的に入力装置1よりおくられてく
るデータαをとりこむ(ステップSL)。The computer 3 periodically takes in data α sent from the input device 1 (step SL).
次に、このデータαをコンピュータ3の内部データに変
換しくステップ83)コンピュータ3内で処理する(ス
テップS4)。次に、オペレータによる入力装置2より
の入力の有無の判断を行い(ステップ85)、この入力
がない場合はステップS1に戻り、次のデータαが送ら
れてくるまで待つ。Next, this data α is converted into internal data of the computer 3 (step 83) and processed within the computer 3 (step S4). Next, it is determined whether there is an input from the input device 2 by the operator (step 85), and if there is no input, the process returns to step S1 and waits until the next data α is sent.
一方、オペレータよりの入力がある場合は、入力装置2
よりおくられてくるデータβを入力しくステップS6)
、コンピユータ3内部で処理しくステ、ツブS7)、ス
テップS1へ戻る。On the other hand, if there is input from the operator, input device 2
Step S6)
, the process is performed inside the computer 3 (step S7), and the process returns to step S1.
以上のステップ1〜ステツプ7をくり返す事により、入
力装置1より連続的に送られてくるデータαを処理する
と共に、オペレータ操作による入力装置2よりのデータ
βがあればその処理も行う。By repeating steps 1 to 7 above, the data α continuously sent from the input device 1 is processed, and if there is data β sent from the input device 2 by operator operation, that data is also processed.
とおりである。 That's right.
ステップS1からステップS7までの各ステップにかか
る時間をtlからt7とする。入力装置2より入力が無
い場合、ステップ86.ステップS7は実行されないた
め、
T+= t 、+ t s+t 4+ t s
・・・・・・ (1)の時間で入力装置1よりのデー
タαをとりこむことができる。又、入力装置20入力が
あった場合には、
T2=t++ts+tt+ts+ts+ty・・・・・
・ (2)
の時間がかかるが、この間に入力装置1より入力された
次のデータαはバッファリングしておく事で後にとりこ
めば支障はない。Let tl to t7 be the time required for each step from step S1 to step S7. If there is no input from the input device 2, step 86. Since step S7 is not executed, T+=t,+ts+t4+ts
. . . The data α from the input device 1 can be taken in in the time (1). Also, when there is input from the input device 20, T2=t++ts+tt+ts+ts+ty...
- (2) It takes time, but if the next data α input from the input device 1 during this time is buffered and fetched later, there will be no problem.
以上により、入力装置lよりはT1秒間に1データのデ
ータを受けとる事ができる。しかるに、ステップS3の
データ変換には時間がかかるためT1の値は大きくなる
。このため、入力装置lから十分に速くデータをとりこ
むことができないという欠点があった。As described above, one piece of data can be received from the input device 1 every T1 seconds. However, since the data conversion in step S3 takes time, the value of T1 becomes large. For this reason, there was a drawback that data could not be taken in from the input device l quickly enough.
本発明のデータ入力方式は、連続的にデータ入力を行う
第1の入力装置及びオペレータが操作した場合のみデー
タ入力を行う第2の入力装置の接続したコンピュータの
データ入力方式において、前記第1の入力装置より入力
したデータの変化の有無を判断する第1のステップと、
この第1のステップにより前記第1の入力装置よりのデ
ータが変化しないと判断した場合のみ前記第2の入力装
置よりの入力を行う第2のステップとを含んでいる。The data input method of the present invention is a data input method for a computer connected to a first input device that inputs data continuously and a second input device that inputs data only when operated by an operator. a first step of determining whether there is a change in the data input from the input device;
The method includes a second step of inputting data from the second input device only when it is determined that the data from the first input device does not change in the first step.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示すフローチャートである
。本実施例は第2図に示すシステムに適用される。FIG. 1 is a flowchart showing one embodiment of the present invention. This embodiment is applied to the system shown in FIG.
まず、コンピュータ3ば入力装置1よりのデータαを待
ち取り込む(ステップSl)。次に、前回取り込んだデ
ータαと比較しくステップ82)、同一の場合はステッ
プS5以降の入力装置2よりの入力処理へいくが、異る
場合にはデータαを内部データに変換しくステップS3
)、処理を行うなく、入力装置1より入力したデータα
をそのまま比較すればよい。ステップS2でデータαが
同一と判断した場合は、入力装置2よりの入力の有無を
判断しくステップ85)、入力装置2よりデータβの入
力を行い(ステップS6)、データを処理する(ステッ
プ87)。First, the computer 3 waits for data α from the input device 1 (step Sl). Next, the data α is compared with the previously captured data (step 82), and if they are the same, the process proceeds to input processing from the input device 2 starting from step S5, but if they are different, the data α is converted to internal data (step S3).
), data α input from input device 1 without processing
Just compare them as is. If it is determined in step S2 that the data α are the same, it is determined whether there is an input from the input device 2 (step 85), data β is input from the input device 2 (step S6), and the data is processed (step 87). ).
以上説明したようにして入力装置1よりデータαを入力
するのに用する時間TNは次のとおりになる。The time TN used to input data α from the input device 1 as described above is as follows.
ステップS1からステップS7までの各ステップにかか
る時間をtlからt7とする。入力装置1よりのデータ
αが変化する場合に入力装置1よりデータαを入力する
のに用する時間は
Ts= t ++t t+t s +t s
・・・・・・ (3)となる。入力装置1よりのデータ
αが変化しない場合に入力装置1よりデータαを入力す
るのに用いる時間は、ステップS3での内部データへの
変換は前回のデータα入力時のステップS3での変換デ
ータをそのまま使用できるので
T4= t ++t 2+ t s ・・
・・・・ (4)となる。更にオペレータ操作により入
力装置2よりの入力があった場合には
Ts”” t 1+ t 2+ t a+ t s+
t rとなる。Let tl to t7 be the time required for each step from step S1 to step S7. When the data α from the input device 1 changes, the time used to input the data α from the input device 1 is Ts=t ++t t+t s +t s
...... (3). When the data α from the input device 1 does not change, the time used to input the data α from the input device 1 is determined by the conversion to internal data in step S3 based on the converted data in step S3 when inputting the previous data α. can be used as is, so T4= t ++ t 2+ t s...
...(4). Furthermore, when there is an input from the input device 2 due to operator operation, Ts"" t 1+ t 2+ t a+ t s+
It becomes tr.
ここで、13,1.>1.であるため、T 3 > T
4となる。又、入力装置2より入力がある事は少ない
ため、ステ、プ86.ステ、プS7の処理中に入力され
た入力装置1よりのデータαはバッファリングしておき
後で処理する事ができる。以上により、T’s = T
3となる。Here, 13,1. >1. Therefore, T 3 > T
It becomes 4. Also, since there are fewer inputs than input device 2, steps 86. The data α inputted from the input device 1 during the processing in step S7 can be buffered and processed later. From the above, T's = T
It becomes 3.
入力装置1よりデータαをとりこむ時間を第3図に示す
従来の方式におけると比較すると、従来の方式では T
+= t ++ t s+ t 4+t s、本実施例
では TN=t++tz+ts+t<である。ステップ
S2では特別なデータ変換は不用であり入力装置2より
のデータ入力を調べるステップS5効果がある。Comparing the time required to import data α from the input device 1 with the conventional method shown in FIG. 3, the conventional method has T
+= t ++ t s+ t 4+t s, and in this example, TN=t++ tz+ts+t<. No special data conversion is required in step S2, and the effect of step S5 is that the data input from the input device 2 is checked.
第1図は本発明の一実施例を示すフローチャート、第2
図は第1図に示す実施例が適用されるシステムのブロッ
ク図、第3図は従来のデータ入力方式の一例を示すフロ
ーチャートである。
1.2・・・・・・入力装置、3・・・・・・コンピュ
ータ。FIG. 1 is a flowchart showing one embodiment of the present invention, and FIG.
This figure is a block diagram of a system to which the embodiment shown in FIG. 1 is applied, and FIG. 3 is a flowchart showing an example of a conventional data input method. 1.2...Input device, 3...Computer.
Claims (1)
タが操作した場合のみデータ入力を行う第2の入力装置
の接続したコンピュータのデータ入力方式において、前
記第1の入力装置より入力したデータの変化の有無を判
断する第1のステップと、この第1のステップにより前
記第1の入力装置よりのデータが変化しないと判断した
場合のみ前記第2の入力装置よりの入力を行う第2のス
テップとを含むことを特徴とするデータ入力方式。In a data input method of a computer connected to a first input device that continuously inputs data and a second input device that inputs data only when operated by an operator, a change in the data input from the first input device. a first step of determining the presence or absence of the input device; and a second step of inputting data from the second input device only when it is determined that the data from the first input device does not change as a result of the first step. A data input method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1334370A JPH03191414A (en) | 1989-12-21 | 1989-12-21 | Data input system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1334370A JPH03191414A (en) | 1989-12-21 | 1989-12-21 | Data input system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03191414A true JPH03191414A (en) | 1991-08-21 |
Family
ID=18276611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1334370A Pending JPH03191414A (en) | 1989-12-21 | 1989-12-21 | Data input system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03191414A (en) |
-
1989
- 1989-12-21 JP JP1334370A patent/JPH03191414A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03191414A (en) | Data input system | |
JPH05233280A (en) | Pipeline arithmetic processor | |
JPS6229816B2 (en) | ||
JPH0749880A (en) | Data base access request device | |
JPH0594559A (en) | Keyboard input device equivalent system | |
JPH0398163A (en) | Vector data processor | |
JP3161174B2 (en) | Key telephone equipment | |
JPH06110871A (en) | Dead time estimating method | |
JPS6285349A (en) | Timer control system | |
JPH04180134A (en) | Pseudo error generating system | |
JPS6136846A (en) | Program control system | |
JPH08304024A (en) | Estimation method for burning position in incinerator | |
JPH02181230A (en) | Error detecting method and real time data | |
JPS62233874A (en) | Information processing system | |
JPH03105497A (en) | Alarm generation and recovery decision circuit | |
JPH0231269A (en) | Multi-scheduling controlling system | |
JPS6126165A (en) | Input device of digital signal | |
JPH01229350A (en) | System for deciding output device | |
JPH05216670A (en) | Inference processing system | |
JPH02310740A (en) | Program debugging system | |
JPH02105236A (en) | System for counting response time in time sharing system | |
JPS63159937A (en) | Method for converting software | |
JPS6280731A (en) | Transaction parallel processing control system based upon multiplexing of picture buffer | |
JPH0353370A (en) | Parallel processor for information processor | |
JPH03187544A (en) | Synchronizing processing lsi interface system |