Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: ScalarToLogical inputs
Reply to topic
Author Message
EMebane



Joined: Apr 15, 2019
Posts: 98

PostPosted: Jul 7, 2019 10:17 PM    Post subject: ScalarToLogical inputs

ScalarToLogical has 2 inputs and they aren't described in the manual. This element is used in the AlphaTheta sample to detect Theta crossovers above Alpha (I believe). Alpha is attached to the In (scalar) port and Theta is attached to the Var (scalar) port. The element settings are Threshold 1.0, Condition <. Would you explain how these inputs work?
jarek



Joined: Oct 22, 2007
Posts: 1040

PostPosted: Jul 8, 2019 4:05 PM    Post subject:

ScalarToLogical works very much like Threshold, so see the description of the Threshold in the manual.

It is an older element which is kept for compatibility, but I can't think of a strong reason to use is instead of Threshold. It might be a little faster because it is simpler.
EMebane



Joined: Apr 15, 2019
Posts: 98

PostPosted: Jul 8, 2019 6:06 PM    Post subject:

OK, thanks.
Reply to topic