Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Serial Port IO

joncrowell
Beginner
527 Views
Hi,

On VAX fortran I could do an OPEN(file="TTA0:",...)
and open the a serial port for READ/WRITE.. I'm trying to see that I can do the same with Intel Fortran V7.0 before I start coding my sample project. I have a Windows2000 system with 6 COM ports and need to open all of them for READ/WRITE access.

I've searced the forum and found references to SPORT_xxx routines but can't find them described in the three manuals for Fortran on the web site?

Is there a pointer to an example?

Thanks,
Jon Crowell
0 Kudos
1 Reply
james1
Beginner
527 Views
I think the SPORT routines are CVF. You should be able to do an OPEN(file="COM3",...) and do very basic things with the RTL. For more sophisticated work the Win32 routines really aren't hard to use, it depends on the kind of I/O you are planning to do.

James
0 Kudos
Reply