LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I implement a graph like a strip chart?

Hi there,

Currently I'm using a strip chart to display some "real-time" analyzed data, but I would like to have a cursor on it to display the x and y values on the strip chart. Any suggestions?

Thanks.
0 Kudos
Message 1 of 14
(8,102 Views)
The LabWindows/CVI stripchart does not have cursors. What you could do though is put a couple of numeric controls right next to your strip chart and whenever you plot a new point to the chart place the x-y coordinates for the new point in these numeric controls to display the data to your user.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 14
(8,101 Views)
Thanks for the reply.
The user also wants the ability to have an approximate location of peak(s) after some new points have been displayed.
I have seen an example using LabView to use a graph as a strip chart. Is it possible to use a graph as a strip chart in CVI?
0 Kudos
Message 3 of 14
(8,101 Views)
No, the graph in CVI is cleared and updated with the new data everytime you plot to it. You have to use the stripchart in order to keep a history of plot points to be added to as needed. You can use the analysis library's peak detector function to analyze your data as it is processed to detect peaks and display that information in some numeric controls as well.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 4 of 14
(8,101 Views)
I too would like some kind of cursor function on my strip chart. Have you had any good luck with this issue? I do not have the requirement to operate the cursors and add points to the strip chart at the same time. Perhaps after collecting all the data, I could convert from a strip chart to a graph and then use graph cursors?
0 Kudos
Message 6 of 14
(8,100 Views)
Not sure about this, but couldn't you use the tooltips toolkit to display information about the cursor location, or even just the standard mouseover facilities?
0 Kudos
Message 5 of 14
(8,101 Views)
I have found the solution to this issue. Basically use a graph. You can scroll the graph programmatically to make it look like a strip chart. I have a working demo. If anyone would like it, just ask.
0 Kudos
Message 7 of 14
(8,100 Views)
I have a similar need for a strip chart with graph capabilities so
I'd be interested to see how you did it. Why not share it with the group?

"John Sch." wrote in message
news:5065000000050000002B7F0000-1023576873000@exchange.ni.com...
> I have found the solution to this issue. Basically use a graph. You
> can scroll the graph programmatically to make it look like a strip
> chart. I have a working demo. If anyone would like it, just ask.
0 Kudos
Message 8 of 14
(8,100 Views)
I will share. Give me a day to clean it up.
0 Kudos
Message 9 of 14
(8,100 Views)
Attached is my demo. This demo is a graph that scrolls like a strip chart. I would like any comments or questions.
Message 10 of 14
(8,100 Views)