I have begun trying to resucitate an old 16-bit fortran program that read data sent from another device via a serial port. I'm having trouble tracking down documentation to help me implement the SPORT routines. For example, I can manage SPORT_SET_STATE:
ISTATE=SPORT_SET_STATE(PORT,1200,0, 8, 2)
and SPORT_CONNECT:
ICOM=SPORT_CONNECT(PORT, 0)
but I hit a snag on SPORT_READ_DATA (or SPORT_READ_LINE).
In PowerStation the old command would be:
READ(str,'(2x,f9.3)')DATA
But what would be a corresponding implementation for SPORT_READ_DATA?
Thanks,
Dave
serial port communications
For more complete information about compiler optimizations, see our Optimization Notice.



