1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

デジタルオシロスコープでR

Posted at

概要

デジタルオシロスコープのFDDを修理したので、データをRで使ってみた。

準備

横河 DL1540(古いデジタルオシロ)
windowsなパソコン
Excel
ana.exe(横河のサンプルプログラム)
R

データを書き込む。

波形をFDDに保存する。
005.JPG

データを変換する。

ana.exeでテキストに変換する。
ana 001 0 > 001.txt
Excelで加工する。
001.txtを読み込んで
左側に、タイムベースとなる数字を書き込む。
test.csvで書き込む。

t,v
0.000002,2.00E-02
0.000004,0.00E+00
0.000006,0.00E+00
0.000008,2.00E-02
0.00001,0.00E+00

Rで読み込む。

y<-read.csv("test.csv")
plot(y, type="l")

r.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?