×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• 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.

# Plotting Hex values in Excel....

## Plotting Hex values in Excel....

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

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

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

(OP)
Yes

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

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

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:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!