12-22-2009 10:22 PM
hiii
i am facing a problem with the waveform graph.
i have a single data means a random number and i want to plot the graph of that data.
you can say that i want the graph just as it is shown on CRO screen.
example:
suppose i have a data like(1,2,3,4,5,6) then it will be shown on CRO like a ramp signal and the same i want to plot.
12-22-2009 10:39 PM
If you are generating a single point at a time, then you would wire up a chart and not a graph. If you generated several points like (1,2,3,4,5) as an array, you would wire up a graph.
There are example programs that demonstrate the basiic operations of graphs and charts. Have you looked at any of them.
12-23-2009 12:59 AM
hii Dennis
i have tried each waveform graph and chart like scope chart , strip chart , waveform chart etc...
the problem with all these is that these graphs shows the value with the ramp signal means if the data is 1 then it shows 1.its OK but when next data comes (let it be 2)then the path from 1 to 2 is a ramp signal and i want that the graph remains at 1 and when next data (as here 2)comes it shifts to 2 at the same time.
12-23-2009 01:31 AM
Hi Sahil,
Isuppose you want something like this.
contact if some doubt
regards,
Shrek
12-23-2009 02:03 AM - edited 12-23-2009 02:04 AM
Hi sahil,
a picture is worth a 1000 words... Could you attach a picture of what you really want ? (It's unclear to me, what you mean by "remain at 1" and "shift to 2 at the same time".)
Otherwise you can play with the plot interpolation setting to get either steps or lines connecting the data points
@shrek:
What is "something like this"?
12-23-2009 02:31 AM
12-23-2009 10:13 PM
Good example shrekt to point out the difference between graph and chart!
Lets hear from sahil if this solves his problem?