-
Notifications
You must be signed in to change notification settings - Fork 2
_secs_disable
bergsma edited this page Sep 26, 2014
·
5 revisions
#secs_disable
###Disable (disassociate) a method with an incoming stream and function for a specific device id.
Syntax
status = secs_disable ( method,id,stream,function ) ;
Arguments
- list method
A defined method NOT to be invoked upon receipt of a specific stream and function from a specific device id.
- int id
A SECS II device id.
- int stream
A SECS II stream value.
- int function
A SECS II function value.
Return Value
str status
- $ACKNOWLEDE : The method for the SECS stream and function has been disabled.
The STATUS variable is set to $ACKNOWLEDGE
- 0 : Device Id is out of range.
The STATUS variable is set to %BOUNDS
- 0 : Could not find method 'method'.
The STATUS variable is set to %BRANCH
- 0 : Invalid method 'method'.
The STATUS variable is set to %INVALID
Warnings
- %BOUNDS : Device Id is out of range.
- %BRANCH : Could not find method 'method'.
- %INVALID : Invalid method 'method'.
Exceptions
-
%ARGUMENT: Invalid arguments. Usage: status = secs_disable ( method,id,stream,function ) ;
-
%IDENTIFIER: 'variable' argument is not a valid identifier, literal, or reference
Description
- None
Examples
puts "Create an example for the function 'secs_disable'" ;
Related Links