{"id":337,"date":"2015-04-13T17:24:28","date_gmt":"2015-04-13T21:24:28","guid":{"rendered":"http:\/\/alpharesearch.de\/?p=337"},"modified":"2015-04-13T09:27:10","modified_gmt":"2015-04-13T13:27:10","slug":"test-gui-for-grbl-without-arduino-using-the-simulator-and-virtual-com-port-under-gnu-linux","status":"publish","type":"post","link":"https:\/\/alpharesearch.de\/?p=337","title":{"rendered":"Test GUI for Grbl without Arduino using the Simulator and virtual com port under GNU Linux."},"content":{"rendered":"<p>My Arduino is not accabale right now but I wanted to look at a new GUI or gcode sender program for Grbl called <a title=\"SourceRabbit GCode Sender\" href=\"https:\/\/github.com\/nsiatras\/sourcerabbit-gcode-sender\" target=\"_blank\">SourceRabbit GCode Sender<\/a>. I already had the simulator compiled and ready to go and the next step was just to find a way to connect both together. I found that the program socat can do just this:<br \/>\n<code><br \/>\nsocat -d -d pty,raw,echo=0,link=\/tmp\/ttyV0 pty,raw,echo=0,link=\/tmp\/ttyV1<br \/>\n<\/code><br \/>\nThis creates two virtual serial ports with the names \/tmp\/ttyV0 and \/tmp\/ttyV1 and connect both together. Now I just need to direct the output and input of Grbl to one of the virtual serial ports:<br \/>\n<code><br \/>\n.\/grbl_sim -n &gt; \/tmp\/ttyV0 &lt; \/tmp\/ttyV0<br \/>\n<\/code><br \/>\nTo test if this works I can use a command line terminal program like miniterm and connect to the other virtual serial port<br \/>\n<code><br \/>\nminiterm.py \/tmp\/ttyV1<br \/>\n<\/code><br \/>\nNow that everything is working I can finally test the new SourceRabbit GCode Sender program.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Arduino is not accabale right now but I wanted to look at a new GUI or gcode sender program for Grbl called SourceRabbit GCode Sender. I already had the simulator compiled and ready to go and the next step was just to find a way to connect both together. I found that the program &hellip; <a href=\"https:\/\/alpharesearch.de\/?p=337\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Test GUI for Grbl without Arduino using the Simulator and virtual com port under GNU Linux.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,5,1],"tags":[],"class_list":["post-337","post","type-post","status-publish","format-standard","hentry","category-electronic","category-open-source","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337"}],"version-history":[{"count":3,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":340,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions\/340"}],"wp:attachment":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}