Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
PyQt で中古オシロスコープを操作
Daniel Sangorrin
April 15, 2017
How-to & DIY
2
900
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
520
ファミコンエミュレータで ゲームプログラミング
sangorrin
0
500
ファミコンアセンブリ入門
sangorrin
0
570
Opentoonz
sangorrin
2
350
FMP on QEMU
sangorrin
0
1.3k
Fuego: 組込みLinuxテストフレームワーク
sangorrin
1
1.9k
Other Decks in How-to & DIY
See All in How-to & DIY
2022.09.23 メタルスタックチャンを作ってみた
mongonta0716
2
250
自家製Kubernetesクラスタを作ってみた 2022
yutoacts
0
250
SFC版ロマサガ2(実機)でバグ皇帝を出すまでの苦労と努力 / romancing-saga2-crimson-flare
kaga
0
140
複数解像度・画面比率対応UIの配置手法
putinu
2
610
上司のご機嫌を伺ってみるIoT #iotlt #oura
n0bisuke2
0
430
ommf2022-presentation
qx5k_iskw
0
110
コーチズクリニック活用のススメ / スクフェス札幌 2021 / coaches clinic
spring_aki
PRO
2
1.8k
mftokyo2022-presentation
qx5k_iskw
0
290
ITエンジニアのための正しい手斧の投げかた
dominion525
2
300
インターホンからBoxに画像アップロードしてみた話 #iotlt
n0bisuke2
0
290
はじめてのBabylon.js
a2k3ine
0
370
JWCについてのご意見
bigtree
0
210
Featured
See All Featured
Design by the Numbers
sachag
271
18k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
175
9.1k
Rails Girls Zürich Keynote
gr2m
87
12k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
239
19k
Teambox: Starting and Learning
jrom
124
7.9k
Six Lessons from altMBA
skipperchong
15
2.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
500
130k
Building an army of robots
kneath
301
40k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
214
12k
Designing for humans not robots
tammielis
245
24k
Bash Introduction
62gerente
601
210k
Facilitating Awesome Meetings
lara
33
4.6k
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 やめよう! )