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

Fix a problem in SendCommand_SweepDataPointsEx and SaveFileCSV #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

TaeronKW
Copy link

the "self." part of the function call in this class was missing.

the "self." part of the function call in this class was missing.
CSV export methods were missing the last data point due to an indexing error.
@TaeronKW
Copy link
Author

The SaveFileCSV function was missing one datapoint due to an indexing error.

@TaeronKW TaeronKW changed the title Fix a problem in SendCommand_SweepDataPointsEx Fix a problem in SendCommand_SweepDataPointsEx and SaveFileCSV Aug 22, 2024
This was manifesting as many FreqSpectrumSteps values being unusable due to the commands from SendCommand_SweepDataPoints() and SendCommand_SweepDataPointsEx() being encoded as 'utf-8' rather than 'latin-1' as the device seems to require. The hint for this solution came from observing that the messages coming back from the device are treated as 'latin-1' encoded when stored into the sNewText variable within ReceiveSerialThread.ReceiveThreadfunc() [on line 69].
@TaeronKW
Copy link
Author

Updated RFExplorer.SendCommand() to use 'latin_1' encoding as resolution to issue #31.

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

Successfully merging this pull request may close these issues.

1 participant