JPH01105111A - recorder - Google Patents
recorderInfo
- Publication number
- JPH01105111A JPH01105111A JP26240387A JP26240387A JPH01105111A JP H01105111 A JPH01105111 A JP H01105111A JP 26240387 A JP26240387 A JP 26240387A JP 26240387 A JP26240387 A JP 26240387A JP H01105111 A JPH01105111 A JP H01105111A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- address
- display
- dot
- 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
Links
Landscapes
- Recording Measured Values (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は電流や電圧等のアナログ入力をデジタル化して
高速にサンプリングし、ディスプレイの画面上にドツト
で表示するレコーダ、特に以前に表示した画面を再度表
示して観測できるものに関する。[Detailed Description of the Invention] Industrial Field of Application The present invention is applicable to recorders that digitize analog inputs such as current and voltage, sample them at high speed, and display them as dots on a display screen. Concerning what can be displayed and observed.
従来の技術
従来、高速サンプリングレコーダではA−D変換器でア
ナログ入力データを例えば1m5ec間隔でサンプリン
グし、その入力データからドツトデータを作成して、は
ぼリアルタイムでドツトマトリックス構成のプリンタに
出力してその記録紙にドツトで波形等をプリントし、又
はドツトマトリックス構成のディスプレイに出力してそ
の画面にドツトで波形等を表示している。その際、アナ
ログ入力データのサンプリング点を記録紙や画面上にそ
のまま点くドツト)で示すもの″や点の間を補間して線
として見せるもの等がある。いずれも高速でサンプリン
グするため、応答性の良いレコーダができる。Conventional technology Conventionally, high-speed sampling recorders sample analog input data using an A-D converter at intervals of, for example, 1m5ec, create dot data from the input data, and output it to a printer with a dot matrix configuration in almost real time. Waveforms, etc. are printed as dots on the recording paper, or output to a display with a dot matrix configuration, and the waveforms, etc. are displayed as dots on the screen. In this case, there are methods that show the sampling points of analog input data as dots directly on the recording paper or screen, and methods that interpolate between the points and show them as lines. You can make a recorder with good performance.
発明が解決しようとする問題点
しかしながら、このようなレコーダの多くは以前の波形
を記憶していないため、ディスプレイの画面上に残って
いる部分以外は再度同一波形を観測できない。又、以前
の波形を記憶しているものでも、メモリ容量には制限が
ある。このため、高速サンプリングレコーダでも、1v
ンプルを1ワードでメモリに記憶する通常の方法では記
録紙を送るスピードを遅くすれば波形を長時間記録でき
るが、その波形はほんのわずかの紙の長さの分しか記憶
されていない。例えばサンプリング周期を1m5eCに
し、メモリ容量を64にワードにすると、記憶時間は約
65秒になるため、紙送りレンジをIDIV/rT1i
nにすると、1DIVと少ししか波形を記憶できない。Problems to be Solved by the Invention However, many such recorders do not store previous waveforms, and therefore cannot observe the same waveform again except for the portion that remains on the display screen. Furthermore, even if the previous waveform is stored, the memory capacity is limited. For this reason, even with high-speed sampling recorders, 1v
With the usual method of storing samples in memory as one word, the waveform can be recorded for a long time by slowing down the recording paper, but the waveform is only stored for a fraction of the length of the paper. For example, if the sampling period is 1m5eC and the memory capacity is 64 words, the storage time will be approximately 65 seconds, so the paper feed range will be set to IDIV/rT1i.
When set to n, only 1 DIV of waveforms can be stored.
特に、ディスプレイ付きのレコーダで、プリントをせず
にディスプレイの画面上でのみ波形を観測している場合
、少し前の波形でさえ見れないのは不都合である。Particularly when using a recorder with a display and observing waveforms only on the display screen without printing them, it is inconvenient that you cannot see even the waveforms from a while ago.
本発明はこのような従来の問題点に着目してなされたも
のであり、以前の画面を再度表示し得るレコーダを提供
することを目的とする。The present invention has been made in view of these conventional problems, and it is an object of the present invention to provide a recorder that can display the previous screen again.
問題点を解決するための手段
上記目的を達成するための手段を、以下本発明を示す第
1図を用いて説明する。Means for Solving the Problems Means for achieving the above object will be explained below using FIG. 1 showing the present invention.
このレコーダはその入力部にはアナログ入力データをデ
ジタル入力データに変換するA−D変換器10と、以前
に表示した画面に戻す画面戻し指示手段を有する操作部
14とを備え、入力処理部にはディスプレイ24のドツ
トマトリックス画面に対応する番地割り付けをし、書き
込み及び読み出し番地を循環的に構成した循環バッファ
メモリー20を介在して、時系列に沿ってサンプリング
する入力データからドツトデータを作成して、一定サン
プリング数又は一定時間毎に循環バッファメモリ20の
番地を替えて書き込みを繰り返すドツトデータ入力手段
38と、読み出し番地を書き込み番地より後方の番地に
定め、循環バッフ7メモリ20からその番地を替えて読
み出しを繰り返し、ディスプレイ24の画面上にドツト
データを表示するドツトデータ出力手段40と、画面戻
し指示手段の操作により、循環バッファメモリ20から
その番地を逆時系列に戻す戻し画面出力手段42を設け
、出力部にはドツトマトリックスで構成した画面を表示
するディスプレイ24を具備するものである。The input section of this recorder includes an A-D converter 10 for converting analog input data into digital input data, and an operation section 14 having screen return instruction means for returning to a previously displayed screen. The dot data is created from input data sampled in chronological order through a circular buffer memory 20 which is assigned addresses corresponding to the dot matrix screen of the display 24 and has write and read addresses arranged in a circular manner. , a dot data input means 38 that repeats writing by changing the address of the circular buffer memory 20 every fixed sampling number or fixed time; and a dot data input means 38 that sets the read address at an address after the write address and changes that address from the circular buffer memory 20. dot data output means 40 which repeats reading and displays dot data on the screen of the display 24; and return screen output means 42 which returns the addresses from the circular buffer memory 20 in reverse chronological order by operating the screen return instruction means. The output section is equipped with a display 24 for displaying a screen composed of a dot matrix.
作用 上記手段は次のように作用する。action The above means works as follows.
チャンネルから入るアナログ入力データは八−〇変換器
10がデジタル入力データに変換する。Analog input data coming from the channels is converted to digital input data by an 8-0 converter 10.
このように時系列に沿ってサンプリングする入力データ
からドツトデータ入力手段38はドツトデータを作成し
て、一定サンプリング数又は一定時間毎に循環バッフ7
メモリ20の番地を替えて書き込みを繰り返す。なお、
循環バッファメモリ20にはディスプレイ24のドツト
マトリックス画面に対応する番地割り付けをして、書き
込み及び読み出し番地を循環的に構成する。この循環バ
ッフ1メモリ20からドツトデータ出力手段40は読み
出し番地を書込み番地より後方の番地に定めて、その番
地を替えて読み出しを繰り返し、ディスプレイ24の画
面上にドツトデータを表示する。In this way, the dot data input means 38 creates dot data from the input data sampled in time series, and inputs the dot data to the circular buffer 7 at a fixed number of samplings or at fixed time intervals.
The address of the memory 20 is changed and writing is repeated. In addition,
Addresses corresponding to the dot matrix screen of the display 24 are assigned to the circular buffer memory 20, and write and read addresses are configured cyclically. The dot data output means 40 sets the read address from the circular buffer 1 memory 20 at an address after the write address, changes the address and repeats reading, and displays the dot data on the screen of the display 24.
又、戻し画面出力手段42では画面戻し指示手段の操作
により、循環バッファメモリ20からその番地を逆時系
列に戻す。このため、以前に表示した画面が再度表示さ
れる。ディスプレイ24はドツトマトリックスで構成し
た画面を表示する。Further, the return screen output means 42 returns the addresses from the circular buffer memory 20 in reverse chronological order by operating the screen return instruction means. Therefore, the previously displayed screen is displayed again. The display 24 displays a screen composed of a dot matrix.
実施例 以下、添付図面に基づいて、本発明の詳細な説明する。Example Hereinafter, the present invention will be described in detail based on the accompanying drawings.
第2図は本発明を適用したレコーダの構成を示すブロッ
ク図である。図中、10.12.14はレコーダの入力
部にあるA−D変換器、タイマ、操作部である。このA
−D変換器10は例えば8ビツト構成であり、チャンネ
ル16から入る電流、電圧、電力等のアナログ入力デー
タをデジタル入力データに変換する。その際、タイマ1
2はA−D変換器10から入力データをサンプリングす
るために、例えば’1m5ec毎に割込み信号を発生し
て割込みルーチンを起動する。又、操作部14には指示
手段として、画面の表示を開始するスタートスイッチ、
画面の表示を停止するストップスイッチ、以前の画面に
表示を戻す後方画面戻しスイッチ、その画面から前方の
画面に表示を戻す前方画面戻しスイッチ等があり、それ
らを操作する各キーが備えである。このようにして時系
列に沿ってサンプリングした入力データはCPUを備え
た装置18に入り、そこで入力データからドツトデータ
を作成し、メモリに書き込む等、プリントや画面表示に
必要な処理が行なわれる。このCPUを備えた装@18
にはドツトデータを記憶する循環バッファメモリ例えば
ドツトデータ記憶専用 ′RAM20、そのバッフ7メ
モリ20から読み出したドツトデータをプリントするプ
リンタ例えばドツトプリンタ22、又、それらのドツト
データを表示するディスプレイ例えばCRTディスプレ
イ24等がそれぞれ接続されている。FIG. 2 is a block diagram showing the configuration of a recorder to which the present invention is applied. In the figure, reference numerals 10, 12, and 14 are an A-D converter, a timer, and an operation section in the input section of the recorder. This A
-D converter 10 has, for example, an 8-bit configuration, and converts analog input data such as current, voltage, power, etc. input from channel 16 into digital input data. At that time, timer 1
2 generates an interrupt signal every '1m5ec to start an interrupt routine in order to sample input data from the A/D converter 10. The operation unit 14 also includes a start switch for starting displaying the screen as an instruction means;
There is a stop switch that stops displaying the screen, a backward screen return switch that returns the display to the previous screen, and a front screen return switch that returns the display from that screen to the previous screen, and each key is provided to operate them. The input data sampled in chronological order in this manner enters a device 18 equipped with a CPU, where dot data is created from the input data, and processing necessary for printing and screen display, such as writing it into memory, is performed. A device equipped with this CPU @18
A circular buffer memory for storing dot data, such as a RAM 20 dedicated to storing dot data, a printer such as a dot printer 22 for printing the dot data read out from the buffer 7 memory 20, and a display for displaying the dot data, such as a CRT display 24. etc. are connected to each other.
上述したCPUを備えた装置18には例えばCPU(中
央処理装置)26、ROM(読み出し専用メモリ)28
、RAM (読み出し書き込み可能メモリ)30、入力
ポート32、出力ポート34、パスライン36等から構
成されているマイクロコンピュータを用いる。そのCP
U26はマイクロコンピュータの中心となる頭脳部に相
当し、プログラムの命令に従って全体に対する制御を実
行すると共に、算術、論理演算を行ない、その結果も一
時的に記憶する。又、周辺装置に対しても制御を行なっ
ている。ROM28にはレコーダ全体を制御するための
制御プログラム、入力データの処理プログラム等が格納
されている。又、RAM30はCPU26の演算結果の
データ等を記憶する。The device 18 equipped with the CPU described above includes, for example, a CPU (central processing unit) 26 and a ROM (read-only memory) 28.
, a RAM (readable/writable memory) 30, an input port 32, an output port 34, a pass line 36, and the like. Its CP
U26 corresponds to the central brain section of the microcomputer, and executes overall control according to program instructions, performs arithmetic and logical operations, and temporarily stores the results. It also controls peripheral devices. The ROM 28 stores a control program for controlling the entire recorder, an input data processing program, and the like. Further, the RAM 30 stores data such as calculation results of the CPU 26.
入力ポート32にはA−D変換器10、タイマ12、操
作部14等が接続されている。又、出力ポート34には
プリンタ22、CRTディスプレイ24等が接続されて
いる。パスライン36はそれらを接続するためのアドレ
スバスライン、データバスライン、制御パスライン等を
含み、ドツトデータ記憶専用RAM20とも接続してい
る。なお、このRAM20はCPU26のアドレス空間
に割り付けられている。The input port 32 is connected to an A-D converter 10, a timer 12, an operation section 14, and the like. Further, a printer 22, a CRT display 24, etc. are connected to the output port 34. The path line 36 includes an address bus line, a data bus line, a control path line, etc. for connecting these, and is also connected to the RAM 20 dedicated to dot data storage. Note that this RAM 20 is allocated to the address space of the CPU 26.
又、ドツトプリンタ22には1ドツトラインずつ記録紙
を移動してプリントできるライン型サーマル記録ヘッド
を備えたドツト・マトリックスプリンタを用いる。この
サーマル記録ヘッドには1ラインに沿って1からX番例
えば256番まで入力データの量を示すドツト位置があ
る。そこで、記録紙の256ドツトに当る縦軸を電圧軸
、紙送り方向に当る横軸を時間軸にして、例えば紙送り
スピードを10sec/DIVに設定し、その1DIV
当りのプリンタ22のドツト数を50点に構成すると、
1ドツトライン当りのスピードは200m5ecになる
ため、1ドツトラインにつき200回のサンプリングを
行なって、第3図に示すような波形をドツトでプリント
することができる。なお、このような1ドツトライン当
りの書き込みにはサンプリング数に替えて、サンプリン
グ時間を割り当ててもよい。The dot printer 22 is a dot matrix printer equipped with a line-type thermal recording head that can print by moving the recording paper one dot line at a time. This thermal recording head has dot positions along one line from number 1 to number X, for example number 256, indicating the amount of input data. Therefore, the vertical axis corresponding to 256 dots on the recording paper is the voltage axis, and the horizontal axis corresponding to the paper feeding direction is the time axis. For example, the paper feeding speed is set to 10 sec/DIV, and the 1 DIV
If the number of dots in each printer 22 is set to 50,
Since the speed per one dot line is 200 m5ec, sampling can be performed 200 times per one dot line, and a waveform as shown in FIG. 3 can be printed as dots. Incidentally, instead of the number of samplings, a sampling time may be assigned to such writing per dot line.
又、CRTディスプレイ24はその画面を同様にドツト
マトリックス例えば256ドツトX512ドツトで構成
する。但し、512ドツトは横軸であり、ドツトライン
の数を示す。このCRTディスプレイ24はビデオRA
MやCRTコントローラを含む。なお、CRTディスプ
レイ24に替えて、ドツトマトリックスで構成した画面
を表示するLCDディスプレイ等を同様に用いることも
できる。Similarly, the screen of the CRT display 24 is composed of a dot matrix, for example, 256 dots x 512 dots. However, 512 dots are on the horizontal axis and indicate the number of dot lines. This CRT display 24 is a video RA
Including M and CRT controller. Note that instead of the CRT display 24, an LCD display or the like that displays a screen configured with a dot matrix may be used.
そこで、ドツトデータ記憶専用RAM20には例えば6
4にバイトの容量のものを用い、そこにCRTディスプ
レイ24のドツトマトリックス画面に対応させて番地割
り付けをする。即ち、第4図に示すように画面の256
ドツトから成る1ドツトラインに対応させて、メモリの
1単位を256ビツト(1ビツトライン)にする。これ
は32バイトに相当するため、64にバイトでは204
8ビツトラインの16進数で示した書き込み及び読み出
し番地を循環的に使用する循環バッファメモリが構成で
きる。因みに、1バイトは8ビツトに当るので、256
ビツトを8ビツトで割ると32バイトとなり、64にバ
イトは実際には65536ビツトに当るので、6553
6ビツトを32バイトで割ると2048ビツトラインと
なる。なお、ビットラインの数はディスプレイ24の画
面上にあるドツトラインの数より当然多くなければなら
ない。このような循環バッファメモリ20に入力データ
から作成したドツトデータを書き込むには例えば最初に
10000H番地から1001FH番地まで入力し、そ
れが入力し終ったら10020H番地から1003FH
番地までの間に入力し、更にビットラインを替えて同様
に入力を繰り返し、1FFEO1−1番地まで行ったら
次には10000 H番地に戻るというように循環的に
使う。Therefore, the RAM 20 dedicated to dot data storage has, for example, 6
4 with a byte capacity, and addresses are assigned thereto in correspondence with the dot matrix screen of the CRT display 24. That is, as shown in FIG.
One unit of memory is made up of 256 bits (one bit line) corresponding to one dot line made up of dots. This corresponds to 32 bytes, so 64 bytes equals 204 bytes.
A circular buffer memory can be constructed in which write and read addresses indicated by hexadecimal numbers of 8-bit lines are used cyclically. By the way, 1 byte corresponds to 8 bits, so 256
Dividing bits by 8 bits gives 32 bytes, and 64 bytes actually equals 65536 bits, so 6553
Dividing 6 bits by 32 bytes gives 2048 bit lines. Note that the number of bit lines must naturally be greater than the number of dot lines on the screen of the display 24. To write dot data created from input data to the circular buffer memory 20, for example, first input from address 10000H to address 1001FH, and then after inputting dot data from address 10020H to 1003FH.
It is used cyclically by inputting data up to the address, then changing the bit line and repeating the same input, and when it reaches address 1FFEO1-1, it returns to address 10000H.
その際、1ビツトライン毎に例えば100OOH番地か
ら1001FH番地では第5図に示すようにサンプリン
グした入力データがOだったらその入力データから作成
したドツトデータに従って、10000H番地のbOの
ビットを“1″にし、又入力データが255だったら1
001FHI地のb7のビットを同様に“1パにする。At this time, for each bit line, for example from address 100OOH to address 1001FH, if the sampled input data is O as shown in Figure 5, the bit of bO at address 10000H is set to "1" according to the dot data created from that input data. , and if the input data is 255, then 1
Similarly, set bit b7 of 001FHI to “1pa”.
因みに、画面上でサンプリング点の間のドツトを塗り潰
して補間し、ライン表現にするためには、入力データか
ら補間データを作成して、書き込んでおく必要がある。Incidentally, in order to fill in and interpolate the dots between sampling points on the screen to create a line representation, it is necessary to create and write interpolated data from input data.
又、循環バッファメモリ20から読み出すには読み出し
番地を書き込み番地より後方の番地に定めて同様に番地
を替えて読み出しを繰り返して行なう。Further, in order to read from the circular buffer memory 20, the read address is set at an address after the write address, and the read is repeated by changing the address in the same manner.
次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.
第6図、第7図、及び第8図は入力データ処理プログラ
ムの1例を示すP1〜P23のステップから成るフロー
チャートである。このプログラムを実行するためには、
先ずPlで循環バッファメモリ20の10000H〜’
1FFFFHの全番地にOを設定し、又、CRTディス
プレイ24に含まれるビデオRAMの全番地にOを設定
し、更に1ビットライン当りのサンプリング数DATA
をOに設定する。次にP2八へき、循環バッフ7メモリ
20の書ぎ込み(入力)番地INを10000H番地に
、その読み出しく出力)番地OLJ Tを10000H
番地に設定する。次にP3へ行き、割り込みを許可する
。以降ではCPtJ26がサンプリングの受は付けを開
始するので、タイマ12からの1m5eC毎の割込み信
号により適宜第7図に示した割り込みルーチンに入る。FIG. 6, FIG. 7, and FIG. 8 are flowcharts consisting of steps P1 to P23 showing an example of an input data processing program. To run this program,
First, select 10000H~' of the circular buffer memory 20 using Pl.
Set O to all addresses of 1FFFFH, set O to all addresses of the video RAM included in the CRT display 24, and set the sampling number per bit line DATA.
Set to O. Next, go to P2, set the write (input) address IN of the circular buffer 7 memory 20 to address 10000H, and set the read (output) address OLJ T to 10000H.
Set to street address. Next, go to P3 and enable interrupts. Thereafter, the CPtJ 26 starts accepting sampling, and accordingly enters the interrupt routine shown in FIG. 7 in response to an interrupt signal every 1 m5 eC from the timer 12.
この割込みルーチンでは先ずP31でA−D変換器10
からデータを入力する。次にP32へ行き、書き込み番
地INから32バイトのビットラインへ入力データをド
ツトデータに変換して1回分書き込む。なお、各ビット
ラインの先頭番地はそのビットラインを代表する番地で
ある。次にP33へ行き、DATAに1を加算して新た
なりATAを作成し、P34へ行(。P34ではDAT
Aが1ビットライン当りの設定したサンプリング数20
0以上か判定する。In this interrupt routine, first, at P31, the A-D converter 10
Enter data from. Next, the process goes to P32, where the input data is converted into dot data and written one time from the write address IN to the 32-byte bit line. Note that the starting address of each bit line is an address that represents that bit line. Next, go to P33, add 1 to DATA to create a new ATA, and go to P34 (.In P34, DATA
A is the set sampling number per bit line 20
Determine whether it is 0 or more.
NOの場合には主プログラムの割り込みのかかった場所
に戻る。再度割り込みがかかると、P31〜P33のス
テップを経て、p34の判定を行なう。以後入力データ
をサンプリングして200回に達すると、1ビットライ
ン当りの書き込みは全て終了して、P34でYESと判
定されるので、P35へ行き、DATAを0に設定する
。次にp3Bへ行き、書き込み番地INを次の同様な処
理に備えて1ビツトライン分前方に進め、主プログラム
に戻る。If NO, the main program returns to the location where the interrupt occurred. When an interrupt occurs again, the process goes through steps P31 to P33 and then makes the determination at p34. Thereafter, when the input data is sampled 200 times, all writing per bit line is completed and YES is determined at P34, so the process goes to P35 and DATA is set to 0. Next, go to p3B, advance the write address IN by one bit line in preparation for the next similar process, and return to the main program.
このようにして時系列に沿ってサンプリングする入力デ
ータからドツトデータを作成して循環バッファメモリ2
0の番地INを替えて書き込みを繰り返す。In this way, dot data is created from the input data sampled in time series and stored in the circular buffer memory 2.
Change the address IN of 0 and repeat writing.
P4では操作部14にあるストップスイッチのキーが押
されたか判定する。NOの場合にはP5へ行く。P5で
は書き込み番地INが読み出し番地OUTと等しいか判
定する。なお、読み出し番地OUTは書き込み番地IN
より1ビツトライン分後方の番地に設定しておく。No
の場合にはP6へ行き、プリンタ22へ読み出し番地O
UTから1ビツトライン分出力する。このため、プリン
タ22の記録紙には1ドツトライン分プリントされる。At P4, it is determined whether the stop switch key on the operation section 14 has been pressed. If NO, go to P5. At P5, it is determined whether the write address IN is equal to the read address OUT. Note that the read address OUT is the write address IN.
Set the address one bit line after. No
In this case, go to P6 and send the read address O to the printer 22.
Outputs 1 bit line from UT. Therefore, one dot line is printed on the recording paper of the printer 22.
次にPlへ行き、CT Rディスプレイ24の画面を1
ドツトライン左へスクロール(移動)し、P8へ行く。Next, go to Pl and set the screen of the CTR display 24 to 1.
Scroll (move) the dot line to the left and go to P8.
P8では画面の右端の1ドツトラインへ、読み出し番地
0LJTから1ビツトライン(32バイト)分出力する
。即ち、1ビットライン分のドツトデータをビデオRA
Mに書き込む。At P8, 1 bit line (32 bytes) is output from the read address 0LJT to the 1 dot line at the right end of the screen. In other words, one bit line worth of dot data is transferred to the video RA.
Write in M.
次にP9へ行き、読み出し番地OUTを次の同様な処理
に備えて1ビツトライン分前方に進め、P4へ戻る。再
度P4 、P5の判定を経て、P6〜P9のステップを
繰り返して行なう。このようにして読み出し番地OUT
を書き込み番地INより後方の番゛地に定め、循環バッ
ファメモリ20からその番地OUTを替えてドツトデー
タの読み出しを繰り返し、プリンタ22の記録紙上にプ
リントし、CRTディスプレイ24の画面上に表示して
いく。Next, the process goes to P9, advances the read address OUT by one bit line in preparation for the next similar process, and returns to P4. After making the determinations in P4 and P5 again, steps P6 to P9 are repeated. In this way, read address OUT
is set at an address after the write address IN, and the dot data is read out repeatedly from the circular buffer memory 20 by changing the address OUT, printed on the recording paper of the printer 22, and displayed on the screen of the CRT display 24. go.
先のP4でYESの場合にはPIOへ行き、割込みを禁
止する。次にPllへ行き、通常の読み出し番地OUT
から513ビットライン分後戻りした番地へ新たな読み
出し番地0LJT2を設定する。If YES in the previous P4, go to PIO and disable interrupts. Next, go to Pll and read the normal read address OUT
A new read address 0LJT2 is set to an address 513 bit lines back from the address.
次にPl2へ行き、新たなキー人力があったか判定し、
YESの場合にはPl3へ行き、そのキーの種類を判定
する。後方画面戻しスイッチのキー(→)の場合にはP
l4へ行き、読み出し番地0LIT2が書き込み番地I
Nと等しいか判定する。なお、この判定は循環バッフ7
メモリ20を1周以上出力しないようにする処理である
。Noの場合にはP15へ行き、CRTディスプレイ2
4の画面を1ドツトライン右へスクロールする。次にP
l6へ行き、画面の左端の1ドツトラインへ、読み出し
番地0UT2から1ビツトライン分出力する。即ち、1
ビツトライン分のドツトデータをビデオRAMに書き込
んでおく。次にP17重付き、読み出し番地0UT2を
次の同様な処理に備えて1ビツトライン分後方に進める
。次にPl8へ行き、通常の読み出し番地OUTを次の
同様な処理に備えて1ビツトライン分後方に進め、Pl
2へ戻る。再度P12、Pl3、Pl4の判定を経て、
P15〜P18のステップを繰り返して行なう。このよ
うにして、画面戻しスイッチのキー操作により、通常の
読み出し番地OUTより1画面分後方の番地に読み出し
番地0UT2を戻した後、循環バッファメモリからその
番地0UT2を替えて読み出しを繰り返し、CRTディ
スプレイ24の画面上に以前の画面を示すドツトデータ
を表示する。Next, go to Pl2 and determine if there is a new key personnel,
If YES, the process goes to Pl3 and determines the type of the key. For the rear screen return switch key (→), press P.
Go to l4, read address 0LIT2 becomes write address I
Determine whether it is equal to N. Note that this judgment is based on the circulation buffer 7.
This is a process that prevents the memory 20 from being output for more than one round. If no, go to P15 and CRT display 2
Scroll the screen in step 4 one dot line to the right. Then P
16, and outputs 1 bit line from read address 0UT2 to the 1 dot line at the left end of the screen. That is, 1
Dot data for a bit line is written into the video RAM. Next, P17 is added and the read address 0UT2 is moved backward by one bit line in preparation for the next similar process. Next, go to Pl8, move the normal read address OUT backward by one bit line in preparation for the next similar process, and
Return to 2. After the judgment of P12, Pl3, and Pl4 again,
Repeat steps P15 to P18. In this way, by keying the screen return switch, the readout address 0UT2 is returned to an address one screen after the normal readout address OUT, and then the readout is repeated by changing the address 0UT2 from the circular buffer memory, and the CRT display Dot data indicating the previous screen is displayed on the screen of 24.
先のPl3で前方画面戻しスイッチのキー(←)の場合
にはPl9へ行き、通常の読み出し番地OUTが書き込
み番地INと等しいか判定する。なお、この判定も循環
バッファメモリ20を1周以上出力しないようにする処
理である。NOの場合にはP2Oへ行き、CRTディス
プレイ24の画面を1ドツトライン左へスクロールする
。次にP21へ行き、画面の右端の1ドツトラインへ、
読み出し番地OUTから1ビツトライン分出力する。即
ち、1ビツトライン分のドツトデータをビデオRAMに
書き込んでおく。次にP22へ行き、読み出し番地0U
T2を次の同様な処理に備えて1ビツトライン分前方に
進める。次にP23へ行き、通常の読み出し番地OUT
を次の同様な処理に備えて1ビツトライン分前方に進め
、Pl2へ戻る。再度P12、Pl3、Pl9の判定を
経て、P20〜P23のステップを繰り返して行なう。If the front screen return switch key (←) is pressed at P13, the process goes to P19 and it is determined whether the normal read address OUT is equal to the write address IN. Note that this determination is also a process for preventing output from the circular buffer memory 20 for more than one round. If NO, go to P2O and scroll the screen of the CRT display 24 one dot line to the left. Next, go to P21 and go to the one-dot line at the right end of the screen.
Outputs one bit line from read address OUT. That is, dot data for one bit line is written into the video RAM. Next, go to P22 and read address 0U
Advance T2 forward by one bit line in preparation for the next similar process. Next, go to P23 and read the normal read address OUT.
is advanced by one bit line in preparation for the next similar process, and returns to P12. After the determinations of P12, P13, and P19 are made again, steps P20 to P23 are repeated.
先のPl3でスタートスイッチのキーの場合にはPlへ
行く。ここで、上述したスタートスイッチのキー(スタ
ート)、ストップスイッチのキー(ストップ)、後方画
面戻しスイッチのキー(→)、前方画面戻しスイッチの
キー(←)の各操作時点と画面上に表示される波形の動
きとの対応例を第9図に示しておく。このように、波形
の表示されていない画面(イ)はスタートスイッチのキ
ーを押すと、波形が画面(ロ)のように表示され、更に
波形は画面(ハ)、(ニ)のように変化する。しかし、
ストップスイッチのキーを押すと画面(ホ)のように波
形が停止する。If Pl3 is the start switch key, go to Pl. Here, the information displayed on the screen at the time of each operation of the start switch key (start), the stop switch key (stop), the rear screen return switch key (→), and the front screen return switch key (←) described above. An example of correspondence with waveform movements is shown in FIG. In this way, when you press the start switch key on the screen (A) where no waveform is displayed, the waveform will be displayed as shown on the screen (B), and the waveform will change as shown on the screen (C) and (D). do. but,
When you press the stop switch key, the waveform stops as shown in the screen (e).
次に→のキーを押すと、画面(へ)のように以前の画面
における波形表示に戻り、そのキーを押し続けると、画
面(ト)のように更に以前の画面における波形表示に戻
る。そこで、←のキーを押すと画面(チ)のように逆方
向の画面における波形表示に戻り、そのキーを押し続け
ると、画面(す)のように更に逆方向の画面における波
形表示に戻る。この結果、適宜に以前の画面に戻して波
形を容易に観測することができる。Next, pressing the → key returns to the waveform display on the previous screen as shown in screen (g), and when the key is held down, the screen returns to the waveform display on the previous screen as shown in screen (g). Therefore, if the ← key is pressed, the screen returns to the waveform display in the opposite direction as shown in screen (H), and if the key is kept pressed, the waveform display returns to the waveform display in the screen in the further opposite direction as shown in screen (S). As a result, the waveform can be easily observed by returning to the previous screen as appropriate.
なお、上記実施例では各番地を8ビツト構成にしたが、
256ビツト構成にすれば各ビットライン毎に番地を付
けるだけでよい。In addition, in the above embodiment, each address was made up of 8 bits, but
With a 256-bit configuration, it is only necessary to assign an address to each bit line.
又、上記実施例では循環バッファメモリを電圧等の波形
を描くドツトデータの記憶専用に用いているが、プリン
タ等への出力用のバッファメモリを別に設けてもよい。Further, in the above embodiment, the circular buffer memory is used exclusively for storing dot data that depicts waveforms such as voltage, but a separate buffer memory for outputting to a printer or the like may be provided.
例えば記憶用は波形専用にし、出力用はコメント文字等
を含めてバッファリングする等である。又、循環バッフ
ァメモリには波形に加え、コメント文字等のドツトデー
タも一緒に記憶してもよい。For example, data for storage may be dedicated to waveforms, and data for output may be buffered including comment characters. Further, in addition to waveforms, dot data such as comment characters may also be stored in the circular buffer memory.
又、上記実施例では1ビツトライン毎に出力処理をして
いたが、ハードウェアの都合等により、複数ラインにま
とめて出力処理をしてもよい。Further, in the above embodiment, output processing is performed for each bit line, but depending on hardware considerations, output processing may be performed for a plurality of lines at once.
又、上記実施例では循環バッファメモリにRAMを用い
ていたが、フロッピーディスク等を使用してもよい。Further, in the above embodiment, a RAM is used as the circular buffer memory, but a floppy disk or the like may also be used.
又、上記実施例ではその操作部にスタートスイッチ、ス
トップスイッチ等も備えであるが、それらは不可欠では
なく、プログラムによって処理してもよい。Further, in the above embodiment, the operation section is provided with a start switch, a stop switch, etc., but these are not essential and may be processed by a program.
発明の詳細
な説明した本発明によれば、適宜以前の画面に戻して波
形等の入力データを容易に観測することができる。According to the present invention, which has been described in detail, input data such as waveforms can be easily observed by returning to the previous screen as appropriate.
第1図は本発明によるレコーダの構成を示すブロック図
である。
第2図は本発明を適用したレコーダの構成を示すブロッ
ク図である。
第3図は同レコーダによる入力波形のドツトマトリック
ス構成によるプリント例を示す図、第4図は同レコーダ
におけるCRTディスプレイのドツトマトリックス画面
に対応させて番地割り付けをした循環バッファメモリを
示す図、第5図はそ −の1ビツトラインに対する
書き込み状態を示す図である。
第6図、第7図、及び第8図は同レコーダに採用した入
力データ処理プログラムを示すフローチャートである。
第9図は同レコーダにおける各キーの操作時点とCRT
ディスプレイの画面上に表示される波形の動きとの対応
例を示す図である。
10・・・A−D変換器 12・・・タイマ 14・・
・操作部 18・・・CPUを備えた装@ 20・・・
循環バッフ7メモリ 22・・・プリンタ 24・・・
ディスプレイ 26・・・CPU 38・・・ドツト
データ入力手段 40・・・ドツトデータ出力手段 4
2・・・戻し画面出力手段FIG. 1 is a block diagram showing the configuration of a recorder according to the present invention. FIG. 2 is a block diagram showing the configuration of a recorder to which the present invention is applied. FIG. 3 is a diagram showing an example of printing an input waveform in a dot matrix configuration by the same recorder, FIG. The figure shows the write state for one bit line. FIG. 6, FIG. 7, and FIG. 8 are flowcharts showing the input data processing program adopted in the recorder. Figure 9 shows the timing of each key operation on the same recorder and the CRT.
FIG. 6 is a diagram illustrating an example of correspondence with the movement of waveforms displayed on the screen of a display. 10...A-D converter 12...Timer 14...
・Operation unit 18...equipment with CPU @ 20...
Circulating buffer 7 memory 22... printer 24...
Display 26...CPU 38...Dot data input means 40...Dot data output means 4
2... Return screen output means
Claims (1)
−D変換器と、以前の画面に表示を戻す画面戻し指示手
段を有する操作部と、ドットマトリックスで構成した画
面を表示するディスプレイと、ディスプレイのドットマ
トリックス画面に対応する番地割り付けをして、書き込
み及び読み出し番地を循環的に構成した循環バッファメ
モリと、時系列に沿つてサンプリングする入力データか
らドットデータを作成して、一定サンプリング数又は一
定時間毎に循環バッファメモリの番地を替えて書き込み
を繰り返すドットデータ入力手段と、読み出し番地を書
き込み番地より後方の番地に定め、循環バッファメモリ
からその番地を替えて読み出しを繰り返し、ディスプレ
イの画面上にドットデータを表示するドットデータ出力
手段と、画面戻し指示手段の操作により、循環バッファ
メモリからその番地を逆時系列に戻す戻し画面出力手段
とを具備することを特徴とするレコーダ。A converting analog input data to digital input data
- A D converter, an operation unit having a screen return instruction means for returning the display to the previous screen, a display that displays a screen composed of a dot matrix, and an address assignment corresponding to the dot matrix screen of the display, and writing. Dot data is created from a circular buffer memory in which reading addresses are configured in a circular manner and input data sampled in time series, and the address of the circular buffer memory is changed every fixed number of samplings or every fixed period of time, and writing is repeated. a dot data input means, a dot data output means for setting a read address at an address after the write address, changing the address from the circular buffer memory and repeating reading, and displaying dot data on a display screen; and a screen return instruction. A recorder comprising return screen output means for returning addresses from a circular buffer memory in reverse chronological order by operating the means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26240387A JPH01105111A (en) | 1987-10-17 | 1987-10-17 | recorder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26240387A JPH01105111A (en) | 1987-10-17 | 1987-10-17 | recorder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01105111A true JPH01105111A (en) | 1989-04-21 |
| JPH0559368B2 JPH0559368B2 (en) | 1993-08-30 |
Family
ID=17375293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26240387A Granted JPH01105111A (en) | 1987-10-17 | 1987-10-17 | recorder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01105111A (en) |
-
1987
- 1987-10-17 JP JP26240387A patent/JPH01105111A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0559368B2 (en) | 1993-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05298289A (en) | Word processor | |
| JPH10170550A (en) | Digital oscilloscope, and method for expressing time-varying waveform by oscillograph | |
| JPH01105111A (en) | recorder | |
| JPS5880737A (en) | Interactive text processing system | |
| JPH0113113B2 (en) | ||
| JPH02310592A (en) | Screen scroll control system | |
| JPS59101983A (en) | Video data storing device | |
| JPH02150919A (en) | Display system for state display row at the time of dividing and displaying | |
| CN100334614C (en) | Screen display | |
| JPS6222136A (en) | Electronic blackboard | |
| SU746736A1 (en) | Buffer storage | |
| JPH051889B2 (en) | ||
| KR940007821B1 (en) | Double size character display apparatus | |
| JPS61157973A (en) | input editing device | |
| JPH0646197B2 (en) | Waveform observation device | |
| JP2957823B2 (en) | CD subcode processing circuit | |
| JPS60168675A (en) | Printer | |
| SU824305A1 (en) | Storage | |
| JPS63200196A (en) | fluid character display device | |
| JP2932627B2 (en) | Display device | |
| JPS5893097A (en) | color switching circuit | |
| JP2828845B2 (en) | CD subcode processing circuit | |
| JPH0581846B2 (en) | ||
| JPS63163926A (en) | Data form conversion system | |
| JP2005055715A (en) | On-screen display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |