The FORTRAN spy library provides a unique interface to acquire events:
The library itself can get the events only from a circular buffer. However, if on the system runs a spy daemon that comunicates with the remote machine (via the farm spy daemon ) or reads from a YBOS file, the library can access also that type of events.
In order to use the library, three (plus one) steps are needed:
The syntax of the command is:
where:
The return value of the routine is SPY_ERROR_OK if everything went OK, any other value should be treated as an error.
The syntax of the command is:
where:
The return value of the routine is:
If everything went OK, the buffer returned by the routine contains the data of an event.
The syntax of the command is:
where:
The return value of the routine is:
The syntax of the command is:
where:
The return value of the routine is SPY_ERROR_OK if everything went OK, any other value should be treated as an error. However, since this is the disconnecting phase, most of the time you can ignore the result.
The applications using this library should include spy_f77.inc and be linked with libspyf77.a and libspy.a.
Back to the spy documentation. | Top of the page. | Send comments to: Igor Sfiligoi |
Created | : | 15.12.1998 |
Last modified | : | 16.12.1998 |