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
2
1.4k
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
1.1k
ファミコンエミュレータで ゲームプログラミング
sangorrin
0
950
ファミコンアセンブリ入門
sangorrin
0
770
Opentoonz
sangorrin
2
530
FMP on QEMU
sangorrin
0
1.9k
Fuego: 組込みLinuxテストフレームワーク
sangorrin
1
2.5k
Other Decks in How-to & DIY
See All in How-to & DIY
スマートハウスの蓄電性能の効率化を実現してみた~電気自動車編~
runrunsan
0
380
なぜJAWS-UGはこんなにも活発なのか?
awsjcpm
1
190
餃子コミュニティの活性化/TechGYOZA
nishiuma
2
240
「変えること」「変わること」を楽しむ力で"敵わない存在"と向き合う
subroh0508
1
1.5k
JAWS-UG/AWSコミュニティ アップデート (JAWS-UG函館支部)
awsjcpm
3
120
LLMを「機能」として組み込む技術:「Figma to はてなCMS」におけるプロンプトエンジニアリングからAIエージェント構築にわたる精度向上の軌跡
nanimonodemonai
0
320
JAWS-UG/AWSコミュニティプログラムのご紹介 - JAWS-UG 佐賀
awsjcpm
2
200
放っておくと怖い睡眠負債について/fjordbootcamp-251122
yuukago
3
160
Nutanix Community Edition 超入門 25.04
ricefield66
0
210
雑にコミュニティを続けてもいいと思っている/Feel free to continue the community
camel_404
0
340
JAWS-UGについて JAWS-UG TOHOKU [青森] 弘前開催
awsjcpm
0
300
すぐできる! 運送業でやってみた業務効率化3選
dochin2635
0
160
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Building an army of robots
kneath
306
46k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
72
Mobile First: as difficult as doing things right
swwweet
225
10k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
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 やめよう! )