03-09-2016 03:48 PM
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.
03-10-2016 01:17 PM
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