Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Plotting Hex values in Excel....

Status
Not open for further replies.

melone

Electrical
Aug 10, 2001
1,233
US
I would like to create pseudo-timing diagrams using Excel, but have run into a small snag. I cannot seem to figure out how to plot hexadecimal values using any of the standard functions. I know that I can change the hex values to decimal, but that isn't what I want. I have a spreadsheet that breaks down about a dozen signals (most are 1 bit binary values, but 2 are 8 bit singals) into time sequential time slices. I am trying to plot these hex values vs the correspsonding time slice. This would allow me to create live timing diagrams which would be very helpful in documenting my current project. Also, this information will allow me to verify the results from the logic analyzer.


Thanks in advance for all of your help!
 
Replies continue below

Recommended for you

I don't quite understand what you want...

To plot the hex values vs. time you must 1st convert the hex values into their decimal equivalents and plot those vs. time. You say you know how to convert them but...

Are you plotting your binary now? Then just convert your hex to binary and you can plot them all at the same time.

What you want is easy but I don't understand what your really after.
[ponder]
 
I don't want decimal, I want to plot in hex. One of the great advantages of using a logic analyzer vs a scope, is that the analyzer can represent values in hex format. Hex is very easy to read, and much simpler to program. Therefore, when I am verifying signals on the analyzer, I would prefer to see them as hex values. Therefore, plotting decimal equivalents doesn't do me any good.

I have spec'ed out a program, and would like to verify that it is doing what I want. Therefore, I need to look at every signal and verify that at any instant in time, it will do what I am expecting. Therefore, I need to generate timing diagrams for my program, but would like to have is stored electronically (easy to modify and update).
 
But if you convert to decimal and plot that way the wave form should still look the same.

The only problem is that the axis labeling will be in decimal but I think there's a way around that... i'll have to look. Is this reference to decimal on the axis what you really don't want?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top