annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

How to change colour of particular ticks in receive data of digital waveform graph?

I am using digital waveform graph for displaying drive & receive ticks.The digital waveform graph consists of 16 channels drive & receive datas.I am comparing each drive channel ticks with receive ticks(for example :-compare CH1 Drive & CH1 receive) and get the fault ticks in the receive channel. How to change the  colour of fault ticks in a particular receive channel tick ?
 
For example,
 
I have 100  receive channel ticks(in blues) I find 10th tick is fault.I like  to change the colour(to red) of 10th tick only .Other ticks colour should not changed . Is it possible?
 
 
-Kumar.B
Messaggio 1 di 24
6.839Visualizzazioni

Hi

plz check the following.

Messaggio 2 di 24
6.825Visualizzazioni

I think ur not understand correctly. I dont need to change the colour of plot ,i need the colour change in the plot for particular values.

I am using Labview 7.1

See the attachement

 

 

-Kumar.B

Messaggio 3 di 24
6.814Visualizzazioni
Hi Kumar,

Try right-clicking on the plot and selecting properties.  Then select the plot tab, and you can change the color per channel, as seen in the attached image.

Trey B | Applications Engineering | National Instruments
Messaggio 4 di 24
6.780Visualizzazioni

Both Christian and myslef have posted examples of how to do this, but I don't have time to find the links.

This can be accomplished by using "extra plots" that are not shown in the plot legend. The extra plot will under normal circumstances, get updated with "NaN" so that they do not plot on the graph. When a "bad" reading is detected, the "extra plot" gets updated with the bad reading, and the "normal" plot gets "NaN".

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Messaggio 5 di 24
6.778Visualizzazioni
My concern is how to achieve it in  Digital Waveform Graph.(attached example vi & screen shot in previous posts).
 
Shall u post any small example vi?
 
I am using Labview 7.1
 
 
-Kumar.B
 
Messaggio 6 di 24
6.749Visualizzazioni


Ben wrote

This can be accomplished by using "extra plots" that are not shown in the plot legend.



I dont get your point.

I did try out with so many options, but there seems to be no way to change the colour of just a single digital sample (tick) on the Digital Waveform Graph.

Also the vertical scrollbar for all the types of graphs (esp, the Digital Graph) is of utmost necessity. Smiley Felice

Can some lead experts file a feature request for this, or should we file on our own ?! Smiley Strizza l'occhio

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Messaggio 7 di 24
6.746Visualizzazioni

Will not work with digital.

With LV 7.1 you will have to implement your own using a picture control (lotta work!).

There is no way (that I know of) to lift the pen since you can't use "NaN" as boolean.

In LV 8 or better a XControl could be developed to do this (but still a lot of work!).

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Messaggio 8 di 24
6.732Visualizzazioni

Ben,

I wonder why none of you had asked for the vertical scrollbar in the graphs all these years! Smiley Indifferente

When you play with digital graphs for more channels, say >32, it is necessarily needed. Smiley Felice

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Messaggio 9 di 24
6.727Visualizzazioni
How about using two plots on top of each other that are identical in size. Make one transparent. Use one to hold the normal data with NaN replacing the values you want to highlight. This will leave gaps in the data. On the other chart, it is normally NaN and shows nothing. Then make the highlight region equal to one. This chart could have all signals with the highlighted color.
Messaggio 10 di 24
6.714Visualizzazioni