LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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



@unclebump wrote:
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.


See Ben's reply earlier. NaN wony work with Digital Waveform Graph.

Or, the other way round - Digital values cant ve undefined numbers. I mean Nan. Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 11 of 24
(6,009 Views)

Actually uncle's suggestion is not that bad!

Put the theoretical correct on top with a transparent background.

Put the actual data in the background graph with a contrasting color.

This will illustrates the bad states but may be hard to find if the graph is busy. Annotations can help direct attention to failing states.

The code looks like this.

Ben

Message Edited by Ben on 10-20-2007 12:49 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
Message 12 of 24
(5,996 Views)

Note:

Annotations were not available in LV 7.1 I believe.

Cursors can be used similarly but require a bit more code to do what the annotations do better. Smiley Wink

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 13 of 24
(5,974 Views)

LV8 also added the ability to control imbedded images. The same effect could be accomplished in LV 7.1 but a seperate picture control was required for that.

Ben

Message Edited by Ben on 10-20-2007 03:03 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
Message 14 of 24
(5,971 Views)
Ben,
 
You ve really opened up new frontiers for me to explolre. Smiley Happy
- Partha ( CLD until Oct 2024 🙂 )
Message 15 of 24
(5,934 Views)
Partha wrote "You ve really opened up new frontiers for me to explolre. ".
 
Cool!
 
Then please report back with anything interesting you find on your adventures.
 
And one more thing...
 
I'll give out bonus points (Stars) for anyone that can produce a demo that show me how to use the "Darken Compare..." property node.
 
 
The help and name sure sounds like something I want to know about. Smiley Wink
 
Ben

Message Edited by Ben on 10-22-2007 07:33 AM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 16 of 24
(5,939 Views)

Surely I ll update here. Smiley Happy

But is this prpperty available in 7.1 ? Smiley Indifferent

Moreover, the Digital Graph I use is NOT of this datatype of a bool cluster.It is of the Digital array type. Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
Message 17 of 24
(5,931 Views)

No its not in LV 7.1.

I found it in LV 8.2.1 and am not usre about LV 8.0.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 18 of 24
(5,927 Views)


@Ben wrote:
 
I'll give out bonus points (Stars) for anyone that can produce a demo that show me how to use the "Darken Compare..." property node.

Naturally, I can't give a demo, but it seems to me that you can't get much simpler than a boolean input. Smiley Very Happy

My guess would be that if you wire T it would highlight (or darken, as the help says) the T sections of the graph and vice versa for F. Does it not do that?

Also, is this property private?


___________________
Try to take over the world!
Message 19 of 24
(5,903 Views)

Always on me to be precise in my questions. Smiley Mad

OK I admit I was lazy and used the plot position property which is private. Smiley Surprised

The "Darken..." is not private (not blue) but I could not see any difference on my graphs when I set the property true.

Not knowing what that property does I was hoping I could use that to highlight differences between a "good and bad" signal. But I have no justification for that idea.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 20 of 24
(5,894 Views)