Code Monkey home page Code Monkey logo

lcls-plc-crixs-motion's Introduction

lcls-twincat-template-project

This repository contains the standard files for starting a TwinCAT3 project and can be used as a template.

For more documentation on integrating TwinCAT3 and git, please see our confluence page: https://confluence.slac.stanford.edu/display/PCDS/TwinCAT+3+Git+Setup+and+Best+Practices

When starting a new project

  • Customize this Readme.md to match your own project.
  • (optional) Configure doctr and add the deploy key to the .travis.yml file for auto-generated documentation. Doctr is a python utility for automatically pushing a gh-pages branch through the travis build process. A repository requires some 1st time configuration using the doctr command line tool but once that is complete, the pushing process is fully automated. For instructions on configuring doctr: https://github.com/drdoctr/doctr#run-doctr-configure. The doctr command line tool can be found in the PCDS conda environment.

lcls-plc-crixs-motion's People

Contributors

ghalym avatar jozamudi avatar jyotiphy avatar klauer avatar nrwslac avatar slactjohnson avatar wnwright avatar zllentz avatar

Watchers

 avatar  avatar

lcls-plc-crixs-motion's Issues

SL2K2 is missing PVs

Many of the PVs defined in the BeckhoffSlits python class are missing from SL2K2

(pcds-5.5.1)zlentz@psbuild-rhel7-03:~$ happi load sl2k2
[2022-11-18 10:19:00] - INFO -  Creating shell with devices ('sl2k2',)
Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:58:50)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: sl2k2.wait_for_connection()
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 sl2k2.wait_for_connection()

File /cds/group/pcds/pyps/conda/py39/envs/pcds-5.5.1/lib/python3.9/site-packages/ophyd/device.py:1284, in Device.wait_for_connection(self, all_signals, timeout)
   1278     pending = ", ".join(
   1279         description.format(device=dev)
   1280         for dev, funcs in pending_funcs.items()
   1281         for obj, description in funcs.items()
   1282     )
   1283     reasons.append(f"Pending operations: {pending}")
-> 1284 raise TimeoutError("; ".join(reasons))

TimeoutError: Failed to connect to all signals: sl2k2.lightpath_summary, sl2k2.readback (SL2K2:SCATTER:ACTUAL_XWIDTH_RBV), sl2k2.setpoint (SL2K2:SCATTER:XWID_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_YWIDTH_RBV), sl2k2.setpoint (SL2K2:SCATTER:YWID_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_XCENTER_RBV), sl2k2.setpoint (SL2K2:SCATTER:XCEN_REQ_RBV), sl2k2.readback (SL2K2:SCATTER:ACTUAL_YCENTER_RBV), sl2k2.setpoint (SL2K2:SCATTER:YCEN_REQ_RBV), sl2k2. (SL2K2:SCATTER:GO_RBV), sl2k2. (SL2K2:SCATTER:TOP:DMOV_RBV), sl2k2. (SL2K2:SCATTER:BOTTOM:DMOV_RBV), sl2k2. (SL2K2:SCATTER:NORTH:DMOV_RBV), sl2k2. (SL2K2:SCATTER:SOUTH:DMOV_RBV)

https://github.com/pcdshub/pcdsdevices/blob/23a747b0cb4b6d7c3719870e16a57e0cbbdd106a/pcdsdevices/slits.py#L489-L511

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.