LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph of single data

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.

 

thanks

do not hesitate to give kudosSmiley Happy
0 Kudos
Message 1 of 7
(3,222 Views)

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.

0 Kudos
Message 2 of 7
(3,215 Views)

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.

thanks

do not hesitate to give kudosSmiley Happy
0 Kudos
Message 3 of 7
(3,200 Views)

Hi Sahil,

 

Isuppose you want something like this.

 

contact if some doubt

 

regards,

 

Shrek

0 Kudos
Message 4 of 7
(3,193 Views)

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 Smiley Wink

 

@shrek:

What is "something like this"?

Message Edited by GerdW on 12-23-2009 09:04 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(3,186 Views)
sorry i forgot to attach the file
0 Kudos
Message 6 of 7
(3,175 Views)

Good example shrekt to point out the difference between graph and chart!

Lets hear from sahil if this solves his problem?

Shreyas Hebbare
Shreyas Technologies
India
0 Kudos
Message 7 of 7
(3,142 Views)