{"id":1966,"date":"2015-12-31T04:47:23","date_gmt":"2015-12-30T19:47:23","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=1966"},"modified":"2015-12-31T04:47:23","modified_gmt":"2015-12-30T19:47:23","slug":"post-1966","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/12\/31\/post-1966.html","title":{"rendered":"Sigrok \u306e Pulsview 0.3.0 \u52d5\u304d\u307e\u3057\u305f"},"content":{"rendered":"
\u3068\u308a\u3042\u3048\u305a\u3001\u306a\u3093\u3068\u304b\u52d5\u304b\u3057\u305f\u3044\u306e\u3067\u30bd\u30fc\u30b9\u3092\u30b3\u30fc\u30c9\u3082\u898b\u307e\u3057\u305f\u304c\u3001\u7279\u306b\u554f\u984c\u3068\u306a\u308a\u305d\u3046\u306a\u90e8\u5206\u3082\u306a\u304f\u3001\u3061\u3087\u3063\u3068\u5834\u3092\u96e2\u308c\u3066\u304b\u3089\u3001brew\u7248\u306e\u3092\u30b5\u30a4\u30c9\u5165\u308c\u3066\u307f\u308b\u3053\u3068\u306b\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n
\u306a\u3093\u3068\u304b\u3001\u4eca\u5e74\u4e2d\u306b\u51fa\u6765\u305f\u306e\u3067\u3059\u3063\u304d\u308a\u3002<\/p>\n
<\/p>\n
0.3.0-git-5d73886 \u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c8\u30ea\u30ac\u30fc\u304c\u8a2d\u5b9a\u3067\u304d\u3066\u697d\u306b\u306a\u308a\u307e\u3057\u305f\u3002Run\u3092\u62bc\u305b\u3070\u30c8\u30ea\u30ac\u30fc\u304c\u3067\u308b\u307e\u3067\u3001stop \u3057\u3066\u63a1\u53d6\u3055\u308c\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u3051\u3070\u3001\u63a1\u53d6\u3055\u308c\u3066\u505c\u6b62\u3057\u307e\u3059\u3002\u30ed\u30b8\u30c3\u30af\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u3068\u3057\u3066\u306f\u57fa\u672c\u6a5f\u80fd\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u624b\u6301\u3061\u306e\u30cf\u30fc\u30c9\u3067\u306a\u3093\u3068\u304b\u52d5\u3044\u3066\u3088\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n
<\/p>\n
\u62e1\u5927\u3059\u308b\u3068\u3001500ns \u3068\u304b\u53d6\u308c\u3066\u3044\u307e\u3059\u30021us \u5358\u4f4d\u304f\u3089\u3044\u307e\u3067\u306f\u898b\u308c\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n
<\/p>\n
\u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c8\u306f\u30012MHz \u4ee5\u4e0a\u3042\u3052\u308b\u3068\u3069\u3046\u3057\u3066\u3082\u63a1\u53d6\u5f8c\u306b\u30af\u30eb\u30af\u30eb\u56de\u3063\u3066\u3001\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u30b9\u30bf\u30c3\u30af\u72b6\u614b\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u7248\u3067\u30c9\u30e9\u30a4\u30d0\u3092\u6307\u5b9a\u3057\u3066\u307f\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n
$ sigrok-cli --show --driver fx2lafw\nDriver functions:\n Logic analyzer\nScan options:\n conn\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nfx2lafw:conn=28.2 - Saleae Logic with 8 channels: 0 1 2 3 4 5 6 7\nSupported configuration options:\n continuous: \n limit_samples: 0 (current)\n conn: 28.2 (current)\n samplerate - supported samplerates:\n 20 kHz\n 25 kHz\n 50 kHz\n 100 kHz\n 200 kHz\n 250 kHz\n 500 kHz\n 1 MHz\n 2 MHz\n 3 MHz\n 4 MHz\n 6 MHz\n 8 MHz\n 12 MHz\n 16 MHz\n 24 MHz\n Supported triggers: 0 1 r f e \n captureratio: 0 (current)<\/pre>\n\u3053\u3053\u306b\u51fa\u3066\u3044\u308b\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u5468\u6ce2\u6570\u306f\u63a1\u53d6\u3067\u304d\u308b\u306f\u305a\u306a\u3093\u3067\u3059\u304c\u3001\u306a\u305c\u304b2MHz \u307e\u3067\u3057\u304b\u3068\u308c\u307e\u305b\u3093\u3002<\/p>\n
\u307e\u3041\u3001\u6700\u521d\u306e\u4e00\u53f0\u3067\u3059\u3057\u3001\u3053\u308c\u3067\u52c9\u5f37\u3055\u305b\u3066\u3082\u3089\u3063\u3066\u3001\u7269\u8db3\u308a\u306a\u3051\u308c\u3070\u307e\u305f\u8003\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n
<\/p>\n
automator \u3067\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3082\u306e\u3092\u4f5c\u308a\u3001\u30a2\u30a4\u30b3\u30f3\u3092\u3064\u3051\u3066\u3001app \u5316\u3057\u307e\u3059\u3002<\/p>\n
<\/p>\n
python \u306e\u74b0\u5883\u5909\u6570\u3092\u4e00\u5ea6 unset \u3057\u3066\u6d88\u53bb\u3057\u3066\u3001python3.4 \u3068\u304b3.x \u306e\u3092\u30bb\u30c3\u30c8\u3057\u3066\u30a2\u30d7\u30ea\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30f3\u30c9\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n
unset PYTHONPATH\nexport PYTHONPATH="\/usr\/local\/lib\/python3.4\/site-packages\/:$PYTHONPATH"\n\n\/usr\/local\/Cellar\/pulseview\/HEAD\/bin\/pulseview >\/dev\/null 2>&1 &<\/pre>\n<\/p>\n
\u914d\u5e03\u7528\u306b\u3059\u308b\u306b\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d1\u30b9\u3092\u5168\u90e8\u66f8\u304d\u63db\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u3084\u3081\u307e\u3057\u305f\u3002\u3053\u306e\u3042\u305f\u308a\u306e\u30b9\u30ad\u30eb\u306f\u3001\u3082\u3046\u5c11\u3057\u52c9\u5f37\u3057\u306a\u3044\u3068\u5d4c\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n
<\/p>\n
brew \u7248\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001wiki \u306b\u66f8\u3044\u3066\u3042\u308b\u3068\u304a\u308a\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n
\n