{"id":41782367,"url":"https://github.com/slazav/tcl-gpib","last_synced_at":"2026-01-25T04:04:25.705Z","repository":{"id":136340845,"uuid":"60620686","full_name":"slazav/tcl-gpib","owner":"slazav","description":"tcl-gpib library from ROTA group","archived":false,"fork":false,"pushed_at":"2025-07-11T04:57:09.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-11T08:44:30.183Z","etag":null,"topics":["abandoned","experiment","physics"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slazav.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-07T14:37:31.000Z","updated_at":"2025-07-11T04:57:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"59daada8-dd0c-4b79-b584-e109f7d3d232","html_url":"https://github.com/slazav/tcl-gpib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slazav/tcl-gpib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slazav%2Ftcl-gpib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slazav%2Ftcl-gpib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slazav%2Ftcl-gpib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slazav%2Ftcl-gpib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slazav","download_url":"https://codeload.github.com/slazav/tcl-gpib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slazav%2Ftcl-gpib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abandoned","experiment","physics"],"created_at":"2026-01-25T04:04:25.146Z","updated_at":"2026-01-25T04:04:25.699Z","avatar_url":"https://github.com/slazav.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## TCL interface to linux-gpib library\n\nfrom ROTA group\n\n#### Options:\n*  -timeout\n*  -eot\n*  -secondary\n*  -eos\n*  -bufferlen\n*  -address\n*  -board\n*  -trimleft\n*  -trimright\n*  -readymask\n*  -waitready\n\n#### Commands:\n\n*  read\n*  write\n*  cmd_read\n*  remote_enable\n*  sleep\n*  configure\n*  cget\n*  poll\n*  ready\n*  waitready\n*  cmd_wait_read\n*  clear\n*  go_to_local\n*  trigger\n*  write_list\n*  bus_command\n*  waitcond\n\n---\n## Usage\n\n```tcl\npackage require GpibLib\n\n## open a GPIB device:\nset dev [gpib_device #auto -board 0 -address 9 -trimright \\n -readymask 16]\n\n## print some device parameters:\nputs \"buffer length: [$dev cget -bufferlen]\"\nputs \"trim left: |[$dev cget -trimleft]|\"\n\n$dev remote_enable\n$dev write *STB?\nputs \"ready: [$dev ready]\"\n$dev waitready\nputs \"poll: [$dev poll] [$dev poll 16] [$dev poll 12]\"\nputs \"ready: [$dev ready]\"\nputs [$dev read]\nputs \"ready: [$dev ready]\"\n\n$dev configure -trimleft + -trimright \"\"\nputs [$dev cmd_read *STB?]\nputs \"trim left: |[$dev cget -trimleft]|\"\nputs \"timeout: [$dev cget -timeout]\"\n\n$dev configure -trimright \\n\\r -waitready {1 1}\nputs [$dev cmd_wait_read system:date?]\n\nafter idle {puts \"I am async\"}\n#after 500 [subst {gpib_device delete $dev; puts \"I am bad async\"}].\n\n$dev configure -timeout 0.1\nputs \"start wait\"\n$dev sleep 1\nputs \"end wait\"\nputs \"timeout: [$dev cget -timeout]\"\n\nputs \"go to local\"\n$dev go_to_local\nputs \"check it!\"\nafter 3000\n\n## delete device\ngpib_device delete $dev\n```\n\n---\n## Building\n\n#### basic build\n\n```\ntcl-gpib\nmake\nmake install tcldatadir=/usr/share/tcl tcllibdir=/usr/lib64/tcl\n```\n\n#### building Altlinux package\n\nSpec file and configuration for `gear` is available. If the system is configured\ncorrectly, then `gear -ba` should be enough to build the rpm package.\n\n#### building Debian/Ubuntu package\n\nFiles for building deb package are located in `debian` folder. Use\nscript `alt2deb_build` from https://github.com/slazav/alt2deb for\nbuilding the package (not tested).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslazav%2Ftcl-gpib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslazav%2Ftcl-gpib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslazav%2Ftcl-gpib/lists"}