LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

please check my VI and tell me if something is wrong.

    I tying to build and Simulate the dynamic response of first order system ,
I'm new in labview , I think something is not as should  be.
please check the attachment file and give me a suggestion or correct any errors that you see in the VI.
Here are the instructions I followed

y(n)= Δt       *    (  T  * y(n-1)+x(n)  )

         T+Δt            Δt

Where T is the time constant, x(t) is the input and y(t) is the output.




Experiment 1, Simulate the dynamic response of first order system

1.      Launch LabVIEW.

2.      Create a blank VI.

3.      The front panel should have at least an numeric control to input the time constant and the graph indicator to show the result.

4.      Drop the “Simulated Signal” express VI and choose the signal type as square wave, frequency as 1Hz, sample frequency as 1000Hz and number of data points as 500.

5.      Use “Convert from Dynamic Data” VI to convert the data from the “Simulated Signal” express VI to single waveform data.

6.      Use waveform function to extract the waveform data and the time interval of the waveform.

7.      Use FOR loop to iterate the output data of the first order system.

8.      Use the formula node to program the algorithm based on equation 3.

9.      Use waveform function to create the waveform data from the output data and the time interval of the input waveform.

10.  Use “Build Array” function to create an array that consists of the input and output waveforms.

11.  Use graph indicator to show the input and output waveforms.

12.  Use “Write LabVIEW Measurement File” VI to save the data in a file.

13.  Run the VI using the following time constants: 0.01, 0.03, 0.05, 0.07 and 0.1, and save the results to files.


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

Hi Neoforce,

If you want i can give some help doing that program. Yours it's completly confuse. You really are new to labview.

So, if can explain what you want. I can try to do the program for you.

y=(dt/(T+dt))*((T/dt)*y1+x); it's the expression. But explain the inputs dt, T,X and y1.

What is the result that you expect to see in the graph? It's y(x)?

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 5
(2,896 Views)
What version of LabVIEW are you using ?

Rudi N.

Message Edited by Rudi N on 12-01-2006 12:13 PM

0 Kudos
Message 3 of 5
(2,870 Views)
    I'm using labview 8
0 Kudos
Message 4 of 5
(2,862 Views)
Neofoce:

I hope all is well. For some strange reasons, your post was not answered. Please let me know if you still require assistance with this issue.

Regards,

Rudi N.
0 Kudos
Message 5 of 5
(2,813 Views)