To schedule a CUS "mode" script from TOPE requires the intervention of the testcontrol-server application.
The testcontrol-server applications has to be started from an account that has access to the cus engine. The communication between TOPE and CUS is done by the system wide X-server application. Hence, testcontrol-server has to be associated, via the DISPLAY variable, with the irmultia processor. The association is implemented as
(setenv DISPLAY irmultia:0 ; testcontrol-server &)
That is, redefine DISPLAY only for the testcontrol-server application and start the control application as a background task.
[wiki:PACS/FM Setup to schedule CUS from TOPE]
[wiki:PACS/FM Correcting CUS procedures]