Hey all,

I'm trying to read/write to ROACH registers and shared_memory elements directly from C. I can read registers correctly, but writing seems to have no effect. Can anyone who has a bit more experience show me what I'm doing wrong? Thanks!

(read command which works)
result = send_rpc_katcl(l, 5000, KATCP_FLAG_FIRST | KATCP_FLAG_STRING , "?write", KATCP_FLAG_STRING, regName, KATCP_FLAG_STRING, "0", KATCP_FLAG_LAST|KATCP_FLAG_ULONG, 0,NULL);

(write command which fails quietly)
result = send_rpc_katcl(l, 5000, KATCP_FLAG_FIRST | KATCP_FLAG_STRING , "?write", KATCP_FLAG_STRING, regName, KATCP_FLAG_STRING, "0", KATCP_FLAG_LAST|KATCP_FLAG_ULONG, 0,NULL);


--Ryan Monroe

Reply via email to