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
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
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
JAWS-UG/AWS Community Update
awsjcpm
0
280
人を補助するAI ~AIとの壁打ちがきっかけになる~ #共創AIミートアップ
ishikiemo
2
590
The Definitive? Guide To Locally Organizing RubyKaigi
sylph01
9
3.8k
登壇資料を素早く作るための順番
kotomin_m
8
2.2k
JAWS-UG鹿児島2.0 reboot - JAWS-UG/AWS Communitiesのご紹介
awsjcpm
0
110
JAWS-UG/AWS Community Update - 2026/6/13 JAWS-UG TOHOKU 仙台
awsjcpm
0
950
ライブ感を生む 巻き込み型スライドの作り方/Create your slide like a heavy metal concert
ikuodanaka
5
1.6k
『いってらっしゃい』と『お帰りなさい』を言ってくれる『ぬい』 に動きをつけてみた!
scbc1167
0
120
ROSAというLLM使ったROSエージェントをおもちゃに実装してみた話
takeofuture
0
220
チームパフォーマンスを高めるための2種類のセルフマネジメント / Two Types of Self-Management for Improving Team Performance
iwashi86
4
610
JAWS-UG/AWSコミュニティ JAWS-UG おおいた
awsjcpm
2
3k
MustをWillに変える技術 〜アイドル・郁田はるきが"すべき"の壁を超えるまで〜
subroh0508
1
1.9k
Featured
See All Featured
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
170
Abbi's Birthday
coloredviolet
3
8.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The Cult of Friendly URLs
andyhume
79
6.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Paper Plane (Part 1)
katiecoart
PRO
0
9.2k
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 やめよう! )