Threshold script
-
-
Hi
in treshold section, you must select "script" from function, samples=1, activation event and deactivation event as your choice.Press Script Button and write :
dcival=GetDCIValue($node, FindDCIByName($node, "Status")); (Status=your DCI name)
if (dcival>0 && decimal <1) return true;
return false; -
-
There is a space in DCI name, please verify that you have space in configuration too.
-
-
Hi,
can you show a screenshot of DCI "MUXD_CurrentPA" configuration?
Best regards,
Victor -
-
-
-
In transformation and threshold scripts, think you can simply use the "$1" to get last collected value.
dcival = $1;If you wish to process values from another DCI you must of course use the FindDCI* methods, but here it looks like you are interested in the value from this particular DCI itself.
Best regards,
Kjell -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

