Edu

Free Software for Data Collection Program

for RRR Measurement on NEC-MS-DOS system

Electrical Resistivity Measurement Program, "Nbrrr".
Version 2
08 August 1994

Nbrrr Data Collection Program; Coded in Japanese Mode, and works only at the Japanese made PCs, only because N88BASIC was used for programming.

このプログラムは

  1. アドバンテスト社製のプログラマブル直流電圧/電流発生器 TR6142 と
  2. Keithley 社製のナノボルトメータ Mode 181 と
  3. ヒューレットパッカードのデジボル 3457A
を使って、通信回線規格である GP-IB で接続し、NEC PC98 シリーズのパソコンか、互換機の EPSON PC286 シリーズの MS-DOS のパソコンを使って直流電気抵抗の自動測定と平均化、データ記録を行うものです。よって、これらの機器が必ず必要です。室温の電気抵抗と、ある低い温度での電気抵抗をわり算すると「トリプル・アール」 RRR と呼ばれる材料の純度をあわらす値が求まるわけです。 測定時間は可変、測定電流も可変です。これら設定条件を Nbrrr1 というプログラムでグラフィカルに設定条件を画面に表示して、設定を定め、これをファイルに記録しておき、試料を取り替えても、同じ実験条件(電流、測定時間、電流反転回数、など)を同一にします。
測定プログラム自体は Nbrrr2 です。プラスとマイナスの電流の向きを自動的に反転し平均を記録します。電流反転切り替え後は装置が不安定になるので、適当な安定化時間を設定できます。ノイズとの兼ねあわせですが、ノイズを除去するために何回かの平均を取ります。その後、平均化したデータと測定時刻、チャンネル番号をアスキーファイルに記録します。
  1. プログラム実行前に電流値、反転回数、精度、時間間隔や平均化処理に関するパラメータ、などを変更できます。
  2. 保存されるデータは表計算ソフトでも読み込める形式のアスキーファイル(ファイル名 nbrrr.dat)です。ファイル名を変更するのはプログラムが面倒なのでやめた。
  3. Keithleyのマニュアルにはヒューレット・パッカード社のBASICでプログラムの例が示されていますが、NEC PC98 シリーズのパソコンや、互換機の EPSON PC286 シリーズでは N88BASIC が標準であり、簡単にプログラムできませんでした。
  4. 4端子法による直流抵抗を測るようにプログラムしていますが、ソースコードを変更するとデジボルで測定できる各種の測定が可能です。
  5. 時間間隔を短くして測る実験には不向きです。シリアル・ポーリングの技術を使っていませんので。

実行のためには MS-DOS3.1 以上と MS-DOS 版の N88BASIC.EXE, N88BASIC.LIB がルートディレクトリに必要です。また GP-IB カードをパソコンに差し込んで置く必要があります。GP-IB カードの制御のためにルートディレクトリに GPIB.EXE という N88BASIC 正規版付属のファイルが必要です。これらは著作権がありネットで配布することはできません。オンボロパソコンでも十分測定制御が可能なこと、GP-IB 対応の言語が少なく高価なために、古い言語ですが、N88BASIC でプログラムしました。スタンドアロンの N-BASIC では GP-IB の制御ができませんので、MS-DOS 版が必要です。

HINT: CONFIG.SYS で FILES= のパラメータを 15 程度に大きくとっておいてください。


WARNING * FOR DOWNLOAD: In our old server, we are sorry that anonymous FTP server program is not available. Please use your function such as "SAVE AS .." commands in your plauza.

  1. Nbrrr1.bas (38kB)
    source PROGRAM; To make a parameter file. ASCII Text for MS-DOS-N88 BASIC. Not necessary item for executing. If you do not have N88 Basic compiler, then you can let this sorce code work in the interpleter mode from N88 Basic Window. It does not cause any problem. For the Overseas Users : Any graphic command speciallized for VGA was not used, but this source used the dialect of NEC N88 BASIC on MS-DOS and also the speciallized hardware. It is impossible to run on IBMAT compatible PCs.
  2. Nbrrr2.bas (21kB)
    source PROGRAM; To measure the electrical resistivity and to record it in a file. ASCII Text for MS-DOS-N88 BASIC. Not necessary item for executing. If you do not have N88 Basic compiler, then you can let this sorce code work in the interpleter mode from N88 Basic Window. It does not cause any problem. For the Overseas Users : Any graphic command speciallized for VGA was not used, but this source used the dialect of NEC N88 BASIC on MS-DOS and also the speciallized hardware. It is impossible to run on IBMAT compatible PCs.
  3. Nb.bat (1kB)
    Sample file for system setting; ASCII Text for MS-DOS-N88 BASIC. Necessary item for executing.
  4. Kim.smp (1kB)
    Sample file for Parameter setting; ASCII Text. Created by Nbrrr1.bas when excuting. Not Necessary item for your executing. Before runing Nbrrr2.bas, this kind of file is needed.
  5. Kim3.sqc (1kB)
    Sample file for Parameter Squence setting; ASCII Text. Created by Nbrrr1.bas when excuting. Not Necessary item for your executing. Before runing Nbrrr2.bas, this kind of file is needed.

Loaded on 4 Sept. 1997. Ryosuke O. SUZUKI.
If you find the program error, please let me know.
<-- Back to R.O.Suzuki FreeSoft MenuPage(Jap.)