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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Daniel Sangorrin
April 15, 2017
How-to & DIY
1.4k
2
Share
PyQt で中古オシロスコープを操作
Slides I used in Open Source UN-Conference 2017 Kawagoe
Daniel Sangorrin
April 15, 2017
More Decks by Daniel Sangorrin
See All by Daniel Sangorrin
武蔵野さんを真似て 中古ルーターを分解した話
sangorrin
3
1.1k
ファミコンエミュレータで ゲームプログラミング
sangorrin
0
1k
ファミコンアセンブリ入門
sangorrin
0
800
Opentoonz
sangorrin
2
550
FMP on QEMU
sangorrin
0
2k
Fuego: 組込みLinuxテストフレームワーク
sangorrin
1
2.5k
Other Decks in How-to & DIY
See All in How-to & DIY
M5StickS3触ってXiaoZhiAI触ってみた #にぼし香 #iotlt
n0bisuke2
0
250
エッジAIでBBQの肉の焼き加減判定をやってみた #iotlt #seeed
n0bisuke2
2
280
JAWS-UG/AWS Community Update - JAWS-UG栃木 #6
awsjcpm
0
110
Node-REDでセンサーなどから起動させるカメラノードを作ったよ IoTLT vol123 #iotlt
n0bisuke2
0
150
あなたは何故コミュニティに参加するのか?
awsjcpm
2
360
社会人9年目の僕が贈る処世術
coco_se
0
210
Azure PortalのQoLを上げてたら Big Techに怒られた
horihiro
2
600
EXPO 2025 大屋根リングをぐるっと周回! 【GPSマルチユニット×ソラカメ実験】
scbc1167
0
130
Within the team, I grow as a tester and continuously pursue product quality
camel_404
6
3.2k
苦手の克服方法 / How to overcome weaknesses
toma_sm
0
390
How to Stylus 20251031
hareyakayuruyaka
0
140
Contributing to WPTV: A guide for WordPress TV Enthusiasts
ahmedabadwordpress
0
120
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
220
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Skip the Path - Find Your Career Trail
mkilby
1
140
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
600
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
How GitHub (no longer) Works
holman
316
150k
Documentation Writing (for coders)
carmenintech
77
5.4k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
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 やめよう! )