RXASYNC: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Asynchronous communications API | RXASYNC.DLL is a REXX DLL which provides full exposure of the OS/2 Asynchronous communications API and thus enables REXX users to fully exploit the scripting advantages of REXX and OS/2 serial communications. Works with SIO and standard COM drivers. The source for IBM Developer's Workframe/2 is included. | ||
== | Author: Ian Timms (Crucial Applications) | ||
==Functions== | |||
;House keeping | |||
*RxAsyncDropFuncs - Drop the functions from REXX | |||
*RxAsyncLoadFuncs - Load the functions into REXX | |||
;Process control | |||
*RxAsyncPriority - Set Rexx process priority | |||
;ASYNC IOCTL interface | |||
*RxAsyncGetDcbInfo - Get the device control block info | |||
*RxAsyncSetDcbInfo - Set the device control block info | |||
*RxAsyncGetEnhParm - Get the enhanced parameters | |||
*RxAsyncSetEnhParm - Set the enhanced parameters | |||
*RxAsyncGetLnCtrl - Get the comms port settings | |||
*RxAsyncSetLnCtrl - Set the comms port settings | |||
*RxAsyncSetBreakOff - Turn break off | |||
*RxAsyncSetBreakOn - Turn break on | |||
*RxAsyncTxImmediate - Transmit byte immediately | |||
*RxAsyncTxStop - Stop transmission (ala XOFF) | |||
*RxAsyncTxStart - Start transmission (ala XON) | |||
*RxAsyncGetComStatus - Get COM status | |||
*RxAsyncGetTxStatus - Get Transmit status | |||
*RxAsyncGetMdmOutput - Get modem output signals | |||
*RxAsyncGetMdmInput - Get modem input signals | |||
*RxAsyncSetMdmOutput - Set modem output signals | |||
*RxAsyncGetRxCount - Get size and number of chars in RX queue | |||
*RxAsyncGetTxCount - Get size and number of chars in TX queue | |||
*RxAsyncGetComError - Get the COM Error Word | |||
*RxAsyncGetComEvent - Get the COM Event Word | |||
;Extensions | |||
*RxAsyncOpen - Open the specified comms port | |||
*RxAsyncClose - Close the specified comms port | |||
*RxAsyncWait - Wait for receipt of input | |||
*RxAsyncWatch - Wait for receipt of specified strings | |||
*RxAsyncRead - Read data and wait if necessary | |||
*RxAsyncWrite - Write data to the comms port | |||
*RxAsyncCarrier - Test/Wait for Data Carrier Detect (DCD) | |||
*RxAsyncBreak - Send break for defined period | |||
*RxAsyncDcbInfo - Print the device control block info | |||
*RxAsyncActive - Test for active modem signal | |||
*RxAsyncRaise - Raise specified modem signal | |||
*RxAsyncLower - Lower specified modem signal | |||
;File handling | |||
*RxAsyncFileExists -Test for file(s) existence | |||
*RxAsyncFileDelete - Delete specified file | |||
*RxAsyncFileCopy - Copy specified file | |||
*RxAsyncFileMove - Move specified file | |||
*RxAsyncFileRename - Rename specified file | |||
*RxAsyncFileNameIs - Determine file name | |||
*RxAsyncFilePathIs - Determine file path | |||
*RxAsyncDirectory - Query/Change directory/drive | |||
;Miscellaneous | |||
*RxAsyncSleep - Wait for some defined period | |||
*RxAsyncPrint - Print string on stdout | |||
*RxAsyncMsgBox - Display PM message box (PM use only) | |||
==Version== | |||
* 1.0 (1993-08-14) | |||
* 1.5 (1994-05-22) | |||
* 2.0 (1994-12-26) | |||
==Links== | ==Links== | ||
* [ | * [https://hobbes.nmsu.edu/download/pub/os2/dev/rexx/rxasyn20.zip rxasyn20.zip] | ||
[[Category:REXX Function Library]] | [[Category:REXX Function Library]] |
Revision as of 02:16, 3 January 2021
RXASYNC.DLL is a REXX DLL which provides full exposure of the OS/2 Asynchronous communications API and thus enables REXX users to fully exploit the scripting advantages of REXX and OS/2 serial communications. Works with SIO and standard COM drivers. The source for IBM Developer's Workframe/2 is included.
Author: Ian Timms (Crucial Applications)
Functions
- House keeping
- RxAsyncDropFuncs - Drop the functions from REXX
- RxAsyncLoadFuncs - Load the functions into REXX
- Process control
- RxAsyncPriority - Set Rexx process priority
- ASYNC IOCTL interface
- RxAsyncGetDcbInfo - Get the device control block info
- RxAsyncSetDcbInfo - Set the device control block info
- RxAsyncGetEnhParm - Get the enhanced parameters
- RxAsyncSetEnhParm - Set the enhanced parameters
- RxAsyncGetLnCtrl - Get the comms port settings
- RxAsyncSetLnCtrl - Set the comms port settings
- RxAsyncSetBreakOff - Turn break off
- RxAsyncSetBreakOn - Turn break on
- RxAsyncTxImmediate - Transmit byte immediately
- RxAsyncTxStop - Stop transmission (ala XOFF)
- RxAsyncTxStart - Start transmission (ala XON)
- RxAsyncGetComStatus - Get COM status
- RxAsyncGetTxStatus - Get Transmit status
- RxAsyncGetMdmOutput - Get modem output signals
- RxAsyncGetMdmInput - Get modem input signals
- RxAsyncSetMdmOutput - Set modem output signals
- RxAsyncGetRxCount - Get size and number of chars in RX queue
- RxAsyncGetTxCount - Get size and number of chars in TX queue
- RxAsyncGetComError - Get the COM Error Word
- RxAsyncGetComEvent - Get the COM Event Word
- Extensions
- RxAsyncOpen - Open the specified comms port
- RxAsyncClose - Close the specified comms port
- RxAsyncWait - Wait for receipt of input
- RxAsyncWatch - Wait for receipt of specified strings
- RxAsyncRead - Read data and wait if necessary
- RxAsyncWrite - Write data to the comms port
- RxAsyncCarrier - Test/Wait for Data Carrier Detect (DCD)
- RxAsyncBreak - Send break for defined period
- RxAsyncDcbInfo - Print the device control block info
- RxAsyncActive - Test for active modem signal
- RxAsyncRaise - Raise specified modem signal
- RxAsyncLower - Lower specified modem signal
- File handling
- RxAsyncFileExists -Test for file(s) existence
- RxAsyncFileDelete - Delete specified file
- RxAsyncFileCopy - Copy specified file
- RxAsyncFileMove - Move specified file
- RxAsyncFileRename - Rename specified file
- RxAsyncFileNameIs - Determine file name
- RxAsyncFilePathIs - Determine file path
- RxAsyncDirectory - Query/Change directory/drive
- Miscellaneous
- RxAsyncSleep - Wait for some defined period
- RxAsyncPrint - Print string on stdout
- RxAsyncMsgBox - Display PM message box (PM use only)
Version
- 1.0 (1993-08-14)
- 1.5 (1994-05-22)
- 2.0 (1994-12-26)