LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph with labels in plot area - is it possible?

Hi all!

I  am going to show some CAN frames getting from a digitizer card connected to a CAN bus circuit and i need to mark the parts of the frame like arbitration ID, the stuffed bits etc as the attached picture shows.


Do You have any idea how could i solve this?

Thx in advance!
0 Kudos
Message 1 of 11
(4,232 Views)
Hello ghost,
 
I am sorry but at the moment it is not possible to mark the areas programatically. What you could do is, if the length of the waveform is constant, to load a picture as background for the graph that marks the different areas.
 
Best regards
Philipp N.
NIG AE
0 Kudos
Message 2 of 11
(4,213 Views)
It's not a good news.
Thx
0 Kudos
Message 3 of 11
(4,203 Views)

Have you looked at annotations?

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 11
(4,198 Views)
Yes, but it marks only one point, not a range.
0 Kudos
Message 5 of 11
(4,194 Views)

Then look into using the pciture control to render the image.

This thread has a lot of links.

http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 11
(4,191 Views)

I came across this screen shot of an old VI that I did. Is this something like you want to do? If so, it will take me some time to come up with the code. I don't remember offhand how I did it.

Message Edited by Dennis Knutson on 12-08-2006 07:57 AM

Message 7 of 11
(4,186 Views)
It takes a while to get these old brain cells moving first thing in the morning. The graph in the screen shot is actually an xy graph on top of an intensity graph. The annotation is just a list of cursors
Message 8 of 11
(4,174 Views)
Thank You for your effort!

Best regards:
  Laszlo Gosztola
0 Kudos
Message 9 of 11
(4,159 Views)
If you have LabVIEW 8.0 or later, you can use the "plot Images: front|middle|back" property to draw directly on the graph area using any image commands. I think it should be quite easy to implement:
 
Have a look at:

LabVIEW ships with two examples for this. Look for "envelope.vi" and "plot images.vi" in the example finder.

 

 
Message 10 of 11
(4,132 Views)