{"id":941,"date":"2023-06-09T09:36:14","date_gmt":"2023-06-09T00:36:14","guid":{"rendered":"https:\/\/avancesys.co.jp\/laboratory\/?post_type=article&#038;p=941"},"modified":"2023-06-09T09:36:14","modified_gmt":"2023-06-09T00:36:14","slug":"%e7%ac%ac2%e5%9b%9e%e3%80%80%e3%82%aa%e3%82%b7%e3%83%ad%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%ef%bd%9e%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%82%b3%e3%83%9e%e3%83%b3","status":"publish","type":"article","link":"https:\/\/www.avancesys.co.jp\/laboratory\/article\/%e7%ac%ac2%e5%9b%9e%e3%80%80%e3%82%aa%e3%82%b7%e3%83%ad%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%ef%bd%9e%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%82%b3%e3%83%9e%e3%83%b3\/","title":{"rendered":"\u7b2c2\u56de\u3000\u30aa\u30b7\u30ed\u30b9\u30b3\u30fc\u30d7\u306e\u4f7f\u3044\u65b9\uff5e\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u7de8"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3001KOU\u3067\u3059\u3002<br>\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br>\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30aa\u30b7\u30ed\u306e\u8a2d\u5b9a\u304c\u81ea\u52d5\u5316\u3067\u304d\u308b\u306e\u3067\u3001<br>\u8a2d\u5b9a\u30df\u30b9\u306a\u3069\u304c\u306a\u304f\u306a\u308a\u3001\u624b\u623b\u308a\u9632\u6b62\u306b\u306a\u308a\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002<br>\u3067\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u7b2c1\u56de\u3067\u5b9f\u65bd\u3057\u305f\u30e9\u30ba\u30d1\u30a4\u3092\u4f7f\u7528\u3057\u305f<br>\u6ce2\u5f62\u306e\u53d6\u5f97\u3092\u884c\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/avancesys.co.jp\/laboratory\/article\/%e7%ac%ac%ef%bc%91%e5%9b%9e%e3%80%80%e3%82%aa%e3%82%b7%e3%83%ad%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%97%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9\/#top\">\u7b2c\uff11\u56de\u3000\u30aa\u30b7\u30ed\u30b9\u30b3\u30fc\u30d7\u306e\u4f7f\u3044\u65b9<\/a><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u306e\u8aac\u660e<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3068\u306f\u3001\u5916\u90e8\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\uff08\u4eca\u56de\u306f\u30e9\u30ba\u30d1\u30a4\uff09\u3067\u30aa\u30b7\u30ed\u306e<br>\u30dc\u30bf\u30f3\u3084\u30c4\u30de\u30df\u3092\u624b\u3067\u64cd\u4f5c\u3057\u305f\u3053\u3068\u3068\u540c\u7b49\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<br>\u4e00\u90e8\u3067\u3059\u304c\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u8aac\u660e\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>TRMD<\/td><td>\u30c8\u30ea\u30ac\u30e2\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u30c8\u30ea\u30ac\u3092\u8a2d\u5b9a\u3057\u3066\u6ce2\u5f62\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u3001SINGLE\u30e2\u30fc\u30c9\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u4ed6\u306b\u3082AUTO\u3084NORMAL\u306a\u3069\u3082\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td><\/tr><tr><td>TTYP<\/td><td>\u30c8\u30ea\u30ac\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306b\u3066\u5024\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u3001UART\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u4ed6\u306b\u3082EDGE\u3084EDGEOR\u3001SPI\u306a\u3069\u3082\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td><\/tr><tr><td>TUDAT <\/td><td>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001UART\u30c8\u30ea\u30ac\u306ebit\u6570\u3068\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>UART\u3092\u30c8\u30ea\u30ac\u306b\u3059\u308b\u5834\u5408\u300116\u9032\u3067\u53d6\u5f97\u3057\u305f\u3044\u30c7\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u69cb\u6587\u3068\u3057\u3066\u306f\u3001&#8221;TUDAT &lt;bits&gt;, &lt;data&gt;&#8221;\u3067\u3059\u3002<br>\u4eca\u56de\u306e\u5834\u5408\u306f\u3001&#8221;1&#8243;\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081&#8221;TUDAT 8,31&#8243;\u3068\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u203bASCII\u30b3\u30fc\u30c9\u3067\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081&#8221;1&#8243;\u3092\u9001\u4fe1\u3059\u308b\u5834\u5408\u306f\u3001<br>0x31\u306e8bit\u3067\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/td><\/tr><tr><td>TUART<\/td><td>UART\u30c8\u30ea\u30ac\u306e\u30c7\u30fc\u30bf\u4ee5\u5916\u306e\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>UART\u3092\u30c8\u30ea\u30ac\u306b\u3059\u308b\u5834\u5408\u3001\u30c7\u30fc\u30bf\u4ee5\u5916\u306b\u3082\u76e3\u8996\u3059\u308bCH\u306e\u8a2d\u5b9a\u3084\u30ec\u30fc\u30c8\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u69cb\u6587\u3068\u3057\u3066\u306f\u3001&#8221;UART &lt;trig&gt;, &lt;source&gt;, &lt;rate&gt;, &lt;stop&gt;, &lt;parity&gt;, &lt;idle&gt;, &lt;order&gt;&#8221;\u3067\u3059\u3002<br>\u4eca\u56de\u306e\u5834\u5408\u306f\u3001&#8221;TUART DATA,CH1,115200,1,NONE,LOW,LSB&#8221;\u306b\u306a\u308a\u307e\u3059\u3002<br>&lt;trig&gt;\u306f\u9001\u4fe1\u3059\u308b\u5024\u306b\u3066\u5224\u65ad\u3059\u308b\u3088\u3046\u306bDATA\u3092\u8a2d\u5b9a\u3057\u3001<br>&lt;source&gt;\u306b\u76e3\u8996\u3059\u308bCH\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>&lt;rate&gt;\u306b\u306f\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30b7\u30ea\u30a2\u30eb\u306e\u8a2d\u5b9a\u5024\u3092\u5165\u308c\u307e\u3059\u3002<br>&lt;order&gt;\u306b\u306fLSB\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001MSB\u306b\u5909\u66f4\u3059\u308b\u5834\u5408\u306fTUDAT\u306e&lt;data&gt;\u3082<br>\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/td><\/tr><tr><td>TDIV<\/td><td>Time\/div(\u6c34\u5e73\u8ef8\u30ec\u30f3\u30b8\u306e\u5024) \u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4eca\u56de\u306e\u5834\u5408\u306f\u3001\u6ce2\u5f62\u30b5\u30a4\u30ba\u306b\u5408\u308f\u305b\u306620\u03bcs\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><tr><td>CURM<\/td><td>\u30ab\u30fc\u30bd\u30eb\u5f62\u5f0f\u3092\u8a2d\u5b9a\u3057\u3066\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u306f\u3001&#8221;OFF, DV, DH, DHDV, VATH&#8221;\u304c\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<br>&#8220;DV&#8221;\u306f\u6c34\u5e73\u65b9\u5411\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\u3057,&#8221;DH&#8221;\u306f\u5782\u76f4\u65b9\u5411\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br>&#8220;DHDV&#8221;\u306f\u6c34\u5e73\u30fb\u5782\u76f4\u65b9\u5411\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br>&#8220;VATH&#8221;\u306f\u5782\u76f4\u65b9\u5411\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\u3057\u3001\u305d\u306e\u6642\u9593\u306b\u304a\u3051\u308b\u6ce2\u5f62\u3068\u306e\u4ea4\u70b9\u306e\u5024\u3092<br>\u8868\u793a\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3001\u5782\u76f4\u65b9\u5411\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u305f\u3081&#8221;DH&#8221;\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><tr><td>HCUR<\/td><td>\u30ab\u30fc\u30bd\u30eb\u306e\u8868\u793a\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u81ea\u52d5\u3067\u30ab\u30fc\u30bd\u30eb\u306e\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u306a\u3044\u305f\u3081\u3001\u76f4\u5024\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><tr><td>INV<\/td><td>\u6ce2\u5f62\u306e\u53cd\u8ee2\u8a2d\u5b9a\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3001\u6ce2\u5f62\u3092\u898b\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u6ce2\u5f62\u306e\u53cd\u8ee2\u3092ON\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><tr><td>STOP<\/td><td>\u6ce2\u5f62\u3092\u505c\u6b62\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td><\/tr><tr><td>COPY<\/td><td>\u63a5\u7d9a\u3057\u305fUSB\u30e1\u30e2\u30ea\u306b\u73fe\u5728\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6ce2\u5f62\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/td><\/tr><tr><td>IDN<\/td><td>\u88fd\u54c1\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4ed6\u306e\u30b3\u30de\u30f3\u30c9\u3068\u9055\u3044\u3001\u51fa\u529b\u306e\u307f\u306e\u30b3\u30de\u30f3\u30c9\u3068\u306a\u308a\u307e\u3059\u3002<br>\u8907\u6570\u306e\u30aa\u30b7\u30ed\u3092\u63a5\u7d9a\u3057\u305f\u5834\u5408\u3092\u52a0\u5473\u3057\u3066\u3001\u3069\u306e\u30aa\u30b7\u30ed\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u7528\u306b<br>\u30b3\u30de\u30f3\u30c9\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">pyvisa\u306b\u3064\u3044\u3066<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u306b\u3042\u305f\u308a\u30aa\u30b7\u30ed\u3068\u30e9\u30ba\u30d1\u30a4\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305d\u308c\u3092\u53ef\u80fd\u306b\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u304c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">&#8220;pyvisa&#8221;<\/mark>\u3068\u306a\u308a\u307e\u3059\u3002<br>\u4f7f\u7528\u65b9\u6cd5\u3068\u3057\u307e\u3057\u3066\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u3092\u884c\u3044\u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br>\u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u306f\u3001rm.open_resource(&#8216;<strong>TCPIP::\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9::port\u756a\u53f7::SOCKET&#8217;)<\/strong>\u3068\u5165\u529b\u3057\u307e\u3059\u3002<br>\u64cd\u4f5c\u7d42\u4e86\u5f8c\u306f\u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30ed\u30fc\u30ba\u51e6\u7406\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<br>(\u518d\u5ea6\u5b9f\u65bd\u306b\u524d\u56de\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u958b\u3044\u305f\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3001\u30a8\u30e9\u30fc\u3068\u306a\u308b\u6050\u308c\u304c\u3042\u308a\u307e\u3059)<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code># \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\nrm = pyvisa.ResourceManager()\n# \u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\ninst = rm.open_resource(&#39;TCPIP0::192.168.0.153::5198::SOCKET&#39;)\n# \u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30ed\u30fc\u30ba\nrm.close()<\/code><\/pre><\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-white-background-color has-text-color has-background\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">\u4e8b\u524d\u6e96\u5099<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>\u6a5f\u6750<\/strong><\/th><th><strong>\u6570\u91cf<\/strong><\/th><th><strong>\u5099\u8003<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Raspberry Pi 3 Model B+<\/td><td>1<\/td><td><\/td><\/tr><tr><td>IWATSU DS-5624A<\/td><td>1<\/td><td><\/td><\/tr><tr><td>\u30d7\u30ed\u30fc\u30d6<\/td><td>1<\/td><td><\/td><\/tr><tr><td>RS232\u30b1\u30fc\u30d6\u30eb<\/td><td>1<\/td><td>\u6ce2\u5f62\u30c7\u30fc\u30bf\u9001\u4fe1\u7528<\/td><\/tr><tr><td>LAN\u30b1\u30fc\u30d6\u30eb<\/td><td>1<\/td><td>\u30aa\u30b7\u30ed\u3068\u30e9\u30ba\u30d1\u30a4\u306e\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u7528<\/td><\/tr><tr><td>USB\u30e1\u30e2\u30ea<\/td><td>1<\/td><td>\u6ce2\u5f62\u30c7\u30fc\u30bf\u4fdd\u5b58\u7528<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>\u63a5\u7d9a\u65b9\u6cd5\u306f\u7b2c1\u56de\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u306e\u3067\u3001\u7b2c1\u56de\u3092\u53c2\u8003\u306b\u63a5\u7d9a\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>LAN\u30b1\u30fc\u30d6\u30eb\u3068USB\u30e1\u30e2\u30ea\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf6.png\" alt=\"\" class=\"wp-image-961\" width=\"378\" height=\"321\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf6.png 378w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf6-300x255.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"930\" height=\"367\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf4.png\" alt=\"\" class=\"wp-image-960\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf4.png 930w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf4-300x118.png 300w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf4-768x303.png 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">\u30aa\u30b7\u30ed\u306e\u8a2d\u5b9a<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u30aa\u30b7\u30ed\u3068\u30e9\u30ba\u30d1\u30a4\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u3001\u30aa\u30b7\u30ed\u306e\u30ea\u30e2\u30fc\u30c8\u8a2d\u5b9a\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u8a2d\u5b9a\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br>\u2460\u30aa\u30b7\u30ed\u306e&#8221;UTILITIES&#8221;\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<br>\u3000\u30aa\u30b7\u30ed\u30e2\u30cb\u30bf\u306e\u53f3\u7aef\u306b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u2461\u30aa\u30b7\u30ed\u30e2\u30cb\u30bf\u306e&#8221;\u30ea\u30e2\u30fc\u30c8&#8221;\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br>\u2462\u30aa\u30b7\u30ed\u30e2\u30cb\u30bf\u306e&#8221;\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9&#8221;\u3092\u9078\u629e\u3057\u3001&#8221;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30fb\u30d7\u30ed\u30c8\u30b3\u30eb&#8221;\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br>\u2463\u30aa\u30b7\u30ed\u30e2\u30cb\u30bf\u306e&#8221;IP\u30a2\u30c9\u30ec\u30b9&#8221;\u3092\u9078\u629e\u3057\u3001IP\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>    \u203b\u4eca\u56de\u306f192.168.0.153\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"546\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf1.png\" alt=\"\" class=\"wp-image-942\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf1.png 831w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf1-300x197.png 300w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf1-768x505.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"536\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf2.png\" alt=\"\" class=\"wp-image-943\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf2.png 816w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf2-300x197.png 300w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf2-768x504.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"532\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf3.png\" alt=\"\" class=\"wp-image-944\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf3.png 997w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf3-300x160.png 300w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf3-768x410.png 768w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6e96\u5099<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306aPython\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3001\u30e9\u30ba\u30d1\u30a4\u3067Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u306a\u304a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f&#8221;pyvisa&#8221;\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u5168\u3066\u3092\u5b9f\u884c\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>pip install pyvisa\npip install pyvisa-py\npip install zeroconf\npip install psutil<\/code><\/pre><\/div>\n\n\n\n<p>pyvisa\u3092\u4f7f\u7528\u3057\u3001TCPIP\u3067\u30aa\u30b7\u30ed\u3068\u30e9\u30ba\u30d1\u30a4\u306e\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002<br>\u63a5\u7d9a\u5148\u306e\u30aa\u30b7\u30ed\u306b\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u66f8\u304d\u8fbc\u307f\u3001\u30aa\u30b7\u30ed\u3092\u64cd\u4f5c\u3057\u307e\u3059\u3002<br>\u6ce2\u5f62\u53d6\u5f97\u5f8c\u306f\u30aa\u30b7\u30ed\u306b\u30bb\u30c3\u30c8\u3057\u305fUSB\u30e1\u30e2\u30ea\u306b\u81ea\u52d5\u3067\u6ce2\u5f62\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<br>\u6587\u5b57\u30c7\u30fc\u30bf\u9001\u4fe1\u30b3\u30fc\u30c9\u306f\u7b2c1\u56de\u3067\u4f7f\u7528\u3057\u305f\u3082\u306e\u3092\u4ee3\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-file=\"data_send\" data-lang=\"Python\"><code>import serial\n\ndef serial_data():\n    # \u30b7\u30ea\u30a2\u30eb\u306e\u8a2d\u5b9a\n    ser = serial.Serial(&#39;\/dev\/ttyUSB0&#39;, 115200)\n\n    # 1\u3092\u9001\u4fe1\n    ser.write(b&#39;1&#39;)\n    ser.close()<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-file=\"remote_command\" data-lang=\"Python\"><code>import pyvisa\nimport data_send\n\n# \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\nrm = pyvisa.ResourceManager()\n# \u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\ninst = rm.open_resource(&#39;TCPIP0::192.168.0.153::5198::SOCKET&#39;)\n\n# \u30c8\u30ea\u30ac\u30fc\u30e2\u30fc\u30c9\u3092SINGLE\u306b\u8a2d\u5b9a\ninst.write(&quot;TRMD SINGLE&quot;)\n# \u30c8\u30ea\u30ac\u30fc\u30bf\u30a4\u30d7\u3092UART\u306b\u8a2d\u5b9a\ninst.write(&quot;TTYP UART&quot;)\n# \u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u306e\u8a2d\u5b9a\ninst.write(&quot;TUDAT 8,31&quot;)\n# UART\u8a2d\u5b9a\ninst.write(&quot;TUART DATA,CH1,115200,1,NONE,LOW,LSB&quot;)\n# Time\/div\u306e\u8a2d\u5b9a\ninst.write(&quot;TDIV 20.000000E-06&quot;)\n# \u5782\u76f4\u65b9\u5411\u306e2\u3064\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u8868\u793a\ninst.write(&quot;CURM DH&quot;)\n# \u30ab\u30fc\u30bd\u30eb\u306e\u4f4d\u7f6e\u8a2d\u5b9a\ninst.write(&quot;HCUR -3.24,0.22&quot;)\n\n# \u6ce2\u5f62\u3092\u53cd\u8ee2\ninst.write(&quot;C1:INV ON&quot;)\n\n# \u30c7\u30fc\u30bf\u9001\u4fe1\ndata_send.serial_data()\n\n# \u6ce2\u5f62\u505c\u6b62\ninst.write(&quot;STOP&quot;)\n\n# \u73fe\u5728\u306e\u753b\u9762\u30c7\u30fc\u30bf\u3092USB\u30e1\u30e2\u30ea\u306b\u30b3\u30d4\u30fc\ninst.write(&quot;COPY&quot;)\n\n# \u88fd\u54c1\u60c5\u5831\ninst.write(&quot;*IDN?&quot;)\n\n# \u53d6\u5f97\u3057\u305f\u88fd\u54c1\u60c5\u5831\u8868\u793a\na=&quot;&quot;\nb=&quot;&quot;\nc=&quot;&quot;\nwhile a != &quot;\\n&quot;:\n\tb=inst.read_bytes(1)\n\ta=b.decode()\n\tc=c+a\nprint(c)\n\n# \u63a5\u7d9a\u5148\u30c7\u30d0\u30a4\u30b9\u306e\u30af\u30ed\u30fc\u30ba\nrm.close()\n<\/code><\/pre><\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">\u6ce2\u5f62\u53d6\u5f97<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u5b9f\u969b\u306b\u6ce2\u5f62\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u5b9f\u65bd\u3059\u308b\u3053\u3068\u3068\u3057\u3066\u306f\u3001\u30aa\u30b7\u30ed\u306bUSB\u3092\u63a5\u7d9a\u3057\u30e9\u30ba\u30d1\u30a4\u3067python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br>\u5b9f\u969b\u306b\u53d6\u5f97\u3057\u305f\u6ce2\u5f62\u304c\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"482\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf5.png\" alt=\"\" class=\"wp-image-947\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf5.png 645w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/05\/\u6295\u7a3f\u753b\u50cf5-300x224.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/figure>\n\n\n\n<p>\u88fd\u54c1\u60c5\u5831\u306e\u65b9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>&#8220;\u4f1a\u793e\u540d,\u30e2\u30c7\u30eb\u540d,\u30b7\u30ea\u30a2\u30eb\u756a\u53f7,\u30ea\u30ea\u30fc\u30b9\u30ec\u30d9\u30eb,\u30de\u30a4\u30ca\u30fc\u30ea\u30ea\u30fc\u30b9\u30ec\u30d9\u30eb&#8221;\u306e\u9806\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"460\" src=\"https:\/\/avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf7.png\" alt=\"\" class=\"wp-image-962\" srcset=\"https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf7.png 672w, https:\/\/www.avancesys.co.jp\/laboratory\/wp-content\/uploads\/2023\/06\/\u6295\u7a3f\u753b\u50cf7-300x205.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<p>\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u6642\u306f\u3001\u30d1\u30cd\u30eb\u30ed\u30c3\u30af\u304c\u81ea\u52d5\u3067\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u518d\u5ea6\u30aa\u30b7\u30ed\u3092\u64cd\u4f5c\u3057\u305f\u3044\u5834\u5408\u306f\u3001<br>\u30aa\u30b7\u30ed\u306e\u753b\u9762\u4e0a\u306e\u30d1\u30cd\u30eb\u30ed\u30c3\u30af\u306e\u5de6\u5074\u3092\u30bf\u30c3\u30c1\u3059\u308b\u3053\u3068\u3067\u89e3\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u6ce2\u5f62\u306e\u8aac\u660e\u306a\u3069\u306f\u3001\u7b2c1\u56de\u306b\u8a73\u3057\u304f\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u306e\u3067\u7b2c1\u56de\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-cyan-blue-color has-text-color\"><blockquote><p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">\u307e\u3068\u3081<\/mark><\/p><\/blockquote><\/figure>\n\n\n\n<p>\u4eca\u56de\u306f\u30aa\u30b7\u30ed\u306e\u30ea\u30e2\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u3001\u8a18\u8f09\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<br>\u3044\u308d\u3044\u308d\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3082\u3063\u3068\u8907\u96d1\u306a\u52d5\u4f5c\u3082\u81ea\u52d5\u3067\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001<br>\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"author":31,"featured_media":715,"template":"","lc":[12],"lt":[19],"class_list":["post-941","article","type-article","status-publish","has-post-thumbnail","hentry","lc-introduction","lt-embedded"],"_links":{"self":[{"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/article\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/users\/31"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/media\/715"}],"wp:attachment":[{"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/media?parent=941"}],"wp:term":[{"taxonomy":"lc","embeddable":true,"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/lc?post=941"},{"taxonomy":"lt","embeddable":true,"href":"https:\/\/www.avancesys.co.jp\/laboratory\/wp-json\/wp\/v2\/lt?post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}