sardana
2.0
  • Home Page
  • Project Page
  • Download from PyPI
  • Sardana 2.0 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
    • Glossary
    • To do
    • History of changes
sardana
  • Docs »
  • Sardana 2.0 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
    • Macro context
    • Calling other macros from inside your macro
    • Accessing environment
    • Logging
    • Reports
    • Advanced macro calls
    • Writing a macro class
    • Using external python libraries
    • Plotting
    • Asking for user input
    • Showing progress in long macros
  • Scan macro development
    • A basic example on writing a step scan
    • A basic example on writing a continuous 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.