Hi, I would like to access the SOP item that I have assigned in my base comp. Specifically, I am referring to the variable “tx.” Perhaps I am missing something, but I am unable to find a solution to access the variable. I would greatly appreciate any help!
#Unlike depicted in the image, it says parent().Sensor.par.tx
Example_Base_Comp.toe (3.9 KB)
Best regards,
theArduinoGuy
parent().par.Sensor.eval().par.tx
1 Like
Thank you @nettoyeur for your help, I really appreciate it! Never heard of eval(). Good to know!
Also see documentation for the Par Class:
To get the parameter’s current value, regardless of the Parameter Mode (constant, expression, export or bound), use the eval()
method described below.
1 Like
Just some general info:
par.Sensor returns a parameter object. If you want to have the. Akue the parameter is holding you need to use eval()
1 Like