69.8. Using VMUSBReadout with the state/boot managers

For background on the state and boot managers as well as the experiment configuration editor, see: The Boot utility, The state manager and Experiment Configuration utility.

To make the VMUSBReadout run under the state/boot managers you must:

Here's a sample of the script you need to write:

Example 69-32. Script to incoprorate ReaodutStateHook into VMUSBReadout


set pkgDirs [file join $env(DAQROOT) TclLibs]
lappend auto_path $pkgDirs

package require ReadoutStateHook                   
            

Note that the DAQROOT environment variable gets defined by the boot manager for all of the programs it manages. Other environment variables get defined as well that describe to the ReadoutStateHook how to connect to the state manager.