LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID RPM Control : Error 2318

Hi all!

 

I am working on RPM control of a centrifuge and decided to make a PID controller. Created a simulation loop, set all the parameters, set output of signal. My input of signal is the counter input so I created appropriate virtual channel for it. However, when I am trying to run the loop it shows error 2318: error occured at integrator, "The dimensions of the parameter vectors of this function do not match". Where did I go wrong in the setup? Attached is snippet of the vi as well as screenshot of parameters of integrator. Please help me figure this out!

 

Best wishes,

Mariia A.PID Controlled RPM Readout.jpgintegrator.jpg

 

0 Kudos
Message 1 of 2
(2,939 Views)

Hi Mariia,

 

From what I can tell in your code, it looks like you are passing a scalar to the integrator function. Therefore, the polymorphic instance that you select should be a scalar.

 

This article gives a little more information about that particular error: http://digital.ni.com/public.nsf/allkb/E152340C7331406F862576E2006B318D?OpenDocument.

 

Best,

Christine

0 Kudos
Message 2 of 2
(2,891 Views)