using System; using System.Text; using System.Linq; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Tango.PMR.Stubs; using Tango.Stubs; /*HEAD CARD I/O Slave address 0x40 / 0x42 / 0x44 / 0x46 ------------------------- | Byte | WR | RD | CFG | ------------------------- | Low | 02 | 00 | 06 | | High | 03 | 01 | 07 | ------------------------- Example (42 Slave Address, 03 Write High Byte, D8 Set value (NA on read)) stubManager.Run("ProgressRequest" ,0x0EAD, 0x4203D8); */ public void OnExecute(StubManager stubManager) { //Head LS var response7 = stubManager.Run("ProgressRequest" ,0x0EAD, 0x460100); stubManager.WriteLineHex(response7.Progress,2); }