« Back to Product

Documentation

IPS_GetModuleListByType

Require: IP-Symcon >= 3.3

 array IPS_GetModuleListByType (int $ModuleType) 

Parameters

ModuleType
Value Description
0 Core
1 I/O
2 Splitter
3 Device
4 Configurator
5 Discovery
6 Visualization

Returns

An array of all GUIDs of modules in IP-Symcon of the type Type given as strings

Description

The command determines the GUIDs of all modules within IP-Symcon of the type ModuleType. The IDs are listed in an array of strings.

Example

print_r(IPS_GetModuleListByType(0));

/* returns, e.g.:
Array
(
    [0] => {2D8B0172-166C-45B0-B979-61A787809E22}
    [1] => {CCC52C33-D77A-4AE9-A6CF-462F152532A0}
    [2] => {11842D31-3CA4-4F1B-BBA9-E4A0FE1873AF}
    [3] => {4CB91589-CE01-4700-906F-26320EFCF6C4}
    etc. ...
)
*/
Any questions?