{"id":153,"date":"2020-03-08T14:58:10","date_gmt":"2020-03-08T14:58:10","guid":{"rendered":"https:\/\/edupez.com\/?p=153"},"modified":"2020-03-08T14:58:10","modified_gmt":"2020-03-08T14:58:10","slug":"labview-tip-3-master-slave-2","status":"publish","type":"post","link":"https:\/\/edupez.com\/labview\/2020\/03\/08\/labview-tip-3-master-slave-2\/","title":{"rendered":"LABVIEW \u2013 Tip #3 \u2013 Master \/ Slave"},"content":{"rendered":"\n<p> To use this architecture we can use\u00a0<em>queues<\/em>\u00a0(data sequences) to insert data in the\u00a0<em>Master<\/em>\u00a0and take it out from the queue in one or more\u00a0<em>Slaves.<\/em>\u00a0To finish the\u00a0<em>Slave\u00a0<\/em>execution, it is possible to use the error line of the queue in\u00a0<em>terminate<\/em>\u00a0condition of the\u00a0<em>while\u00a0<\/em>cycle (in\u00a0<em>release queue<\/em>\u00a0it is needed to insert the entry\u00a0<em>\u201cforce destroy\u201d in \u201cTrue\u201d condition)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"577\" height=\"313\" src=\"https:\/\/edupez.com\/wp-content\/uploads\/2020\/03\/Capturar.jpg\" alt=\"\" class=\"wp-image-154\" srcset=\"https:\/\/edupez.com\/wp-content\/uploads\/2020\/03\/Capturar.jpg 577w, https:\/\/edupez.com\/wp-content\/uploads\/2020\/03\/Capturar-300x163.jpg 300w\" sizes=\"(max-width: 577px) 85vw, 577px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To use this architecture we can use\u00a0queues\u00a0(data sequences) to insert data in the\u00a0Master\u00a0and take it out from the queue in one or more\u00a0Slaves.\u00a0To finish the\u00a0Slave\u00a0execution, it is possible to use the error line of the queue in\u00a0terminate\u00a0condition of the\u00a0while\u00a0cycle (in\u00a0release queue\u00a0it is needed to insert the entry\u00a0\u201cforce destroy\u201d in \u201cTrue\u201d condition)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/posts\/153"}],"collection":[{"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":1,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/posts\/153\/revisions\/155"}],"wp:attachment":[{"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edupez.com\/labview\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}