12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.NOTE. This call also kills the thread that keeps an outstanding read operationto the serial port. This call must be done before any of the port characteristicsare modified.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB "See Also: "Using the Serial I/O Port Routines" in your user’s guide, "Communications and"Communications Functions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultiresult = SPORT_CANCEL_IO( 2 )ENDSPORT_CONNECTSerial Port I/O Function: Establishes the connection to a serial port and defines certain usageparameters. This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_CONNECT (port [, options])port(Input) Integer. The port number of connection. The routine will open COMn, where n is the portnumber specified.options(Optional; input) Integer. Defines the connection options. These options define how thennn_LINE routines will work and also effect the data that is passed to the user. If more than oneoption is specified, the operator .OR. should be used between each option. Options are as follows:OptionDL_TOSS_CRDescriptionRemoves carriage return (CR) characters on input.2-450

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!