Description

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Description

mapp Services V5.16

MpSkylineSetModuleState uses the MpLink of anMpSkyline configuration.

This function can be used to enable a state of a module.

The desired module name is defined on parameter "Module"; the state being enabled is defined on "State".

For the module name, see the MpSkyline configuration under section "Machine skyline".

setmodulestate_config_modulename

For the states that can be enabled, see section "Module state collections" in the MpSkyline configuration.

setmodulestate_config_states

By default, the first defined state is active in the configuration. Only one state can be active in a module. This means that as soon as a new state is enabled by the function, the previous state is replaced.

"Return value" returns the function's return value. With "0", the function was executed successfully. If the function cannot be executed, an error number is displayed. For information about error numbers along with their causes and solutions, see here.