{"id":486,"date":"2014-03-26T15:13:48","date_gmt":"2014-03-26T06:13:48","guid":{"rendered":"http:\/\/sakaki.ws\/?p=486"},"modified":"2019-11-10T12:56:35","modified_gmt":"2019-11-10T03:56:35","slug":"uwsc%e3%81%a7%e6%b1%8e%e7%94%a8usb-io2-0%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/sakaki.ws\/?p=486","title":{"rendered":"UWSC\u3067\u6c4e\u7528USB-IO2.0\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Windows\u3067\u4fbf\u5229\u306b\u4f7f\u3048\u308b\u30de\u30af\u30ed\u4f5c\u6210\u30d7\u30ed\u30b0\u30e9\u30e0<a href=\"http:\/\/www.uwsc.info\/\">UWSC<\/a>\u3067\u3001\u6c4e\u7528USB-IO2.0\u3092\u5236\u5fa1\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>UWSC\u306fPC\u306e\u64cd\u4f5c\u3092\u8a18\u9332\u3057\u3066\u3001\u30de\u30af\u30ed\u3068\u3057\u3066\u518d\u751f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u72ec\u81ea\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u3088\u308a\u9ad8\u5ea6\u306a\u64cd\u4f5c\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u5b9a\u6642\u64cd\u4f5c\u3082\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u3001\u6bce\u65e5\u540c\u3058\u6642\u9593\u306bPC\u306b\u5bfe\u3057\u3066\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3082\u3057PC\u306b\u63a5\u7d9a\u3057\u305f\u6a5f\u5668\u306b\u4fe1\u53f7\u3092\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u7c21\u5358\u306a\u30db\u30fc\u30e0\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>UWSC\u306fDLL\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u306a\u306e\u3067\u3001\u4eca\u56de\u306f\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u6c4e\u7528USB-IO2.0\u3092\u64cd\u4f5c\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/km2net.com\/usb-io2.0\/index.shtml\">\u6c4e\u7528USB-IO2.0<\/a>\u306fKm2Net\u304c\u958b\u767a\u3057\u305f\u30dc\u30fc\u30c9\u3067\u3001PC\u306bUSB\u30b1\u30fc\u30d6\u30eb\u3067\u63a5\u7d9a\u3057\u3066IO\u306e\u5236\u5fa1\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/km2net.com\/usb-fsio\/sample.shtml\">\u5236\u5fa1\u30b5\u30f3\u30d7\u30eb\u306e\u30da\u30fc\u30b8<\/a>\u306b\u306f\u3001Excel\u304b\u3089\u5236\u5fa1\u304c\u3067\u304d\u308bDLL\u306a\u3069\u3082\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u4ed6\u306e\u30da\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30d0\u30b1\u3055\u3093\u4f5c\u306e<a href=\"http:\/\/bake-san.blogspot.jp\/2011\/10\/vbausbiodllv100.html\">vbausbio.dll<\/a>\u3092\u4f7f\u3063\u3066IO\u3092\u5236\u5fa1\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4eca\u56de\u4f7f\u3063\u305f\u306e\u306f\u79cb\u6708\u96fb\u5b50\u3067\u8cfc\u5165\u3057\u305f<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gM-05131\/\">\uff35\uff33\uff22\u63a5\u7d9a\u30c7\u30b8\u30bf\u30eb\u5165\u51fa\u529b\u30e2\u30b8\u30e5\u30fc\u30eb\u3000\uff35\uff33\uff22\uff0d\uff29\uff2f\uff12\uff0e\uff10\uff08\uff21\uff2b\uff29\uff09<\/a>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"DLL-1\">\/\/\u3000USB-IO DLL\u306e\u5b9a\u7fa9\u3002\u307e\u305aUWSC\u3067vbausbio.dll\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u521d\u671f\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002\n\nDEF_DLL uio_find():int:vbausbio.dll \/\/\u30c7\u30a3\u30d0\u30a4\u30b9\u306e\u4e2d\u304b\u3089USB-IO\u3092\u691c\u7d22\u30fb\u521d\u671f\u5316\nDEF_DLL uio2_out({byte,byte,byte,byte,byte,byte,byte,byte}):int:vbausbio.dll\nDEF_DLL uio2_inp({byte,byte,byte,byte,byte,byte,byte,byte}):int:vbausbio.dll\n\/\/\u51fa\u529b\u30dd\u30fc\u30c8\u306e\u914d\u5217\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\n\nDIM outPort[7]\nuio2_out(outPort[0],outPort[1],outPort[2],outPort[3],outPort[4],outPort[5],outPort[6],outPort[7])\n\n\/\/\u5165\u529b\u30dd\u30fc\u30c8\u3082\u540c\u3058\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n\nDIM inpPort[7]\nuio2_out(outPort[0],outPort[1],outPort[2],outPort[3],outPort[4],outPort[5],outPort[6],outPort[7])\n\n\/\/uio_find()\u3092\u4f7f\u3063\u3066\u30c7\u30a3\u30d0\u30a4\u30b9\u306e\u4e2d\u304b\u3089USB-IO\u3092\u691c\u7d22\u30fb\u521d\u671f\u5316\u3057\u307e\u3059\u3002\u5909\u6570OpenD\u306b\u306f\u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\u304c\u8fd4\u308a\u307e\u3059\u3002\n\nOpenD = uio_find()\n<\/pre>\n<p>\u6b63\u5e38\u306b\u63a5\u7d9a\u3067\u304d\u305f\u3089\u3001\u6700\u521d\u306b\u5b9a\u7fa9\u3057\u305f\u914d\u5217inpPort[]\u3084outPort[]\u3067\u5236\u5fa1\u3057\u305f\u3044\u30dd\u30fc\u30c8\u306e\u30d3\u30c3\u30c8\u3092\u5236\u5fa1\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows\u3067\u4fbf\u5229\u306b\u4f7f\u3048\u308b\u30de\u30af\u30ed\u4f5c\u6210\u30d7\u30ed\u30b0\u30e9\u30e0UWSC\u3067\u3001\u6c4e\u7528USB-IO2.0\u3092\u5236\u5fa1\u3057\u3066\u307f\u307e\u3057\u305f\u3002 UWSC\u306fPC\u306e\u64cd\u4f5c\u3092\u8a18\u9332\u3057\u3066\u3001\u30de\u30af\u30ed\u3068\u3057\u3066\u518d\u751f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u72ec\u81ea\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u3088\u308a\u9ad8\u5ea6\u306a\u64cd\u4f5c&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-essay"],"acf":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4QxEj-7Q","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sakaki.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=486"}],"version-history":[{"count":8,"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":616,"href":"https:\/\/sakaki.ws\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions\/616"}],"wp:attachment":[{"href":"https:\/\/sakaki.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sakaki.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sakaki.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}