The SardanaInfoViewer opens a text widget displaying the output sent to the info stream. The idea is to capture the informational output produced by macros in a dedicated widget.

The InfoViewer server can be launched from a Unix shell

p10user@haspp10e2:~/temp$ &

or from spock:

p10/door/haspp10e2.01 [2]: ! &

The output displayed in figure 7.6 has been produced by this macro:

#!/usr/bin/env python
from sardana.macroserver.macro import Macro, Type
class infoTest(Macro):
      param_def = []
      def run(self):
"this line of text is sent")

Figure 7.10: The SardanaInfoViewer