LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID in LabVIEW

Solved!
Go to solution

Hi GerdW,

 

Maybe I am disturbing you. Sorry about that. I tried with NI USB and It shows 1 error message. I have attached the image here. Would you check, please?

 

Thanks in advance. 

0 Kudos
Message 11 of 26
(2,604 Views)

Hi Milon,

 

I don't know why the PID is broken for you.

All I know is: it is working for me - with a standard LabVIEW installation.

 

Did you edit something in the PID VI?

Did you check what is broken in the PID?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 26
(2,598 Views)

Hi,

In my computer "PID.vi" option is working but "PID Advance.vi" is not working. I tried to code using two different way (files attached), but every time showed the same message (Image attached) "Poly VI 'NI_PID_pid.lvib: PID Advance.vi': Polymorphic subVI is broken". Even I tried to open LabVIEW examples. "PID Advance.vi" is also broken there. I can't understand the problem.

 

Any suggestion is appreciatable.

 

 

0 Kudos
Message 13 of 26
(2,607 Views)

Hi GerdW,

 

I don't know why "PID advanced.vi" is not working on my PC, even "PID advanced.vi" of the LabVIEW examples are not working. Always shows the same error message "broken". but only PID is working.

 

I didn't edit anything. and don't know how to find out specific broken place. 

0 Kudos
Message 14 of 26
(2,584 Views)

Hi Milon,

 

don't know how to find out specific broken place.

The first option is to mark the PID VI in the error window to read the error message specific to this VI.

The second step is to open the PID VI and to check it's block diagram…

 

Which LabVIEW version are you using? Which kind of license are you using?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 26
(2,581 Views)

Hi Milon,

 

Even I tried to open LabVIEW examples. "PID Advance.vi" is also broken there. I can't understand the problem.

You said you didn't modify those PID VIs - but the error shown will not pop up on its own…

 

Open the PID VIs and check their connector pane. It should look like this:

check.png

You will find the very same information in the LabVIEW help!

I can open both your VIs without any problem…

 

And PLEASE keep your discussion in one place! There is no need to create a new thread for the very same topic! (I moved your message into this thread…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 26
(2,594 Views)

Hi GerdW,

I also can't identify the problem. Actually, the error shows for "PID Advanced.vi and PID Advanced autotuning.vi" only. other vi are ok. the connector pane is also ok. I have attached picture for clearing this matter.

 

Is there any other way without using this (PID Advanced) option?

Download All
0 Kudos
Message 17 of 26
(2,575 Views)

What happens when you open the broken subVI?

The error is inside the PID VI...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 18 of 26
(2,567 Views)

Hi GerdW,

 

I have attached the pictures of very subVI under "PID Advanced.VI". Would you kindly check, please?

0 Kudos
Message 19 of 26
(2,554 Views)

Hi Milon,

 

now you have shown the connector pane of the "DBL Array" type of the PID function.

As this is a polymorphic VI you also need to check the "DBL" variant of that PID function!

 

As the error said: "one of the polymorphic versions has a different connector pane and so the whole polymorphic VI is broken"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 20 of 26
(2,547 Views)