{"id":20687765,"url":"https://github.com/klauer/anc300","last_synced_at":"2025-10-27T00:33:08.979Z","repository":{"id":15599723,"uuid":"18335836","full_name":"klauer/anc300","owner":"klauer","description":"attocube ANC300 piezo controller (EPICS device support)","archived":false,"fork":false,"pushed_at":"2014-04-01T16:11:28.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T03:51:14.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/klauer.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}},"created_at":"2014-04-01T16:11:05.000Z","updated_at":"2014-04-01T16:11:28.000Z","dependencies_parsed_at":"2022-09-06T23:21:31.536Z","dependency_job_id":null,"html_url":"https://github.com/klauer/anc300","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klauer/anc300","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Fanc300","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Fanc300/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Fanc300/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Fanc300/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klauer","download_url":"https://codeload.github.com/klauer/anc300/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Fanc300/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265746787,"owners_count":23821735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-16T22:58:11.183Z","updated_at":"2025-10-27T00:33:03.946Z","avatar_url":"https://github.com/klauer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ANC300 EPICS Driver\n===================\n\nStreamDevice-based EPICS support for the attocube ANC300 piezo controller.\n\nRequirements\n------------\n\nThough it may work on other versions, the driver was tested on these:\n\n1. EPICS base 3.14.12.3 http://www.aps.anl.gov/epics/\n2. asyn 4-21 http://www.aps.anl.gov/epics/modules/soft/asyn/\n3. StreamDevice 2.6 http://epics.web.psi.ch/software/streamdevice/\n\nA newer StreamDevice may be required than the NSLS-II Debian package has (as of early 2013).\nIf included in $(TOP)/StreamDevice, it will be built automatically.\nThe newer StreamDevice also requires a newer asyn (\u003e= 4-18).\n\nOptional\n--------\n\n1. EDM http://ics-web.sns.ornl.gov/edm/log/getLatest.php\n   Screens are provided in $TOP/opi for EDM.\n2. Autosave http://www.aps.anl.gov/bcda/synApps/autosave/autosave.html\n\nInstallation\n------------\n\n1. Install EPICS\n    1. If using a Debian-based system (e.g., Ubuntu), use the packages here http://epics.nsls2.bnl.gov/debian/\n    2. If no packages are available for your distribution, build from source\n2. Edit configure/RELEASE\n    1. Point the directories listed in there to the appropriate places\n    2. If using the Debian packages, everything can be pointed to /usr/lib/epics\n3. Edit iocBoot/iocanc300/st.cmd\n    1. Change the shebang on the top of the script if your architecture is different than linux-x86:\n        #!../../bin/linux-x86/anc300\n        (check if the environment variable EPICS_HOST_ARCH is set, or perhaps `uname -a`, or ask someone if\n         you don't know)\n    2. The following line sets the prefix to all of your ANC300 PVs:\n        epicsEnvSet(\"DEV\", \"E1:ANC300\")\n       Set the second quoted string appropriately.\n    3. The following line sets the IP address of the serial device server communicating with the ANC300:\n       drvAsynIPPortConfigure(\"$(PORT)\", \"10.0.2.5:7230\")\n       The IP address should be changed, but the port should remain the same.\n    4. The ANC300 has a configurable number of axes (up to 6), add these lines for each axis, replacing the 1 with the axis number (1-6):\n       epicsEnvSet \"AXIS\", 1\n       \u003c anc300_axis.cmd\n4. Go to the top directory and `make`\n5. If all goes well:\n    ```\n    cd iocBoot/iocanc300\n    chmod +x st.cmd\n    ./st.cmd`\n    ```\n6. Run EDM:\n    ```\n    export EDMDATAFILES=$TOP/opi:$EDMDATAFILES\n    (general configuration)\n    edm -x -m \"DEV=E1:ANC300\" anc300_axes\n\n    (axis 1)\n    edm -x -m \"DEV=E1:ANC300,A=1\" anc300_axis\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauer%2Fanc300","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklauer%2Fanc300","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauer%2Fanc300/lists"}