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

Feature/rigol dg1062/adding duty cycle parameter #1456

Conversation

vhartong
Copy link
Contributor

Changes proposed in this pull request:

  • Added Pulse waveform to the list
  • Added translation dictionary for waveforms (Device responses are sometimes different 👎 )
  • Adding function duty cycle parameter for Square wave and Pulse Wave
  • General code cleanup + two bugs

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! also for fixing the typo-driven bugs.

There are some minor style/readability/usability comments and crucial syntax error to fix.

Please, after all the changes, could to test the driver again with the actual instrument, and explicitly confirm that it's working?

After that, we'll merge.

astafan8 and others added 4 commits February 13, 2019 16:00
Changed: 
Enhanced readability at certain points
Moved the 'comma'
Added more info around duty_cycle parameter

Thanks for all the useful feedback!
@codecov
Copy link

codecov bot commented Feb 28, 2019

Codecov Report

Merging #1456 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1456   +/-   ##
=======================================
  Coverage   73.78%   73.78%           
=======================================
  Files          92       92           
  Lines       10439    10439           
=======================================
  Hits         7702     7702           
  Misses       2737     2737

@astafan8 astafan8 added the driver label Mar 1, 2019
@astafan8 astafan8 merged commit 39553f2 into microsoft:master Mar 1, 2019
giulioungaretti pushed a commit that referenced this pull request Mar 1, 2019
Merge: 1cb3776 00a360f
Author: Mikhail Astafev <[email protected]>

    Merge pull request #1456 from vhartong/feature/rigol_dg1062/adding_duty_cycle_parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants