JP2011027505A - Waveform display apparatus - Google Patents
Waveform display apparatus Download PDFInfo
- Publication number
- JP2011027505A JP2011027505A JP2009172304A JP2009172304A JP2011027505A JP 2011027505 A JP2011027505 A JP 2011027505A JP 2009172304 A JP2009172304 A JP 2009172304A JP 2009172304 A JP2009172304 A JP 2009172304A JP 2011027505 A JP2011027505 A JP 2011027505A
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- vram
- display device
- update rate
- 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.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、波形表示装置に関し、詳しくは、波形の高速描画に関するものである。 The present invention relates to a waveform display device, and more particularly to high-speed waveform drawing.
波形表示装置の一種に、表示制御部にビデオRAM(以下VRAMという)を設けたものがある。図8は、このような従来の波形表示装置の一例を示すブロック図である。図8において、マイクロプロセッサ1には表示制御部2を介して表示部3が接続されるとともに、図示しない測定部で測定される測定データを逐次格納する測定データ格納部4が直接接続されている。表示制御部2には、VRAM21が設けられている。ここで、表示部3の表示画面とVRAM21は1対1に対応している。
One type of waveform display device is one in which a display RAM is provided with a video RAM (hereinafter referred to as VRAM). FIG. 8 is a block diagram showing an example of such a conventional waveform display device. In FIG. 8, a
図8の表示部3に波形を表示するのにあたっては、表示すべき波形データが、表示制御部2のVRAM21に直接書き込まれる。すなわち、図示しない測定部で測定される波形を表示部3に表示する場合には、測定データ格納部4に格納された測定データが表示用データに加工されるとともに、表示制御部2が備えている汎用的な直線や点描画などの描画命令が用いられる。
In displaying the waveform on the
特許文献1には、表示用VRAMと記録用VRAMを備えた波形測定装置の構成が記載されている。
しかし、図8の構成によれば、表示制御部2に設けられている汎用的な描画命令が用いられることから、多数の波形を描画する測定器の場合には、表示させたい波形の数に比例して描画更新レートが低下するという問題がある。
However, according to the configuration of FIG. 8, since a general-purpose drawing command provided in the
本発明は、このような従来の問題点に着目したものであり、その目的は、複数の波形を高速に描画表示できる波形表示装置を提供することにある。 The present invention pays attention to such conventional problems, and an object thereof is to provide a waveform display device capable of drawing and displaying a plurality of waveforms at high speed.
このような課題を達成する請求項1の発明は、
表示制御部にVRAMを設けた波形表示装置であって、
前記VRAMは複数のVRAM面で構成され、
波形の表示にあたり、更新レートの高低に応じてVRAM面毎に分けて描画することを特徴とする。
The invention of
A waveform display device provided with a VRAM in a display control unit,
The VRAM is composed of a plurality of VRAM surfaces,
When displaying the waveform, it is characterized by being drawn separately for each VRAM surface according to the level of the update rate.
請求項2の発明は、請求項1記載の波形表示装置において、
前記VRAM面への波形描画は、
描画波形データをどのVRAM面に書き込むかを指示する波形描画情報テーブルに基づいて実行されることを特徴とする。
The invention of
Waveform drawing on the VRAM surface
The processing is executed based on a waveform drawing information table for instructing which VRAM surface to write the drawing waveform data.
請求項3の発明は、請求項1または請求項2記載の波形表示装置において、
前記VRAM面への波形描画は、
描画波形を消去するための塗りつぶし機能を含むことを特徴とする。
The invention according to
Waveform drawing on the VRAM surface
A filling function for erasing the drawing waveform is included.
請求項4の発明は、請求項1から請求項3のいずれかに記載の波形表示装置において、
前記VRAM面への波形描画は、
描画更新レートを変更したタイミングで実行されることを特徴とする。
The invention of
Waveform drawing on the VRAM surface
It is executed at the timing when the drawing update rate is changed.
請求項5の発明は、請求項1から請求項4のいずれかに記載の波形表示装置において、
前記VRAM面への波形描画は、
メイン画面に表示される測定波形の一部を別の画面に拡大して表示するズーム機能であることを特徴とする。
The invention according to
Waveform drawing on the VRAM surface
It is a zoom function for enlarging and displaying a part of the measurement waveform displayed on the main screen on another screen.
これらにより、複数の波形を高速に描画表示できる。 As a result, a plurality of waveforms can be drawn and displayed at high speed.
以下、本発明について、図面を用いて説明する。図1は本発明の一実施例を示すブロック図であり、図8と共通する部分には同一の符号を付けている。図1において、マイクロプロセッサ1にはRAM11が設けられていて、RAM11内には、測定データ格納部4に格納された測定データから作成された描画波形データ格納部11aと、この描画波形データ格納部11aに格納されている描画波形データを表示制御部2のVRAM21どの面に書き込むかの波形描画情報テーブルを保持するVRAM描画先格納部11bが設けられている。
Hereinafter, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and the same reference numerals are given to portions common to FIG. In FIG. 1, a microprocessor 11 is provided with a RAM 11. In the RAM 11, a drawing waveform
表示制御部2には、VRAM21と、波形描画部22と、ビデオ合成部23が設けられている。この表示制御部2で生成されたビデオ信号は、表示部3に表示される。
The
図2は、図1の表示制御部2におけるVRAM21周辺の動作説明図である。VRAM21は、たとえば3枚のVRAM面21a,21b,21cで構成されている。ビデオ合成部23は、これらVRAM面21a,21b,21cを合成順番に従って合成し、表示画面を生成する。ビデオ合成部23で生成された表示画面は、表示部3に表示される。
FIG. 2 is an operation explanatory diagram around the
図3は、図1の表示制御部2における波形描画部22周辺の動作説明図である。波形描画部22は、マイクロプロセッサ1に実装されているプログラムにより作成された描画波形データを使って、VRAM21に対する波形の描画を高速に行う。図3の例では、VRAM面21aにはアナログ波形を描画し、VRAM面21bにはデジタル波形を描画し、VRAM面21cにはXY波形を描画する例を示している。
FIG. 3 is an operation explanatory diagram around the
ここで、描画される波形は、波形描画部22が生成可能な波形であればどのような波形でもよいが、描画波形を消去するための矩形塗りつぶし機能は不可欠である。矩形塗りつぶし機能は、VRAM21上の指定した矩形領域をたとえば一義的に透明に塗りつぶす機能であり、描画波形を消去するために利用する。
Here, the waveform to be drawn may be any waveform that can be generated by the
図4は、マイクロプロセッサ1に設けられたVRAM描画先格納部11bに格納されている波形描画情報テーブルの初期設定例図である。この波形描画情報テーブルは書き換え可能なテーブルであり、どの描画波形データをどのVRAM21のどの領域に描画するかが格納されている。フィールドF11には波形描画データと対応する重複しないIDとして「波形ID」が格納され、フィールドF12には波形データのアドレスを格納する「波形データアドレス」が格納され、フィールドF13には波形を描画する領域をXY座標と高さと幅の矩形で表す「波形描画領域」が格納され、フィールドF14にはVRAM21のどの面に描画するかを示す「VRAM書き込み位置」が格納されている。
FIG. 4 is an initial setting example diagram of the waveform drawing information table stored in the VRAM drawing
マイクロプロセッサ1は、測定データ格納部4に格納された測定データを解析して描画波形データを作成し、描画波形データ格納部11aに格納するとともに、VRAM描画先格納部11bの波形描画情報テーブルに格納する。そして、波形描画情報テーブルに格納された波形描画情報に基づいて表示制御部2に波形描画命令を発行することにより、波形描画部22はVRAM21に対する波形データの描画を高速に行う。
The
たとえば、図4に示すテーブルで波形データを描画している状態で、ある瞬間から波形ID#1,2,3の更新が停止し、波形ID#4のみを更新する必要が発生したとする。この場合には、VRAM描画先格納部11bに格納されている波形描画情報テーブルを図5に示すように更新することにより、VRAM#1に描画していた波形ID#4の波形を消去してVRAM#2に波形ID#4の波形を描画し、以後、VRAM#2に所属する波形のみを更新すればよい。つまり、更新レートが低いものと高いものをVRAM面毎に分けて描画することで、より少ない処理時間で多数の波形を描画できるようになる。
For example, suppose that waveform data is drawn in the table shown in FIG. 4, and updating of
なお、図1の実施例では、マイクロプロセッサ1のRAM11内に描画波形データ格納部11aとVRAM描画先格納部11bを設けているが、これらを表示制御部2に設けるようにしてもよい。
1, the drawing waveform
また、図2では、VRAM21が21a,21b,21cの3面の例を示したが、3面に限るものではなく、少なくとも2面以上であればよい。
2 shows an example in which the
すなわち、描画するVRAM面が1つしかないか描画する面を変更できないハードウェア構成の場合には、更新レートが混在する波形を描画するのにあたり、更新レートが低い波形数が多いほど全体の更新レートが低下することになるが、本発明のように更新レートが低いものと高いものをVRAM面毎に分けて描画することにより、更新レートが混在する波形であっても、全体の描画処理時間を短縮して高速に描画できる。 That is, in the case of a hardware configuration in which there is only one VRAM surface to be drawn or the drawing surface cannot be changed, when drawing a waveform with a mixed update rate, the larger the number of waveforms with a lower update rate, the more the entire update Although the rate is reduced, the entire drawing processing time is reduced even if the update rate is mixed for each waveform by rendering the low update rate and the high update rate separately for each VRAM surface as in the present invention. Can be drawn at high speed.
なお、波形の描画更新レート設定を導入することにより、更新レートを変更した場合にどのVRAM面に書き分けるかを、マイクロプロセッサ1のプログラムに基づき自動で振り分けるように構成することもできる。
In addition, by introducing a waveform drawing update rate setting, it can be configured to automatically assign to which VRAM surface the data is written when the update rate is changed based on the program of the
図6は、各波形IDに更新レートの設定を追加した波形描画情報テーブルの具体例である。図6の例では、更新レートの初期値としてBが設定されていて、更新レートをBからA,B,C,D(更新レートはAが高くてDが低い)に変更した様子を示している。 FIG. 6 is a specific example of a waveform drawing information table in which an update rate setting is added to each waveform ID. In the example of FIG. 6, B is set as an initial value of the update rate, and the update rate is changed from B to A, B, C, D (the update rate is high and D is low). Yes.
ここでの説明では、単純なアルゴリズムを適用している。更新レートがBの場合はVRAM#2に書き込み、Bより高いものはVRAM#1に書き込み、Bより低いものはVRAM#3に書き込む。描画更新レートを変更したタイミングで全VRAM面に対して再描画を行い、以後、描画更新レートに応じて各VRAM面(#1,2,3)を更新する。
In the description here, a simple algorithm is applied. When the update rate is B, data is written in
図7は、測定停止時における測定波形のズーム表示の説明図である。たとえばデジタルオシロスコープには、メイン画面に表示される測定波形の一部を別の画面に拡大して表示するズーム機能がある。ズーム機能は、メイン画面の波形を連続的に更新する測定実行中以外にも、メイン画面に最終波形を表示していて更新は停止している測定停止中にも動作する。メイン画面の波形は更新せずにズーム画面の波形のみ更新することで、高速に全波形を描画することができる。 FIG. 7 is an explanatory diagram of the zoom display of the measurement waveform when the measurement is stopped. For example, a digital oscilloscope has a zoom function for enlarging and displaying a part of a measurement waveform displayed on a main screen on another screen. The zoom function operates not only during measurement execution that continuously updates the waveform on the main screen, but also during measurement stop when the final waveform is displayed on the main screen and update is stopped. By updating only the waveform on the zoom screen without updating the waveform on the main screen, all waveforms can be drawn at high speed.
このとき、1枚のVRAM面だけを利用して全波形を描画するためには、更新停止中の波形も含めて再描画しなければならない。そこで、メイン画面の波形とズーム画面の波形を別々に描画するために個別のVRAM面を2つ用意しておき、ズーム画面に対応するVRAM面だけを更新する。これにより、高速に画面更新することができる。 At this time, in order to draw all the waveforms using only one VRAM surface, it is necessary to redraw including the waveforms for which updating is stopped. Therefore, two separate VRAM planes are prepared to draw the main screen waveform and the zoom screen waveform separately, and only the VRAM plane corresponding to the zoom screen is updated. Thereby, the screen can be updated at high speed.
以上説明したように、本発明によれば、複数の波形を高速に表示できる波形表示装置を実現でき、たとえばデジタルオシロスコープなどに好適である。 As described above, according to the present invention, a waveform display device capable of displaying a plurality of waveforms at high speed can be realized, and is suitable for a digital oscilloscope, for example.
1 マイクロプロセッサ
11 RAM
11a 描画波形データ格納部
11b VRAM描画先格納部
2 表示制御部
21 VRAM
22 波形描画部
23 ビデオ合成部
3 表示部
4 測定データ格納部
1 Microprocessor 11 RAM
11a Drawing waveform
22
Claims (5)
前記VRAMは複数のVRAM面で構成され、
波形の表示にあたり、更新レートの高低に応じてVRAM面毎に分けて描画することを特徴とする波形表示装置。 A waveform display device provided with a VRAM in a display control unit,
The VRAM is composed of a plurality of VRAM surfaces,
A waveform display device characterized in that, when displaying a waveform, drawing is performed for each VRAM surface in accordance with the level of the update rate.
描画波形データをどのVRAM面に書き込むかを指示する波形描画情報テーブルに基づいて実行されることを特徴とする請求項1記載の波形表示装置。 Waveform drawing on the VRAM surface
2. The waveform display device according to claim 1, wherein the waveform display device is executed based on a waveform drawing information table for instructing which VRAM surface to write the drawing waveform data.
描画波形を消去するための塗りつぶし機能を含むことを特徴とする請求項1または請求項2記載の波形表示装置。 Waveform drawing on the VRAM surface
3. The waveform display device according to claim 1, further comprising a fill function for erasing the drawn waveform.
描画更新レートを変更したタイミングで実行されることを特徴とする請求項1から請求項3のいずれかに記載の波形表示装置。 Waveform drawing on the VRAM surface
4. The waveform display device according to claim 1, wherein the waveform display device is executed at a timing at which the drawing update rate is changed.
メイン画面に表示される測定波形の一部を別の画面に拡大して表示するズーム機能であることを特徴とする請求項1から請求項4のいずれかに記載の波形表示装置。 Waveform drawing on the VRAM surface
5. The waveform display device according to claim 1, wherein the waveform display device has a zoom function for enlarging and displaying a part of the measurement waveform displayed on the main screen on another screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009172304A JP5387900B2 (en) | 2009-07-23 | 2009-07-23 | Waveform display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009172304A JP5387900B2 (en) | 2009-07-23 | 2009-07-23 | Waveform display device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011027505A true JP2011027505A (en) | 2011-02-10 |
JP5387900B2 JP5387900B2 (en) | 2014-01-15 |
Family
ID=43636430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009172304A Active JP5387900B2 (en) | 2009-07-23 | 2009-07-23 | Waveform display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5387900B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05265435A (en) * | 1992-01-24 | 1993-10-15 | Hioki Ee Corp | Method for scrolling waveform image of waveform recording device |
JPH10187138A (en) * | 1996-03-27 | 1998-07-14 | Fluke Corp | Method for efficiently constructing display image and display processor system |
-
2009
- 2009-07-23 JP JP2009172304A patent/JP5387900B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05265435A (en) * | 1992-01-24 | 1993-10-15 | Hioki Ee Corp | Method for scrolling waveform image of waveform recording device |
JPH10187138A (en) * | 1996-03-27 | 1998-07-14 | Fluke Corp | Method for efficiently constructing display image and display processor system |
Also Published As
Publication number | Publication date |
---|---|
JP5387900B2 (en) | 2014-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPWO2008093391A1 (en) | Image display device and image display method | |
US20150082974A1 (en) | Music score display device, music score display method, and program storage medium | |
JP5303116B2 (en) | Screen editing device and its program | |
US10789913B2 (en) | Arbitrary block rendering and display frame reconstruction | |
KR20200071266A (en) | Signage apparatus and control method thereof | |
JP5387900B2 (en) | Waveform display device | |
CN108279962B (en) | Method and device for creating visual data display interface | |
JP5073608B2 (en) | Image output apparatus, image output method, and program | |
US8379046B2 (en) | Method and apparatus for rendering | |
JP2007292857A (en) | Image processor and image processing method | |
JP4409918B2 (en) | Graphic drawing apparatus and program thereof | |
JP5407590B2 (en) | Image display device | |
JP2010145596A (en) | Projector, program, and information storage medium | |
JP2007188338A (en) | Image processor | |
JP6147448B1 (en) | Data processing apparatus, data processing method, and data processing program | |
JP2007264762A (en) | Verification simulator and verification simulation method | |
JP2017208031A (en) | Characteristic display program, information processing apparatus, and characteristic display method | |
JP2021028728A5 (en) | ||
JP2012008694A (en) | Layout pattern generation device and layout pattern generation method | |
JPH0713549A (en) | Display processing method | |
JPH0561630A (en) | Method for displaying multiwindow of image display device | |
JP2013142987A (en) | Image processing program and image processing device | |
JP2014035453A (en) | Image processor | |
JP2011043600A (en) | Popup screen display | |
JP2009251307A (en) | Image display system and image display method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120611 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130719 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130827 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130912 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130925 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5387900 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |