Bug 958 - Imported raw analog signal displays incorrectly
Summary: Imported raw analog signal displays incorrectly
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Data display (show other bugs)
Version: unreleased development snapshot
Hardware: x86 Windows
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-27 06:24 CEST by David Wiens
Modified: 2023-07-04 07:51 CEST (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Wiens 2017-05-27 06:24:38 CEST
Using "Import analog signals without header" with 8-bit data displays garbage.

To reproduce:
1) Use a hex editor to create a test file consisting of 32 8-bit values ranging from 0x00 to 0xFF in increments of 0x08.
2) Import the file with "Import analog signals without header", selecting U8 as the format.
3) The displayed data points either show as 0V or go totally off scale, regardless of the vertical scaling selected.
4) I expected to see a signal ramping up.

What conversion does the import do?  In other words, would an input value of 255 translate to a value of 255V, or is it scaled somehow?

PulseView version used was 0.4.0-git-0f5e2c7 (debug build).

DaveW

-----

Gerhard Sittig says:

There appear to be two separate issues here.

One is that the input module seems to generate discrete values
without the required precision, which inappropriately represent
the input values.  This is taken care of in Bug 950.

There is another issue that the waveform looks weird in the GUI
(has unexpected spikes that go off screen).  This needs more
investigation.
Comment 1 Uwe Hermann 2017-05-27 23:32:03 CEST
Fixed in 303eec78f3c499cd30fc88b282aa1f336e82a806, thanks!
Comment 2 Rock12 2023-07-04 07:51:21 CEST
Ladder Safety Rules: Protecting Yourself and OthersWhen it comes to working at heights, ladder safety is of utmost importance.  https://laddersafetyrules.com/best-2-man-ladder-stand/