Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference

h.eng.cam.ac.uk
from h.eng.cam.ac.uk More from this publisher
12.07.2015 Views

2 Intel Fortran Libraries Referenceport(Input) Integer. The port number.rx_int(Optional; output) INTEGER(4). The receive interval timeout value.tx_tot_mult(Optional; output) INTEGER(4). The transmit multiplier part of the timeout value.tx_tot_const(Optional; output) INTEGER(4). The transmit constant part of the timeout value.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SPORT_SET_TIMEOUTS”, "Using the Serial I/O Port Routines" in your user’sguide, "Communications and "Communications Functions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGER*4 rx_intINTEGER*4 tx_tot_multINTEGER*4 tx_tot_constiresult = SPORT_GET_TIMEOUTS( 2, rx_int, tx_tot_mult, tx_tot_const )ENDSPORT_PEEK_DATASerial Port I/O Function: Returns information about the availability of input data. This functionis only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_PEEK_DATA (port [, present] [, count])port(Input) Integer. The port number.2-458

Descriptions of the Library Routines 2present(Optional; output) Integer. 1 if data is present, 0 if no data has been read.count(Optional; output) Integer. The count of characters that will be returned bySPORT_READ_DATA.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.NOTE. CR and LF characters may not be returned depending on the modespecified in the SPORT_CONNECT( ) call.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SPORT_CONNECT”, “SPORT_READ_DATA”, “SPORT_PEEK_LINE”, "Using theSerial I/O Port Routines" in your user’s guide, "Communications and "CommunicationsFunctions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGER presentINTEGER countiresult = SPORT_PEEK_DATA( 2, present, count )ENDSPORT_PEEK_LINESerial Port I/O Function: Returns information about the availability of input records. Thisfunction is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_PEEK_LINE (port [, present] [, count])port(Input) Integer. The port number.2-459

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>port(Input) Integer. The port number.rx_int(Optional; output) INTEGER(4). The receive interval timeout value.tx_tot_mult(Optional; output) INTEGER(4). The transmit multiplier part of the timeout value.tx_tot_const(Optional; output) INTEGER(4). The transmit constant part of the timeout value.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SPORT_SET_TIMEOUTS”, "Using the Serial I/O Port Routines" in your user’sguide, "Communications and "Communications Functions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGER*4 rx_intINTEGER*4 tx_tot_multINTEGER*4 tx_tot_constiresult = SPORT_GET_TIMEOUTS( 2, rx_int, tx_tot_mult, tx_tot_const )ENDSPORT_PEEK_DATASerial Port I/O Function: Returns information about the availability of input data. This functionis only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_PEEK_DATA (port [, present] [, count])port(Input) Integer. The port number.2-458

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

Saved successfully!

Ooh no, something went wrong!