LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

state space controller in labview

As the title suggests I've created a state space controller. I've tried to get this state space matrix into labview but i can't seem to get it to work. I've used the math script function and pasted the code and it has worked and shown the step response ive seen in matlab.

I tried using one example "SimEx statespace.vi" and reworking it with my figures but kept getting a error of "the dimensions of the parameter vectors of this function do not match".
Basically the idea is to build an inverted pendulum and have a signal from an encoder as an input and have the proportionate output to a stepper motor depending on its angle.

While using mathscipt works to show the step input im unsure if its appropriate for this purpose.

Any help or tips would be much a appreciated.

 
0 Kudos
Message 1 of 2
(142 Views)

It would help if you posted some code that illustrates the problem.

0 Kudos
Message 2 of 2
(109 Views)