Hi!
In NXSL, you can use any integer value as boolean, where 0 means false and any-non-zero value means true. So, you can use errorCount attribute as boolean flag if you wish, like below:
if (dci->errorCount)
{
// Processing if error
}
else
{
// Processing if OK
}
You can also apply boolean logic operations to integer values, for example:
if (!dci->errorCount)
{
// Processing if there are no errors
}
Best regards,
Victor
In NXSL, you can use any integer value as boolean, where 0 means false and any-non-zero value means true. So, you can use errorCount attribute as boolean flag if you wish, like below:
if (dci->errorCount)
{
// Processing if error
}
else
{
// Processing if OK
}
You can also apply boolean logic operations to integer values, for example:
if (!dci->errorCount)
{
// Processing if there are no errors
}
Best regards,
Victor
The only good solution I see is to allow status polling interval configuration for each node - it's on my todo list for some time, but I cannot promise exact version where this feature will be implemented.