Tomasz Posted April 3, 2020 Posted April 3, 2020 (edited) Hello everyone, I want to get the first value of signal within capsule. When I use getStart it returns No variant of function 'toscalars' consumes the parameters (Signal, Condition) at 'toscalars' Same with following function: $signal.toscalars($capsule).first() When I created capsule inside formula everything works fine: $signal.toscalars(capsule(now() - 6y, now())).first() Thanks Edited April 3, 2020 by Tomasz
Thorsten Vogt Posted April 3, 2020 Posted April 3, 2020 Hi Tomasz, regarding the error message I assume you are passing a condition to the toScalars function instead of a capsule. If you want to have the first value of the capsule you can also use "Signal from Condition": Regards, Thorsten 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now