{"id":12447,"date":"2025-09-05T09:37:55","date_gmt":"2025-09-05T00:37:55","guid":{"rendered":"https:\/\/sentech.co.jp\/faq\/faq-7923"},"modified":"2025-10-08T03:03:52","modified_gmt":"2025-10-07T18:03:52","slug":"faq-7923","status":"publish","type":"faq","link":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923","title":{"rendered":"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f"},"content":{"rendered":"\n<p>\u53ef\u4ee5\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 Camera ID \u6765\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\u3002 \u4f46\u9700\u8981\u63d0\u524d\u786e\u8ba4\u76ee\u6807\u76f8\u673a\u7684 Camera ID\u3002<\/p>\n\n<p>\u786e\u8ba4Camera ID\u7684\u65b9\u6cd5<br\/>\u5728StViewer\u7684 Device Selection\uff08\u8bbe\u5907\u9009\u62e9\uff09 \u754c\u9762\u4e2d\uff0c\u9009\u62e9\u76f8\u673a\u540e\uff0c\u53f3\u4e0b\u89d2 Device Information\uff08\u8bbe\u5907\u4fe1\u606f\uff09 \u4e2d\u663e\u793a\u7684\u300cID\u300d\u5c31\u662fCamera ID\u3002<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"294\" src=\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png\" alt=\"\" class=\"wp-image-7901\"\/><\/figure>\n\n<p>\u901a\u8fc7Camera ID\u8fdb\u884c\u8fde\u63a5<br\/>\u786e\u8ba4\u76ee\u6807\u76f8\u673a\u7684Camera ID\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528 IStInterface::CreateIStDevice() \u51fd\u6570\uff0c\u5e76\u6307\u5b9a\u8be5Camera ID\u6765\u8fde\u63a5\u76f8\u673a\u3002<\/p>\n\n<p>\u53e6\u5916\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u793a\u4f8b\u51fd\u6570\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528\u5df2\u77e5\u7684Camera ID\u8fde\u63a5\u76f8\u673a\u3002<\/p>\n\n<p>bool CONNECT_TO_TARGET_CAMERA_VIA_CAMERAID(IStSystem * createdSystemPtr, CIStDevicePtr * deviceContainer, GenICam::gcstring tgtCameraID)<br\/>{<br\/>bool bHit = false;<br\/>uint32_t uintInterface = createdSystemPtr-&gt;GetInterfaceCount();<br\/>for (uint32_t i = 0; i &lt; uintInterface; i++) { IStInterface *pIStInterface(createdSystemPtr-&gt;GetIStInterface(i));<br\/>try<br\/>{<br\/>*deviceContainer = pIStInterface-&gt;CreateIStDevice(tgtCameraID);<br\/>bHit = true;<br\/>break;<br\/>}<br\/>catch (const GenICam::GenericException &amp;e)<br\/>{<br\/>}<br\/>}<br\/>return bHit;<br\/>}<\/p>\n","protected":false},"featured_media":0,"template":"","faq_cate":[383,385,365,381],"class_list":["post-12447","faq","type-faq","status-publish","hentry","faq_cate-gige-vision","faq_cate-gige-vision-sentech-sdk","faq_cate-usb3-vision","faq_cate-usb3-vision-sentech-sdk"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u5e38\u89c1\u95ee\u9898 | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u5e38\u89c1\u95ee\u9898 | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8\" \/>\n<meta property=\"og:description\" content=\"\u53ef\u4ee5\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 Camera ID \u6765\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\u3002 \u4f46\u9700\u8981\u63d0\u524d\u786e\u8ba4\u76ee\u6807\u76f8\u673a\u7684 Camera ID\u3002 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923\" \/>\n<meta property=\"og:site_name\" content=\"\u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-07T18:03:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png\" \/>\n\t<meta property=\"og:image:width\" content=\"569\" \/>\n\t<meta property=\"og:image:height\" content=\"294\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923\",\"url\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923\",\"name\":\"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u3088\u304f\u3042\u308b\u3054\u8cea\u554f | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8\",\"isPartOf\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png\",\"datePublished\":\"2025-09-05T00:37:55+00:00\",\"dateModified\":\"2025-10-07T18:03:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage\",\"url\":\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png\",\"contentUrl\":\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/sentech.co.jp\/zh-hans\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3088\u304f\u3042\u308b\u8cea\u554f\",\"item\":\"https:\/\/sentech.co.jp\/zh-hans\/faq\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#website\",\"url\":\"https:\/\/sentech.co.jp\/zh-hans\",\"name\":\"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sentech.co.jp\/zh-hans?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#organization\",\"name\":\"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"url\":\"https:\/\/sentech.co.jp\/zh-hans\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png\",\"contentUrl\":\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png\",\"width\":1200,\"height\":630,\"caption\":\"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\"},\"image\":{\"@id\":\"https:\/\/sentech.co.jp\/zh-hans#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u5e38\u89c1\u95ee\u9898 | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923","og_locale":"zh_CN","og_type":"article","og_title":"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u5e38\u89c1\u95ee\u9898 | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8","og_description":"\u53ef\u4ee5\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 Camera ID \u6765\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\u3002 \u4f46\u9700\u8981\u63d0\u524d\u786e\u8ba4\u76ee\u6807\u76f8\u673a\u7684 Camera ID\u3002 [&hellip;]","og_url":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923","og_site_name":"\u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8","article_modified_time":"2025-10-07T18:03:52+00:00","og_image":[{"width":569,"height":294,"url":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923","url":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923","name":"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f | \u3088\u304f\u3042\u308b\u3054\u8cea\u554f | \u6b27\u59c6\u9f99\u5148\u7279\u514b\u80a1\u4efd\u6709\u9650\u516c\u53f8","isPartOf":{"@id":"https:\/\/sentech.co.jp\/zh-hans#website"},"primaryImageOfPage":{"@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage"},"image":{"@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage"},"thumbnailUrl":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png","datePublished":"2025-09-05T00:37:55+00:00","dateModified":"2025-10-07T18:03:52+00:00","breadcrumb":{"@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#primaryimage","url":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png","contentUrl":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/StViewerImage8.png"},{"@type":"BreadcrumbList","@id":"https:\/\/sentech.co.jp\/zh-hans\/faq\/faq-7923#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sentech.co.jp\/zh-hans"},{"@type":"ListItem","position":2,"name":"\u3088\u304f\u3042\u308b\u8cea\u554f","item":"https:\/\/sentech.co.jp\/zh-hans\/faq"},{"@type":"ListItem","position":3,"name":"\u5728SentechSDK\u4e2d\u662f\u5426\u53ef\u4ee5\u8fde\u63a5\u7279\u5b9a\u7684\u76f8\u673a\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/sentech.co.jp\/zh-hans#website","url":"https:\/\/sentech.co.jp\/zh-hans","name":"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","description":"","publisher":{"@id":"https:\/\/sentech.co.jp\/zh-hans#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sentech.co.jp\/zh-hans?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/sentech.co.jp\/zh-hans#organization","name":"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","url":"https:\/\/sentech.co.jp\/zh-hans","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/sentech.co.jp\/zh-hans#\/schema\/logo\/image\/","url":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png","contentUrl":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png","width":1200,"height":630,"caption":"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e"},"image":{"@id":"https:\/\/sentech.co.jp\/zh-hans#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/sentech.co.jp\/zh-hans\/wp-json\/wp\/v2\/faq\/12447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sentech.co.jp\/zh-hans\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/sentech.co.jp\/zh-hans\/wp-json\/wp\/v2\/types\/faq"}],"wp:attachment":[{"href":"https:\/\/sentech.co.jp\/zh-hans\/wp-json\/wp\/v2\/media?parent=12447"}],"wp:term":[{"taxonomy":"faq_cate","embeddable":true,"href":"https:\/\/sentech.co.jp\/zh-hans\/wp-json\/wp\/v2\/faq_cate?post=12447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}