IsOptionActive Method
Description
Returns the status of software options.
Syntax
Function IsOptionActive (option As SpelOptions) As Boolean
Parameters
- option
An integer indicating the option number.
Return Value
False – Disabled
True – Enabled
See Also
GetControllerInfo Method
IsOptionActive Example
VB Example:
Dim ret As Boolean
ret = mspel.IsOptionActive(SpelOptions.FieldbusMaster)
C# Example:
bool ret;
ret = m_spel.IsOptionActive(SpelOptions.FieldbusMaster);
← InW Method J →