Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Plotting Hex values in Excel....

Plotting Hex values in Excel....

Plotting Hex values in Excel....

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!

RE: Plotting Hex values in Excel....

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.

RE: Plotting Hex values in Excel....

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).

RE: Plotting Hex values in Excel....

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?

RE: Plotting Hex values in Excel....


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close