01-27-2011 12:35 PM
How to make this example in LabVIEW , anyone , to help?
Swell Model
X(t)=A ( 1+α ( u(t-t1)-u(t-t2))) sin(wt)
t1<t2, u(t) = { 1, t>= 0 ; 0, t<0
parameters
0.1=< α=< 0.8
T =< t2-t1=< 9T
01-27-2011 12:57 PM
What do you mean you want to "make" that model?
Do you want to graph it? Solve it?
What do you have done so far?
01-27-2011 01:01 PM
01-27-2011 01:01 PM
I want to show it in a graph, a tried to , but but didn't succed, this is what i get in a graph.
01-27-2011 01:03 PM
Thanks GerdW but can you post it the .vi file of this ?
01-27-2011 01:11 PM - edited 01-27-2011 01:11 PM
01-27-2011 01:20 PM
Thanks GerdW , but I can't find the way to edit the snippet, can you please give me the .vi , beceause I want to show the signal in a graph
01-27-2011 01:21 PM
It's a LV2010 snippet; Goce's using 8.5. A Code Capture Tool snippet can automatically save to older versions and GetSnippet (JKI RCF required) can extract them in pre-2009 LabVIEW. I made this LV 8.2 snippet in LV2010.
01-27-2011 01:33 PM
Thanks, but there is still a problem, I can't see the graph, which I think that it must to be something like this in the atach.
Regards
01-27-2011 01:35 PM
Gerd's snippet will not give you a graph because it calculates a single number.
All of the variables are set to controls, so the user would set each one of those numbers, then his code will calculate the result.
If you want to graph one variable vs the result, you can use his code as a subVI, then pass an array of values in, and hold the other variables constant.