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; public void OnExecute(StubManager stubManager) { // Request ---- // UInt32 : Address // Response ---- // UInt32 : Address // UInt32 : Value // String : Status // UInt32 : StatusWord var response = stubManager.Run("StubFpgaReadRegRequest" ,0x60000400 | 0x0E2); stubManager.WriteLineHex(response.Value,2); }