sardana Logo
3.3
  • Home Page
  • Project Page
  • Download from PyPI
  • Documentation
    • User’s Guide
    • Developer’s Guide
      • Overview
      • Writing macros
        • General macro development
        • Scan macro development
      • Writing controllers
      • Writing recorders
      • Sardana Testing
      • API
      • Migration guide
      • Examples
      • Development guidelines
    • Sardana Enhancement Proposals
    • What's new?
    • Glossary
    • Docs for other Sardana versions
  • Extra Projects
  • Wiki
sardana
  • »
  • Sardana 3.3 Documentation »
  • Developer’s Guide »
  • Writing macros
  • View page source

Writing macros¶

  • General macro development
    • What is a macro
    • What should and should not be a macro
    • How to start writing a macro
    • Writing a macro function
    • Adding parameters to your macro
    • Returning a macro result
    • Macro context
    • Calling other macros from inside your macro
    • Accessing environment
    • Logging
    • Reports
    • Advanced macro calls
    • Accessing macro data
    • Writing a macro class
    • Handling macro stop and abort
    • Handling exceptions
    • Adding hooks support
    • Accessing Tango from your macros
    • Using external python libraries
    • Plotting
    • Asking for user input
    • Showing progress in long macros
    • Simultaneous actions
    • Adding your macros to Sardana
  • Scan macro development
    • A basic example on writing a step scan
    • A basic example on writing a continuous scan
    • Deterministic scans
    • Hooks support in scans
    • More examples
Next Previous

© Copyright Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License.

Built with Sphinx using a theme provided by Read the Docs.