previous next Up Title Contents Index

outuser routine

This routine allows the user to save a set of raw data or computed data into a file with a user specified format. The call to this routine should be done within one of the user routines. The format with which the data are saved is entirely at the discretion of the user. The standard application of this routine is to generate a skim file in ASCII format for later processing stage with other programs (i.e. PLOTDATA, DataBase, SpreadSheet, etc...). To operate the Outuser routine, the system flags DEBUG1 and DEBUG2 are used. While a run is in progress, toggeling the DEBUG1 flag ( [F] DEBUG1 ) will interrupt the analyzer on its next pass into the Outuser routine. Then Outuser will request a file name for storing the data and resume the acquisition. From that point on every time the analyzer processes an event, the specified data will be recorded in the file. The number of events to record is declared through a constant numout. This parameter should be defined in file.CST. The call to Outuser should be done through one of the user routines and the user routines should be called from within file.TST.
call outuser

no argument


previous next Up Title Contents Index