aci.Obj_Value

SUMMARY

Get the value of a data object

SYNTAX

aci.Obj_Value((<object number>|<point id>))

ARGUMENTS

object number (type:number)
A data object number
point id (type:string)
The name of a data object

RETURN VALUES

1 (type:number)
Returns the value of the given data object.

ERROR HANDLING

The function will fail and terminate script execution if strict error checking is enabled (see aci.SetStrictMode()) and one of the following conditions is met:

EXAMPLES

if aci.Obj_Value("TANKLEVEL") > 100 then
        print("Tanklevel > 100") --diagnostic message
end
		


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times