JPH0637339Y2 - Waveform storage - Google Patents

Waveform storage

Info

Publication number
JPH0637339Y2
JPH0637339Y2 JP486487U JP486487U JPH0637339Y2 JP H0637339 Y2 JPH0637339 Y2 JP H0637339Y2 JP 486487 U JP486487 U JP 486487U JP 486487 U JP486487 U JP 486487U JP H0637339 Y2 JPH0637339 Y2 JP H0637339Y2
Authority
JP
Japan
Prior art keywords
memory
acquisition
address
microcomputer
display
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.)
Expired - Lifetime
Application number
JP486487U
Other languages
Japanese (ja)
Other versions
JPS63113964U (en
Inventor
保宏 浜口
Original Assignee
日立電子株式会社
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 日立電子株式会社 filed Critical 日立電子株式会社
Priority to JP486487U priority Critical patent/JPH0637339Y2/en
Publication of JPS63113964U publication Critical patent/JPS63113964U/ja
Application granted granted Critical
Publication of JPH0637339Y2 publication Critical patent/JPH0637339Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は波形記憶装置において,記憶した波形の表示の
高速化に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to speeding up the display of stored waveforms in a waveform storage device.

〔考案の概要〕[Outline of device]

波形記憶装置は,被観測信号を常時アナログ−ディジタ
ル変換(以下AD変換)し,メモリへの書込みを行ない,
トリガがかかった後更に所定の回数mのAD変換,書込み
を行なった後停止する。そして停止時以前のデータn個
を別の表示用メモリへ転送し,表示する。ここでn>m
とすると,トリガがかかる以前のデータを表示可能であ
り,これが通常のオシロスコープに対する大きな特長で
ある。反面停止位置はトリガの有無に依存するため,表
示すべきn個のデータの位置は不定である。このため,
アクイジションメモリの末尾から表示メモリへの転送を
開始し,アクイジションメモリの先頭へ戻るケースも存
在する。従って常にアドレスをチェックしつつ転送を行
なわねばならない。本考案は,メモリへのアクセス回路
にセレクタを付加し,常に所望のメモリのみをアクセス
できる様にして,上記処理を不要とし,アクイジション
メモリから表示メモリへのデータ転送の高速化を図るも
のである。
The waveform storage device constantly performs analog-to-digital conversion (hereinafter AD conversion) of the observed signal and writes it to the memory.
After a trigger is applied, AD conversion and writing are performed a predetermined number of times m, and then the operation is stopped. Then, the n data before the stop is transferred to another display memory and displayed. Where n> m
Then, it is possible to display the data before the trigger is applied, which is a major feature of ordinary oscilloscopes. On the other hand, since the stop position depends on the presence or absence of a trigger, the positions of n pieces of data to be displayed are indefinite. For this reason,
There are also cases where the transfer from the end of the acquisition memory to the display memory is started and the process returns to the beginning of the acquisition memory. Therefore, it is necessary to always check the address while transferring. The present invention is to add a selector to a memory access circuit so that only a desired memory can be accessed at all times, thereby eliminating the above processing and speeding up data transfer from an acquisition memory to a display memory. .

〔従来の技術〕[Conventional technology]

従来の技術として,転送にダイレクトメモリアクセス方
式を利用するものがあり,これは最も速く転送できる
が,専用の大規模集積回路及び周辺回路を必要とする。
As a conventional technique, there is one that uses a direct memory access method for transfer, which allows the fastest transfer, but requires a dedicated large-scale integrated circuit and peripheral circuits.

いま1つの方法は,アクイジションメモリのエリア,表
示用メモリのエリア共に,マイクロコンピュータのメモ
リを利用し,プログラムにて転送する方式である。これ
は各メモリへのポインタを設け,間接アドレッシングに
より1データづつ転送,ポインタの更新を繰返すもので
ある。前述の如く,転送はメモリの末尾から初めて先頭
へ戻るケースも存在する。従って本方式ではポインタ更
新の都度末尾か否かを前記エリアの別に係らず全てのア
ドレスについてチェックする必要があり,このために要
する処理時間は,本来の転送,ポインタ更新処理以上の
ものとなる。
The other method is a method in which both the acquisition memory area and the display memory area use the memory of the microcomputer and are transferred by a program. In this method, a pointer is provided to each memory, and data is transferred one by one by indirect addressing and pointer updating is repeated. As described above, in some cases, the transfer first returns from the end of the memory to the beginning. Therefore, in this method, it is necessary to check whether or not it is at the end every time the pointer is updated, regardless of the area, and the processing time required for this is longer than the original transfer and pointer updating processing.

〔考案が解決しようとする問題点〕[Problems to be solved by the invention]

以上述べた如く,従来の技術では,高価な回路を使用す
るか,又は安価だが低速のプログラム転送を行なうかの
何れかである。
As described above, in the conventional technology, either an expensive circuit is used or an inexpensive but slow program transfer is performed.

近年波形記憶装置は大容量化の方向にあり,後者を採用
した場合転送時間が増大し,操作性を低下させる事とな
る。
In recent years, the waveform storage device is in the direction of increasing the capacity, and if the latter is adopted, the transfer time will increase and the operability will decrease.

本考案は,これらの欠点を解決するため,プログラム転
送方式においてメモリの末尾のデータ転送後自動的に先
頭以後をアクセスする事を可能とし,これにより転送時
間を短縮し,操作性を向上させる事を目的とする。
In order to solve these drawbacks, the present invention makes it possible to automatically access the data at the end of the memory after the data is transferred in the program transfer method, thereby shortening the transfer time and improving the operability. With the goal.

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

本考案は,上記目的を達成するため,マイクロコンピュ
ータより各メモリを切離し,各メモリはセレクタによっ
て選択し,メモリ内データは,マイクロコンピュータか
ら出力されるアドレス信号のうちメモリ容量に対応する
部分(4096バイトの場合下位12ビット)でアクセスする
様にしたものである。また各メモリの容量は2のべき乗
とする。
In order to achieve the above object, the present invention separates each memory from the microcomputer, selects each memory by a selector, and stores the data in the memory in a portion (4096) of the address signal output from the microcomputer. In the case of bytes, the lower 12 bits are accessed. The capacity of each memory is a power of 2.

〔作用〕 この結果を,メモリ容量を4096バイトとして説明する。
メモリの末尾を転送した時ポインタの値はFFF(16進
数)である。これを1バイト分更新すると1000(16進
数)となるが,有効なのは下位3桁(12ビット)であ
り,そのメモリはセレクタにより選択されているため,
メモリ内000(16進数)番地,即ち先頭をアクセスでき
る。
[Operation] This result will be explained assuming that the memory capacity is 4096 bytes.
When the end of the memory is transferred, the pointer value is FFF (hexadecimal number). When this is updated by 1 byte, it becomes 1000 (hexadecimal number), but the valid one is the lower 3 digits (12 bits), and its memory is selected by the selector.
The address 000 (hexadecimal number) in the memory, that is, the beginning can be accessed.

〔実施例〕〔Example〕

以下2チャネルの波形記憶装置における本考案の実施例
を第1図により説明する。1は全体の制御を行なうマイ
クロコンピュータでそのフローチャートを第2図に示
す。2はアドレス信号のうち上位4ビット,3は下位12ビ
ット,4,7,8はセレクタ,5,6は7,8を選択する信号,9は7,8
が各メモリを選択するための信号,10,11,12,13は各メモ
リを選択する信号,14,15はアクイジションメモリ,16,17
は表示用メモリで,各メモリ共4096バイト,18は8ビッ
トのデータバスを示す。
An embodiment of the present invention in a 2-channel waveform storage device will be described below with reference to FIG. Reference numeral 1 is a microcomputer for controlling the whole, and its flowchart is shown in FIG. 2 is the upper 4 bits of the address signal, 3 is the lower 12 bits, 4, 7 and 8 are selectors, 5 and 6 are signals for selecting 7, 8 and 9 is 7, 8
Is a signal for selecting each memory, 10, 11, 12, 13 are signals for selecting each memory, 14, 15 are acquisition memories, 16, 17
Is a display memory, each memory is 4096 bytes, and 18 is an 8-bit data bus.

次にこの動作について説明する。マイクロコンピュータ
1はアドレス信号上位4ビット2及び選択信号9を出力
する。アクイジションメモリまたは表示用メモリを選択
するためのセレクタ4はアドレス信号上位4ビット2が
B,C(16進数)の時選択信号5を出力し,D,E(16進数)
の時選択信号6を出力し,セレクタ7,8の何れかを駆動
する。これによりアクイジションメモリ14,15,又は表示
メモリ16,17の何れかが選択される。セレクタ7が駆動
された時選択信号9を入力し,OFFの時選択信号10,ONの
時選択信号11を出力してアクイジションメモリ14,15の
うちチャネルに対応して,何れかを選択する。セレクタ
8が駆動された時,同様にチャネルに対応して表示用メ
モリ16,又は17を選択する。この様にしてマイクロコン
ピュータ1はアドレス信号上位4ビット2,選択信号9に
よりアクイジションメモリ14,15,表示用メモリ16,17の
うち何れか1つを選択する。又マイクロコンピュータ1
はアドレス信号下位12ビット出力3を出力し,各メモリ
内アドレスを指定する。
Next, this operation will be described. The microcomputer 1 outputs the upper 4 bits 2 of the address signal and the selection signal 9. The selector 4 for selecting the acquisition memory or the display memory has the upper 4 bits 2 of the address signal.
Select signal 5 is output when B, C (hexadecimal), D, E (hexadecimal)
At that time, the selection signal 6 is output to drive one of the selectors 7 and 8. As a result, either the acquisition memory 14 or 15 or the display memory 16 or 17 is selected. When the selector 7 is driven, the selection signal 9 is input, when it is OFF, the selection signal 10 is output, and when it is ON, the selection signal 11 is output to select one of the acquisition memories 14 and 15 corresponding to the channel. When the selector 8 is driven, the display memory 16 or 17 is similarly selected corresponding to the channel. In this way, the microcomputer 1 selects any one of the acquisition memories 14 and 15 and the display memories 16 and 17 according to the upper 4 bits 2 of the address signal and the selection signal 9. Also microcomputer 1
Outputs the lower 12 bits of the address signal 3 and designates the address in each memory.

この様にして,マイクロコンピュータ1が選択信号9を
OFFとし,B000〜CFFF番地(16進数)をアクセスすると常
にアクイジションメモリ14内アドレスがアクセスされる
事になる。特にポインタがBFFF番地(16進数)を示した
後1バイト分更新するとC000番地(16進数)となるが,
実際には上記動作によりB000番地をアクセスする事にな
る。アクイジションメモリ15,表示用メモリ16,17へのア
クセスも同様である。
In this way, the microcomputer 1 outputs the selection signal 9
When it is turned off and the address B000 to CFFF (hexadecimal number) is accessed, the address in the acquisition memory 14 is always accessed. In particular, if the pointer indicates the address BFFF (hexadecimal number) and then it is updated by 1 byte, it becomes address C000 (hexadecimal number).
Actually, the above operation will access the address B000. The same applies to access to the acquisition memory 15 and the display memories 16 and 17.

〔考案の効果〕[Effect of device]

以上本考案によれば,プログラムによるメモリ末尾のチ
ェック及び先頭への切換処理は不要となる。
As described above, according to the present invention, it is not necessary to check the end of the memory by the program and switch to the beginning.

従って,従来のプログラム転送方式に比べて転送時間が
大幅に短縮される。特に,マイクロコンピュータの機種
によっては,任意個数のデータを1個の命令で転送でき
るものがある。本考案を実施すれば,この命令を使用す
る事ができ,この場合ダイレクトメモリアクセス方式に
近い転送速度を得る事ができる。
Therefore, the transfer time is greatly reduced compared to the conventional program transfer method. In particular, depending on the model of the microcomputer, there is one that can transfer an arbitrary number of data with one instruction. By implementing the present invention, this instruction can be used, and in this case, a transfer speed close to that of the direct memory access method can be obtained.

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

第1図は本考案の実施例を示すブロック図,第2図はマ
イクロコンピュータ1のフローチャートである。 1:マイクロコンピュータ,4,7,8:セレクタ,14,15:アクイ
ジションメモリ,16,17:表示用メモリを示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart of the microcomputer 1. 1: Microcomputer, 4, 7, 8: Selector, 14, 15: Acquisition memory, 16, 17: Display memory.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】マイクロ・コンピュータと,該マイクロ・
コンピュータからのアナログ−ディジタル変換されたデ
ータを同マイクロ・コンピュータからの下位ビットのア
ドレス信号に対応して記憶する複数のアクイジションメ
モリと,該アクイジションメモリから転送されるデータ
を前記マイクロ・コンピュータからの下位ビットのアド
レス信号に対応して記憶する複数個の表示用メモリと、
前記マイクロ・コンピュータからのメモリアドレスを示
す上位ビットのアドレス信号により前記アクイジション
メモリか、前記表示用メモリかを選択するアクイジショ
ンメモリ−表示用メモリのセレクタと、前記マイクロ・
コンピュータからの選択信号により前記複数のアクイジ
ションメモリの内の1つを選択するアクイジションメモ
リセレクタと、前記マイクロ・コンピュータからの選択
信号により前記複数の表示用メモリのうちの1つを選択
する表示用メモリセレクタより構成され、前記アクイジ
ションメモリから前記表示メモリへのデータ転送に際し
ては前記マイクロ・コンピュータのメモリアドレスの下
位ビットにより前記アクイジションメモリのアドレスを
指定することにより前記アクイジションメモリへのアク
セスは該メモリの最終アドレスから先頭アドレスへ循環
的に制御することを特徴とする波形記憶装置。
1. A micro computer and the micro computer.
A plurality of acquisition memories for storing the analog-digital converted data from the computer in correspondence with the lower-order bit address signal from the same microcomputer, and the data transferred from the acquisition memory, the lower memory from the microcomputer. A plurality of display memories for storing in correspondence with bit address signals,
An acquisition memory-a selector for a display memory, which selects between the acquisition memory and the display memory according to an address signal of an upper bit indicating a memory address from the microcomputer;
An acquisition memory selector for selecting one of the plurality of acquisition memories according to a selection signal from a computer, and a display memory for selecting one of the plurality of display memories according to a selection signal from the microcomputer. When transferring data from the acquisition memory to the display memory, the address of the acquisition memory is specified by the lower bit of the memory address of the microcomputer to access the acquisition memory at the end of the memory. A waveform storage device characterized by cyclically controlling from an address to a leading address.
JP486487U 1987-01-19 1987-01-19 Waveform storage Expired - Lifetime JPH0637339Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP486487U JPH0637339Y2 (en) 1987-01-19 1987-01-19 Waveform storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP486487U JPH0637339Y2 (en) 1987-01-19 1987-01-19 Waveform storage

Publications (2)

Publication Number Publication Date
JPS63113964U JPS63113964U (en) 1988-07-22
JPH0637339Y2 true JPH0637339Y2 (en) 1994-09-28

Family

ID=30785924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP486487U Expired - Lifetime JPH0637339Y2 (en) 1987-01-19 1987-01-19 Waveform storage

Country Status (1)

Country Link
JP (1) JPH0637339Y2 (en)

Also Published As

Publication number Publication date
JPS63113964U (en) 1988-07-22

Similar Documents

Publication Publication Date Title
US4454500A (en) Analog data acquisition device
JPH0637339Y2 (en) Waveform storage
JPH07160392A (en) Key code variable keyboard
JPS6240736B2 (en)
JP3755653B2 (en) Contact input / output program controller
JP2000099452A (en) Dma control device
JPH0718174Y2 (en) Arbitrary waveform generator
JP3611049B2 (en) Internal register circuit
JP2553630B2 (en) Data processing device
JPH05315957A (en) Analog/digital conversion device
JPH0527866B2 (en)
JPS63142434A (en) Interrupt control system
JPS5893097A (en) Color switching circuit
JPS6324506Y2 (en)
JPH05289938A (en) Memory access device
JP3215934B2 (en) Microprocessor development support equipment
JPH06214939A (en) Dma controller
JPS61112270A (en) Byte converter
JPS5913766B2 (en) Address control method
JPH0279149A (en) System for transferring data of recorder
JPS60225253A (en) Information processing device
JPS61184655A (en) Data transmission system
JPH01283593A (en) Access system for display memory
JPH11345196A (en) Bus controller
JPH0934776A (en) Device and method for processing information