Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Software Installation and Test Comment on #2864 #2867

(untitled)


Actually, it was not so easy!

As I thought at first that actually Paw was not calling the rfio functions, I had provided empty versions of these calls.
But as a problem recently reported has shown, Paw does call the rfio functions.

As I have no documentation about these calls, and as I have found no information on the Cern Web site, I have made some reverse engineering which has shown that these calls should be identical to the standard C library calls.
So I have managed to call the standard functions through my fake rfio functions.

This seems to work for all the calls (rfio_open, rfio_close, rio_read, rfio_write).
It does not work for rfio_stat, but it is enough to return 0 from this call, so this is what I did.

Now, Paw is able at least to read a histogram from a file!
A test should be made to check if there are problems with writes.