Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in decode data #1

Open
mcuOne opened this issue Jul 30, 2018 · 7 comments
Open

Error in decode data #1

mcuOne opened this issue Jul 30, 2018 · 7 comments

Comments

@mcuOne
Copy link

mcuOne commented Jul 30, 2018

Hey, if I get the data from the DSO then comes the following error message:
Push DSO150 ADJ + V/DIV. 59 58 Traceback (most recent call last): File "dso150-110-plot.py", line 122, in <module> dsoHeader.append(sdat.decode("utf-8")) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte

@abhra0897
Copy link

Hey, if I get the data from the DSO then comes the following error message:
Push DSO150 ADJ + V/DIV. 59 58 Traceback (most recent call last): File "dso150-110-plot.py", line 122, in <module> dsoHeader.append(sdat.decode("utf-8")) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte

You can try this software that plots also in the frequency domain as well as in time domain.

@rudi48
Copy link
Owner

rudi48 commented Sep 25, 2018

@mcuOne
Sorry, I was on vacation, and missed your Email.

The error happens while reading the header data.
In order to debug that, please insert after line 120 the statement:
print(ncount)
and run the program.
If the number is "0", it looks like an serial transmission error.
If ncount is ">0" try to print the data with (instead of the number):
print(sdat)
and please tell me the data.

Regards, Rudolf

@csaboka21
Copy link

ncount is 1 one not working for me neither

@csaboka21
Copy link

In linux it's working in windows not. hm...

@csaboka21
Copy link

I made it :) in device manager-> serial adapter -> properites -> port options-> advanced -> uncheck fifo :)

@rudi48
Copy link
Owner

rudi48 commented Oct 30, 2018

Congratulations csaboka21. Which Windows version do you have?

@csaboka21
Copy link

Windows 10, but it's not solved the problem completly.. it's only working from usb hub but not always but most of time from direct usb port it's still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants