{"id":11662,"date":"2025-09-05T09:39:36","date_gmt":"2025-09-05T00:39:36","guid":{"rendered":"https:\/\/sentech.co.jp\/faq\/faq-7924"},"modified":"2025-09-24T16:45:35","modified_gmt":"2025-09-24T07:45:35","slug":"faq-7924","status":"publish","type":"faq","link":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924","title":{"rendered":"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes?"},"content":{"rendered":"\n<p>Both \u201cGrab\u201d and \u201cGrabCallback\u201d are sample codes for connecting to the camera and capturing images.<\/p>\n\n<p>The difference is that \u201cGrab\u201d acquires images in the main thread loop, while \u201cGrabCallback\u201d acquires images in a separate thread via a callback function.<\/p>\n","protected":false},"featured_media":0,"template":"","faq_cate":[250,252,253],"class_list":["post-11662","faq","type-faq","status-publish","hentry","faq_cate-gige-vision","faq_cate-gige-vision-sentech-sdk","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>What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | FAQ | OMRON SENTECH CO., LTD.<\/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\/en\/faq\/faq-7924\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | FAQ | OMRON SENTECH CO., LTD.\" \/>\n<meta property=\"og:description\" content=\"Both \u201cGrab\u201d and \u201cGrabCallback\u201d are sample codes for connecting to the camera and capturing images. The difference is that \u201cGrab\u201d acquires images in the main thread loop, while \u201cGrabCallback\u201d acquires images in a separate thread via a callback function.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sentech.co.jp\/en\/faq\/faq-7924\" \/>\n<meta property=\"og:site_name\" content=\"OMRON SENTECH CO., LTD.\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-24T07:45:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\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\/en\/faq\/faq-7924\",\"url\":\"https:\/\/sentech.co.jp\/en\/faq\/faq-7924\",\"name\":\"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | \u3088\u304f\u3042\u308b\u3054\u8cea\u554f | OMRON SENTECH CO., LTD.\",\"isPartOf\":{\"@id\":\"https:\/\/sentech.co.jp\/en#website\"},\"datePublished\":\"2025-09-05T00:39:36+00:00\",\"dateModified\":\"2025-09-24T07:45:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sentech.co.jp\/en\/faq\/faq-7924#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sentech.co.jp\/en\/faq\/faq-7924\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sentech.co.jp\/en\/faq\/faq-7924#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/sentech.co.jp\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3088\u304f\u3042\u308b\u8cea\u554f\",\"item\":\"https:\/\/sentech.co.jp\/en\/faq\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sentech.co.jp\/en#website\",\"url\":\"https:\/\/sentech.co.jp\/en\",\"name\":\"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/sentech.co.jp\/en#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sentech.co.jp\/en?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sentech.co.jp\/en#organization\",\"name\":\"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e\",\"url\":\"https:\/\/sentech.co.jp\/en\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sentech.co.jp\/en#\/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\/en#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | FAQ | OMRON SENTECH CO., LTD.","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\/en\/faq\/faq-7924","og_locale":"en_US","og_type":"article","og_title":"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | FAQ | OMRON SENTECH CO., LTD.","og_description":"Both \u201cGrab\u201d and \u201cGrabCallback\u201d are sample codes for connecting to the camera and capturing images. The difference is that \u201cGrab\u201d acquires images in the main thread loop, while \u201cGrabCallback\u201d acquires images in a separate thread via a callback function.","og_url":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924","og_site_name":"OMRON SENTECH CO., LTD.","article_modified_time":"2025-09-24T07:45:35+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/sentech.co.jp\/wp-content\/uploads\/2025\/09\/ogp.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924","url":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924","name":"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes? | \u3088\u304f\u3042\u308b\u3054\u8cea\u554f | OMRON SENTECH CO., LTD.","isPartOf":{"@id":"https:\/\/sentech.co.jp\/en#website"},"datePublished":"2025-09-05T00:39:36+00:00","dateModified":"2025-09-24T07:45:35+00:00","breadcrumb":{"@id":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sentech.co.jp\/en\/faq\/faq-7924"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sentech.co.jp\/en\/faq\/faq-7924#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sentech.co.jp\/en"},{"@type":"ListItem","position":2,"name":"\u3088\u304f\u3042\u308b\u8cea\u554f","item":"https:\/\/sentech.co.jp\/en\/faq"},{"@type":"ListItem","position":3,"name":"What\u2019s the difference between the Sentech SDK \u201cGrab\u201d and \u201cGrabCallback\u201d sample codes?"}]},{"@type":"WebSite","@id":"https:\/\/sentech.co.jp\/en#website","url":"https:\/\/sentech.co.jp\/en","name":"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","description":"","publisher":{"@id":"https:\/\/sentech.co.jp\/en#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sentech.co.jp\/en?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sentech.co.jp\/en#organization","name":"\u30aa\u30e0\u30ed\u30f3\u30bb\u30f3\u30c6\u30c3\u30af\u682a\u5f0f\u4f1a\u793e","url":"https:\/\/sentech.co.jp\/en","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sentech.co.jp\/en#\/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\/en#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/sentech.co.jp\/en\/wp-json\/wp\/v2\/faq\/11662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sentech.co.jp\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/sentech.co.jp\/en\/wp-json\/wp\/v2\/types\/faq"}],"wp:attachment":[{"href":"https:\/\/sentech.co.jp\/en\/wp-json\/wp\/v2\/media?parent=11662"}],"wp:term":[{"taxonomy":"faq_cate","embeddable":true,"href":"https:\/\/sentech.co.jp\/en\/wp-json\/wp\/v2\/faq_cate?post=11662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}