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:
Write a small script to incorporate the ReadoutStateHook package into the VMUSBReadout's main interpreter.
Configure the VMUSBReadout to use the
--init-script
option to specify this
script.
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.