Visara Master Console Center Scripting Guide User Manual
Page 240
![background image](https://www.manualsdir.com/files/808700/content/doc240.png)
Appendix B Command Syntax
Scripting Guide
240
Object
Manager
Populates an associative
numeric array with object
IDs from the children of a
parent object.
OBJIDARRAY(%Class,%ObjIDParent,%AssocArray)
Object
Manager
Sets the current value in an
object’s field.
OBJSET(%ObjID,$ObjFieldName,$NewValue)==>%ErrCode
Object
Manager
Sets the field values for an
object from an associative
string array.
OBJSETARRAY(%ObjID,$AssocArray)==>%Success
Physical
Interface
Control
Switches a CPU’s power ON
or OFF.
CPUPOWER(%Port,%Operation)
Physical
Interface
Control
Check the status of a device
connected to a DI unit.
DIUNIT(%Port)==>%Status
Physical
Interface
Control
Controls the device connected to
a DO unit.
DOUNIT(%Port[,%Operation])==>%DOSwitch
Physical
Interface
Control
Reads the current humidity
from a sensor unit.
HUMID(%Port)==>%Humidity
Physical
Interface
Control
Reads the current
temperature from a sensor
unit.
TEMP(%Port)==>%Temp
Scripting
Obtains the system integer
file descriptor from a file
handle
SCRIPTCANCEL($ScriptName,$Class,$Name)