LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Mathscript (FOPDT Transfer Function)

Solved!
Go to solution

Thankyou very much barp,

Although the solution can show non-minimum phase behavious,but because i want to monitor the parameter (rise time, overshoot) of the system in the front panel, i can't use control and simulation loop and connect to "CD Parametric Time" as it will produce an error. Do control and simulation loop incorporate any function block to monitor the parameter?

 

Again thankyou very much ya barp 🙂

0 Kudos
Message 11 of 14
(661 Views)

yes, you are correct. We don't have a function to directly measure those properties. However, the beauty of LabVIEW is that you can code 'around' it....

 

If you open the "CD Parametric Time", you will find the functions to measure the properties you need. You just need to provide with the right arrays. But using resampling to convert from the XY value to the necessary array and by using those functions, you can measure those properties from a step response. Here is the code:

 

simulation with delay_simple and measurement.png

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 12 of 14
(644 Views)

Okay, thanks barp, its work now, u really help me a lot 🙂 thank you very much, appreciate it 

0 Kudos
Message 13 of 14
(635 Views)

here is the file barp 🙂

0 Kudos
Message 14 of 14
(617 Views)