Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
02-20-2020 07:26 AM
Hello, this is some C code I inserted inside a formula node for a pendulum. It comes up with the error shown in the second screenshot, and I'm not sure what to do about it as I've copied exactly the code from a manual we were given.
Thanks 🙂
Solved! Go to Solution.
02-20-2020 07:42 AM
Hi Isobel,
@IsobelMunden wrote:
Hello, this is some C code I inserted inside a formula node for a pendulum. It comes up with the error shown in the second screenshot, and I'm not sure what to do about it as I've copied exactly the code from a manual we were given.
What about that missing variable "theta0"? It isn't defined anywhere in this formula node!
(Check the naming of the formula node input carefully…)
02-20-2020 07:57 AM
Thank you!!
02-20-2020 09:16 AM
If GerdW's answer fixed your issue then you should mark it as the solution.