TMS Test System Simulating CERN's Environment ============================================= This simple test system can run with a live TMS or a TMS in simulation mode (all data and timing signals internally generated). For simulation mode, the tmsRun program is used to set the TMS into simulation mode and then to provide the cycle information using the setNextCycle() call in a round robin fashion. It assumes two CycleTypes to be present: SimBeam3 and SHSWP1. The data and timing for these is the same. There are a set of client test programs that aquire data from a live mode or simulation mode TMS. Generally these will continue to run untill an error occurs. These are: tmsDataTest =========== Fetches MeanAll data once per second from the current cycle. It fetches MeanAll data from all periods of a cycle and validates the number of values and data time stamps. tmsDataTestRaw ============== This test reads one set of data from the CyclePeriodEvent0 period of the current cycle. It validates that the system will return the amount of data available. tmsDataTestMeanAll ================== This test loops once per second fetching cycle information and then fetches the MeanAll data for this cycle for all cycle periods after injection. It requests the exact amount of data that should be present. The amount of data and the per sample timestamps are validated. On error it will abort with appropriate error message. tmsDataTestRawOffset ==================== This test loops once per second fetching cycle information and then fetches some Raw data with a time offset for this cycle for all cycle periods after injection. The amount of data and the per sample timestamps are validated. On error it will abort with appropriate error message. tmsDataTest1 ============ Random tests. TmsPuServers ================= tmsPuServer-t7 Old CycleInformation processing tmsPuServer-t8 Normal running server with all current fixes and some debug enabled tmsPuServer-t9 As tmsPuServer-t8, but retuns error when getData() with MeanAll and a channel has less data than expected.