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
1.4k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
810
Opentoonz
sangorrin
2
570
FMP on QEMU
sangorrin
0
2k
Fuego: 組込みLinuxテストフレームワーク
sangorrin
1
2.5k
Other Decks in How-to & DIY
See All in How-to & DIY
AIツール“三種の神器”ではじめる 自動運転AIチャレンジ
covao
0
110
JAWS-UG/AWS Community Update
awsjcpm
0
300
移動は善 / 20260124-NGK2026S
girigiribauer
1
200
Within the team, I grow as a tester and continuously pursue product quality
camel_404
6
3.3k
Node-REDで制御できるエッジカメラのreCameraを触る #iotlt #JLCPCB #recamera
n0bisuke2
0
190
終わりのない会議を超えて:HolacracyのTactical Meetingを体験しよう!
andrearc
0
330
LLMはTRPGのGMができる(確信)
kgmkm
0
3.1k
「変えること」「変わること」を楽しむ力で"敵わない存在"と向き合う
subroh0508
2
1.9k
AWS Community/JAWS-UG Update - JAWS-UG 上越妙高支部リブート
awsjcpm
2
130
JAWS-UG/AWSコミュニティ アップデート (JAWS-UG函館支部)
awsjcpm
3
170
What's the difference in taste between expensive and cheap mills? Measuring coffee particle size distribution using ImageJ
dogrunjp
0
870
The Definitive? Guide To Locally Organizing RubyKaigi
sylph01
9
4k
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
390
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
The SEO Collaboration Effect
kristinabergwall1
1
520
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
330
New Earth Scene 8
popppiees
3
2.5k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
530
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
340
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 やめよう! )