I am using python and cannot find in the documentation any description of how to do pipe read/writes. What python type do you pass to the FrontPanel method ReadFromPipeOut() that is equivalent to a C unsigned char*? I think documenting this would be a valuable addition to the python documentation if does not already exist.
We have updated the documentation for the next release. From Python, the calling syntax is:
buf = "\x00"*1076 xem.ReadFromPipeOut(0xa0, buf)
‘buf’ becomes a 1076-byte string buffer which is used to contain the data read from the pipeout.
In both the Write and Read cases, the length of the buffer passed is the length transferred.