LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ss model

Solved!
Go to solution

While solving a state space problem, I used MathScript node to enter some code. then, I added inputs and an output to the node. but I am not able to change the type of the output to "SS model". Its not working. (I am not able to select that opyion.)

0 Kudos
Message 1 of 5
(2,357 Views)

You need to install and activate the LabVIEW Control Design and Simulation Module to access the ss function. If you have this module installed, then let me know...

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 5
(2,333 Views)

I have this module installed and use many other options like CD construct state space model, etc in that module.

0 Kudos
Message 3 of 5
(2,330 Views)
Solution
Accepted by topic author Raghavendra1

Then, just try to do the following script:


sys= rss(3,1,1);

and make the 'sys' as your output on the node. It should give you the state-space model.

 

MSss.PNG

Notice that my model is a 'state-space' model. If your model is another type, like a transfer function, then you have to convert the model to ss using:

 

sys = ss ( sysTF); 

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 4 of 5
(2,310 Views)

many thanks, i got this.

0 Kudos
Message 5 of 5
(2,303 Views)