Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PyQt で中古オシロスコープを操作
Search
Daniel Sangorrin
April 15, 2017
How-to & DIY
2
1.3k
PyQt で中古オシロスコープを操作
Slides I used in Open Source UN-Conference 2017 Kawagoe
Daniel Sangorrin
April 15, 2017
Tweet
Share
More Decks by Daniel Sangorrin
See All by Daniel Sangorrin
武蔵野さんを真似て 中古ルーターを分解した話
sangorrin
3
1k
ファミコンエミュレータで ゲームプログラミング
sangorrin
0
850
ファミコンアセンブリ入門
sangorrin
0
740
Opentoonz
sangorrin
2
490
FMP on QEMU
sangorrin
0
1.9k
Fuego: 組込みLinuxテストフレームワーク
sangorrin
1
2.4k
Other Decks in How-to & DIY
See All in How-to & DIY
How to make the Groovebox
asonas
2
1.5k
JAWS-UG/AWSコミュニティ JAWS-UG おおいた
awsjcpm
2
2.7k
骨折と入院とIoT #iotlt
n0bisuke2
1
320
自分がご機嫌になれる 素敵な場所を守るために
kenichirokimura
2
110
苦手の克服方法 / How to overcome weaknesses
toma_sm
0
260
すぐできる! 運送業でやってみた業務効率化3選
dochin2635
0
100
RDKX3 ハンズオン資料 東京 D-Robotics 日本語
takasumasakazu
0
120
JAWS-UG Community Upadate - JAWS-UG 熊本
awsjcpm
2
150
CH32Vシリーズを楽しもう(74thの場合) / enjoy ch32v series
74th
1
920
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
5
490
【加筆修正版】ハードワークを支えるフィジカルとメンタルを構築る#rubymusclemixin 活動 #きのこ2025 #きのこ2025_b
bash0c7
0
200
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
1
110
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
920
Product Roadmaps are Hard
iamctodd
PRO
53
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Adopting Sorbet at Scale
ufuk
77
9.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Designing for humans not robots
tammielis
253
25k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
Faster Mobile Websites
deanohume
307
31k
Transcript
PyQt で中古オシロスコープを操作 @daromart http://sangorrin.github.com http://sangorrin.blogspot.com http://sangorrin.blogspot.com Daniel Sangorrin ( ダニエル
)
前回の OSunC 川越 • Octave (Matlab の OSS 版 )
– スライド等は github.com/sangorrin においてある • 発表後、観光してたら… 怪しい人
デッカイ デッカイ カメレオン カメレオン ここ! ここ! 時の鐘 OpenSuse のファン どうぞ!
今回の発表 ヒゲが ヒゲが ない時 ない時 対象物
あるサイトでオシロを購入した • 岩通 BRINGO DS 8812 100MHz 500MS/s • 小さくて、そこそこ安かったけど…
画面右側に 画面右側に 乱れが! 乱れが!
頑張って分解したが、 直せなかった
しかも、もう一度 組み立てると…
なにこれ! なにこれ!
男も悩む… LCD を入れ 替えたら どう? いやー お金の無駄に なるかな~ てか、俺は ソフトのガイ
だぜ!
シリアルポートがあるじゃん • オシロのマニュアルにプロトコルの説明がある! (c) IWATSU ELECTRIC CO.,LTD
運が良ければ少し見えるよ。 さて、シリアルポートを 設定しよう!
これは大事! オシロ オシロ PC PC
Hello world (1/2) (c) IWATSU ELECTRIC CO.,LTD DATE?
Hello world (2/2) Ack '\x06' CR→CR+LF DATE 結果
Qt Designer によるカッコイイ GUI
Signals: クリックするとこの関数を
後は Python コードを書くだけ $ pyuic4 window.ui > window.py $ kate
logic from PyQt4 import QtGui from window import Ui_MainWindow class Main(QtGui.QMainWindow, Ui_MainWindow): def __init__(self, ): super(Main, self).__init__() self.setupUi(self) ... if __name__ == '__main__': app = QtGui.QApplication(sys.argv) main = Main() main.show() sys.exit(app.exec_()) https://github.com/sangorrin/iwatsu-ds-8812-bringo-dso-application.git
決まる! 決まる!
決まる! 決まる!
おわり @daromart http://sangorrin.github.com http://sangorrin.blogspot.com http://sangorrin.blogspot.com スライドはこっち: https://speakerdeck.com/sangorrin (slideshare やめよう! )