1. This directory contains data from the tcs3 history. This tcs3 can generate 2 type of history data: 1. pfast - can stream the history data using message queues. 1. mcc - can dump the contents of the sm.atcs.history[] array (10 seconds of data @ 20Hz). The mcc method is preferred, as I found problems with streaming using message queues. (This may be delected from the tcs3 in the future). data format is: (alway check the code, see t3lib/t3_command.c:do_hist_save()) fprintf(fp, " %4.3f %d %15.9lf %11.7lf %11.7lf %15.9lf %11.7lf %11.7lf " "%d %15.9lf %11.7lf %11.7lf %11.7lf %11.7lf " "%11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf %11.7lf " "%10.6f %10.6f %9.6f %9.6f %9.6f %9.6f " "%9.6f %9.6f %9.6f %9.6f %9.6f %9.6f %9.6f %.0f %.0f " "%.2f %.2f %.2f %d %d %d %d %d %d \n", esec, // 1 hist[i].vtcs_mode, // 2 hist[i].vtcs_mjd, // 3 hist[i].vtcs_pos.ha, hist[i].vtcs_pos.dec, // 4,5. hist[i].vtcs_next_mjd, // 6 hist[i].vtcs_next_pos.ha, hist[i].vtcs_next_pos.dec, // 7,8 hist[i].rtcs_mode, // 9 hist[i].rtcs_mjd, // 10 hist[i].rtcs_dpos.ha, hist[i].rtcs_dpos.dec, // 11,12 hist[i].rtcs_vel.ha, hist[i].rtcs_vel.dec, // 13,14 hist[i].motor_dpos.ha, hist[i].motor_dpos.dec, // 15,16 hist[i].motor_apos.ha, hist[i].motor_apos.dec, // 17,18 hist[i].motor_avel.ha, hist[i].motor_avel.dec, // 19,20 hist[i].motor_accel.ha, hist[i].motor_accel.dec, // 21,22 hist[i].motor_tac.ha, hist[i].motor_tac.dec, // 23,24 hist[i].motor_dac1.ha, hist[i].motor_dac2.ha, // 25,26 - west,north hist[i].motor_dac1.dec, hist[i].motor_dac2.dec, // 27,28 - east,south hist[i].current_e, hist[i].current_w, // 29,30 hist[i].current_n, hist[i].current_s, // 31,32 hist[i].current_d1, hist[i].current_d2, // 33,34 hist[i].current_d3, // 35 hist[i].motor_ival.ha, hist[i].motor_ival.dec, // 36,37 hist[i].coll_NS_apos, // 38 hist[i].coll_EW_apos, // 39 hist[i].focus_apos, // 40 hist[i].coll_N_DO, // 41 hist[i].coll_S_DO, // 42 hist[i].coll_E_DO, // 43 hist[i].coll_W_DO, // 44 hist[i].focus_in_DO, // 45 hist[i].focus_out_DO // 46 ); OR list by columns 1. Elapse time in seconds. 2. vtcs_mode 3. vtcs_mjd, days 4. vtcs_pos.ha, radians 5. vtcs_pos.dec, radians 6. vtcs_next_mjd, days 7. vtcs_next_pos.ha, radians 8. vtcs_next_pos.dec, radians 9. Rtcs_mode 10. rtcs.mjd, days 11. rtcs_dpos.ha, radians 12. rtcs_dpos.dec, radians 13. rtcs_vel.ha, radians 14. rtcs_vel.dec, radians 15. motor_dpos.ha, radians 16. motor_dpos.dec, radians 17. motor_apos.ha, radians 18. motor_apos.dec, radians 19. motor_vel.ha, radians 20. motor_vel.dec, radians 21. motor_accel.ha, radians 22. motor_accel.dec, radians 23. motor_tac.ha, volts, SB output 24. motor_tac.dec, volts, SB output 25. motor_dac1.ha, volts, west 26. motor_dac1.dec, volts, north 27. motor_dac2.ha, volts, east 28. motor_dac2.dec, volts, south 29. current_e, amps (volt * 11.66) 30. current_w, amps (volt * 11.66) 31. current_n, amps (volt * 11.66) 32. current_s, amps (volt * 11.66) 33. current_d1, amps (volt * 11.66) 34. current_d2, amps (volt * 11.66) 35. current_d3, amps (volt * 11.66) 36. motor_ival.ha, pmac units 37. motor_ival.dec, pmac units 38. collimation NS actual position, volts 39. collimation EW actual position, volts 40. focus actual position, volts 41. collimation N digital out, 0=off 1=move 42. collimation S digital out, 0=off 1=move 43. collimation E digital out, 0=off 1=move 44. collimation W digital out, 0=off 1=move 45. focus in digital out, 0=off 1=move 46. focus out digital out, 0=off 1=move 47. optional_data_1 48. optional_data_2 2. Include in this directory are gnuplot script to produced graphs using the data: mcc.gp - produces a .pdf of the ha & dec data, similiar to the MCC Details Perf-G screen. 2 pages are in the .pdf. Page 1 is HA data, Page 2 is Dec data. coll.gp - produces a .pdf of the focus and collimation data. The use the scripts: > gnuplot gnuplot> call 'mcc.gp' 'inputData.dat' 'outputFile.pdf' call 'mcc.gp' 'gdata.210809.142204.dat' 'gdata.210809.142204.pdf'