LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create multiple movable "zero" lines on oscilloscope

Hi all,

 

I am plotting multiple waveforms on a single graph and would like a "line" which indicates the zero line for each waveform. This zero line will be movable up or down on the plot and the graphs will follow. As the graphs are different colors, I would like the "zero" line to be the same color as its respective plot line. For example, a red plot line shouldn't have a yellow "zero" line.

 

The reason I want to offset the waveforms is because I am measuring waveform spikes, so I want to have the waveforms offset enough to see the spike and the baseline on the same plot.

 

I can already move the graphs up and down and I have the difference from the zero line stored in an array. My question is: how can I make zero lines which have the same colors as their respective plot lines and which move with the plots? Are markers or cursors the solution? I can't find much in the examples or the manual.

0 Kudos
Message 1 of 6
(3,495 Views)

What does this have to do with LabVIEW?  What oscilloscope are you using?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(3,474 Views)
Are you talking about simulating a scope in LabVIEW? Are these simple horizontal lines you want? You can certainly use cursors and with a property node, color them the way you want. You have to select Active Cursor first.
0 Kudos
Message 3 of 6
(3,468 Views)

Yes, this is for a LabVIEW application. The "graph" is a waveform graph.

0 Kudos
Message 4 of 6
(3,455 Views)

Yes, I am talking about taking data and plotting it on a graph, simulating an oscilloscope.

0 Kudos
Message 5 of 6
(3,454 Views)

In that case, just make another waveform that is a DC signal at the voltage you want and add it to the graph.  You can mess around with the graph properties to make it the same color as the plot you are associating it with.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(3,434 Views)