OK. So you need help, but YOU have to write the program.
Let's do that in several steps.
1/ analyse the example program given. It is a rather poor triangular curve generator. I say poor because it only generates the max and min points, and the rest is simply interpolated. There should be additionnal points in between, if the plot has to be generated using an IO card for instance.
The only reusable things here are :
1a/ the idea of using a loop that runs the proper number of times to generate an array of Y data
1b/ the setup of the waveform from the Y array.
2/ the only thing to be done is therefore to generate a table of Y values that correspond to the equation y = amplitude . sin(t/(2.PI.frequency) + phase)+ offset
That should be straight forward, using the basic math functions. If not, I'm afraid that you'll have to do some personnal preliminar work. There are a number of tutorials available around. See for instance http://cnx.rice.edu/content/col10241/latest/
The only tricky part here is to generate the t values.
There are two possible solution :
2a/generate one t value and calculate the corresponding y. Put everything in the loop to generate the Y array
2b/ generate an array of t values, and calculate the corresponding Y array.
Solution b is better because it allows to replace easily the function, without being obliged to dig into the diagram. And since the mathematical functions in LabVIEW are mostly polymorphics (they accept either single values as input as well as arrays...), it is as easy to calculate the sin of the t array.
Accordingly, you should use the loop to create a t array. Remove the stuff inside the loop, use delta t time (required in the build waveform) and multiply it by the loop index. That's all.
Hope this helps. Good luck
CC
Chilly Charly (aka CC)