-
Notifications
You must be signed in to change notification settings - Fork 2
_port_event
bergsma edited this page Sep 26, 2014
·
5 revisions
#port_event
###Send a message to a port.
Syntax
status = port_event ( id,data ) ;
Arguments
- int id
Device Id.
- list data
Data to send.
Return Value
str status
- $ACKNOWLEDGE : The message was sent and a reply message received.
The STATUS variable is set to $ACKNOWLEDGE
- %BOUNDS : Device Id is out of range.
The STATUS variable is set to %BOUNDS
- %PORT : Device id 'x' is not assigned. Use port_assign(id,fd)
The STATUS variable is set to %PORT
- %PORT : No port connection (through port 'x') exists for device 'y'
The STATUS variable is set to %PORT
- %PORT : Failed to send port message
The STATUS variable is set to %PORT
Warnings
- %BOUNDS : Device Id is out of range.
- %PORT : Device id 'x' is not assigned. Use port_assign(id,fd)
- %PORT : No port connection (through port 'x') exists for device 'y'
- %PORT : Failed to send port message
Exceptions
- %ARGUMENT: Invalid arguments. Usage: status = port_event ( id,data ) ;
Description
- None
Examples
%FILE
Related Links