LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pendulum Error Query

Solved!
Go to solution

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 🙂

IsobelMunden_0-1582205063435.png

IsobelMunden_1-1582205087697.png

 

 

0 Kudos
Message 1 of 4
(2,152 Views)
Solution
Accepted by topic author IsobelMunden

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…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,142 Views)

Thank you!!

0 Kudos
Message 3 of 4
(2,136 Views)

If GerdW's answer fixed your issue then you should mark it as the solution.

0 Kudos
Message 4 of 4
(2,113 Views)