LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I put the initial value onto the Transfer functions in simulation module

Hi!
I have tried to translate Simulink models into LabVIEW VIs using Simulation Module on LabVIEW8.20. My simulink models involve transfer functions with intial value at the Input and the Output. Simulink has the 'Transfer Function with initial value', however, Transfer Function of Simulation Module does not have such option.
Does any body know how to put the initial value onto the Transfer Functions in LabVIEW?
 
Masanari Kikkawa
0 Kudos
Message 1 of 5
(8,679 Views)

Masanari,

When you say initial condition, are you refering to Initial States, Inputs or Outputs. You can do any of those with some external code in LabVIEW and using the State-Space.vi. Notice that Control Design Toolkit allows you to convert the Transfer Function into a State-Space and you can define initial states of it. If you need to define the initial output of the Transfer Funtion, there is a VI that I could send to you.

So, let me know exactly what you need and I will reply to you.

Alex Barp - Control Design and Simulation Group - National Instruments

Barp - Control, Simulation, RTT and HIL - National Instruments
Message 2 of 5
(8,646 Views)

Dear Alex,

Thank you for kind advise. I need simply to define input (or output) initial value of Transfer Function of Simulation Module. I will be appliciate if you can provide VIs to deal with my need.

Unfortunately, Simulation Module of LabVIEW does not have these option in conrast to Simulink has the Transfer Function with Initial value.

Masanari Kikkawa

0 Kudos
Message 3 of 5
(8,619 Views)

Hello Mr, Kikkawa,

Since Barp does not reply to you, I will answer your question.

I do not understand your question fully, so I ask you a couple of questions.

First, there is a sample using Transfer Function in the NI example finder (in LabVIEW menu "help>>search examples")
You can put the "transfer" in the keyword in the search tab.

Which function do you want to initialize in this sample?
The input value of the "Transfer function", "square wave", or other?

Thank you,
Kazutaka Suzuki
NIJ AE

 

0 Kudos
Message 4 of 5
(8,589 Views)

Hello, Mr. Suzuki,

You can find the example vi named 'transfer function.vi' installed in Simulation Module.

This vi is configured 'Square wave' and 'Transfer Function',

What I would like to do is, for example, to set the initial numeric value at Input terminal or at Output terminal.

Simulink has 'Transfer function with initial value' bolck originally. How can you set this option in Simulation Moduke?

Thanks,

Kikkawa

0 Kudos
Message 5 of 5
(8,576 Views)