LabVIEW Student Community

Highlighted

PID VI output becoming NaN....

I am developing a control application using PID VI (NI cRIO application). I am reading the setpoint profile from a comma separated values (csv) file and generating the setpoint using the PID setpoint profile VI.

The setpoint is correctly generated by the PID setpoint profile VI. But when I give the setpoint as input to PID VI along with Process variable, the output becomes Not a Number (NaN).

Could you advise the possible errors/issues regarding the same.

Thanks in advance.

0 Kudos
Message 1 of 2
(2,677 Views)
1 REPLY 1
Highlighted

Re: PID VI output becoming NaN....

Issue solved. The problem was with initialization of the setpoint array input to PID setpoint profile VI. After correctly initializing the array, the issue is solved.

0 Kudos
Message 2 of 2
(1,823 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.