This note outlines the lab exercise for the Hardware Manager Simulator (HMS) device. I have created a scheleton soft IOC which is in /afs/slac/g/lcls/epics/TestStand/asynClass/groupxx/hms, where xx is 11,12,13,14,15,17,18. All files needed to build a functional application are in place. The IOC builds as is. As a lab exercise one could do the following: 1. The skeleton IOC is set up to use asyn version 4.14. To make this IOC functional, you will need the IP address and port number which are used by the HMS device. 2. The low level asyn device driver, drvHMS.cpp is derived from asynPortDriver class. In drvHMS.h declare the drvHMS class and all definitions as well as all variables needed to implement the device support for your db records. Use the description of HM Simulator (hmsim.txt) to decide what functions to implement. As a minimum, implementing reading a group of registers and writing to a register in that group could be done. The simplest group is probably the HMS registers. For more ambitious work, reading the waveform data could be used. Even more ambitious would be to implement handling unsolicited messages from HMS. 3. Create appropriate EPICS records to receive data read and to write data to the HMS device. 4. In your st.cmd file use asynSetTraceIOMask and asynSetTraceMask functions to enable trace messages. These will allow you to see details of how IO messages are exchanged between your IOC and HMS, or between the EPICS records and your device driver code. 5. Finally, create a simple EDM screen to show and to control all that. 6. If there is no time to do item 5. you can fall back on using caget and caput to test your implementation. 7. Good luck.