{"id":29227331,"url":"https://github.com/royerlab/picard4dusbstage","last_synced_at":"2026-06-09T16:31:43.162Z","repository":{"id":104780444,"uuid":"150254560","full_name":"royerlab/picard4dusbstage","owner":"royerlab","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-21T13:16:58.000Z","size":10239,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-03T09:11:37.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/royerlab.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":"2018-09-25T11:28:35.000Z","updated_at":"2022-11-08T19:08:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3e4c092-b89d-4377-ba6b-f33978d9cbfe","html_url":"https://github.com/royerlab/picard4dusbstage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/royerlab/picard4dusbstage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royerlab%2Fpicard4dusbstage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royerlab%2Fpicard4dusbstage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royerlab%2Fpicard4dusbstage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royerlab%2Fpicard4dusbstage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royerlab","download_url":"https://codeload.github.com/royerlab/picard4dusbstage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royerlab%2Fpicard4dusbstage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34116457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-07-03T09:10:26.014Z","updated_at":"2026-06-09T16:31:43.156Z","avatar_url":"https://github.com/royerlab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Picard 4D USB stage\n==\n\nThis library contains the device drivers of the [Picard Industries 4D USB stage](http://picard-industries.com/products/usb-4d-stage.html) and\nassociated java wrappers. The device driver (PiUsb.dll, PiUsb.h and PiUsb.lib) were\nkindly proviced by Picard Industries. The files originate from here:\nhttp://picard-industries.com/software/usb-4d-stage.zip \n\nUsing this library\n---\nIn order to use this library to control a Picard 4D USB stage from a maven based Java project, you need to add a dependency and a repository to your `pom.xml` file:\n\n```xml\n\u003cdependencies\u003e\n  \u003cdependency\u003e\n    \u003cgroupId\u003enet.clearcontrol\u003c/groupId\u003e\n    \u003cartifactId\u003epicard4dusbstage\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.4\u003c/version\u003e\n  \u003c/dependency\u003e\n\u003c/dependencies\u003e\n\n\u003crepositories\u003e\n  \u003crepository\u003e\n    \u003cid\u003ehslh\u003c/id\u003e\n    \u003curl\u003ehttp://dl.bintray.com/haesleinhuepf/snapshots\u003c/url\u003e\n  \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\nImport the class to connect to a stage like this:\n```Java\nimport pi4dusb.PiUsbLinearStage;\n```\n\nYou can then home and move the stage like this:\n```java\nint linearStageSerial = 122;\nPiUsbLinearStage linearStage = new PiUsbLinearStage(linearStageSerial);\n\n// home the stage\nlinearStage.home();\n\n// move it ahead\nlinearStage.setPosition(linearStage.getPosition() + 2);\n\n//cleanup\nlinearStage.dispose();\n```\n\nYou find example code on how to use the stage in the demo code located in the \n[demo class](http://github.com/clearcontrol/picard4dusbstage/src/main/resources/pi4dusb/demo/PiStageDemo.java). To run the class, change the serial numbers first.\n\n\nDeveloping this library\n---\n\nIt is recommended to develop this library using an integraded development environment \nsuch as IntelliJ or Eclipse. Open the `build.gradle` in the root directory as project\nto start developing. To check if the project was loaded correctly and the stage is functional,\nit is recommended to run the main method [demo class](http://github.com/clearcontrol/picard4dusbstage/src/main/resources/pi4dusb/demo/PiStageDemo.java).\n\nIf you want to update the generated java wrapper, update the configuration file `piusb.config.win.jnaertor` and run jnaerate.bat from the command line.\n\nAuthors\n---\n\n[Robert Haase](mailto:rhaase@mpi-cbg.de)\n\nFurther information\n---\n\n[gradle](https://gradle.org/)\n\n[maven](https://maven.apache.org/) \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyerlab%2Fpicard4dusbstage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyerlab%2Fpicard4dusbstage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyerlab%2Fpicard4dusbstage/lists"}