LocalCommand

The LocalCommand class …

A LocalCommand is a command which does not have a 1:1 associated with a hardware element * Used to execute a sequence instructions within software * Can include sequences of variable writes or other command executions

LocalCommand Class Definition

pyrogue.LocalCommand

alias of BaseCommand

In this example …

Python LocalCommand Example

Below is an example of creating a LocalCommand which …

import pyrogue

# Create a subclass of a LocalCommand
class MyLocalCommand(...):

C++ LocalCommand Example

Below is an example of creating a LocalCommand device in C++.

#include <rogue/interfaces/memory/Constants.h>
#include <boost/thread.hpp>

// Create a subclass of a LocalCommand
class MyLocalCommand : public rogue:: ... {
   public:

   protected:

};

A few notes on the above examples …