Hi Rick I suggest you read the KATCP reference (memo 32), which explains details of escape codes and command syntax. http://casper.berkeley.edu/wiki/images/1/11/NRF-KAT7-6.0-IFCE-002-Rev4.pdf
To answer your specific questions: > So, the whole command begins with question mark and ends with a newline. yes > register name is a string. yes > Offset is an integer- does this mean an ascii representation of an integer, > or just a char array containing the bytes? In this case it's ascii representation of an integer (ie exactly what printf would output). > What if one of the bytes is newline? Similarly for the data field. Do we > add a backslash to escape special characters (newline, etc)? There are escape codes detailed in aforementioned memo32. > This is likely obvious to most people who read the wiki, but not to me. This stuff was added mostly for reference. If you can, I'd suggest you use the reference python wrapper distributed in the corr package so that you don't have to worry about this stuff. If you don't do python, there's also a known-good generic KATCP ansi-C client and server (but no specific wrappers for ROACH interfaces AFAIK) and I believe Henry worked on a Matlab client too. Jason

