Skip to content

_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

  1. list method

A defined method NOT to be invoked upon receipt of a specific stream and function from a specific device id.

  1. int id

A SECS II device id.

  1. int stream

A SECS II stream value.

  1. 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

secs_enable

Clone this wiki locally