Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitversion
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version = 1.0.1

# A version is determined to be a "beta" prerelease if it originates from the default branch
# The default branch is the first branch that matches the following regular expession.
# The default branch is the first branch that matches the following regular expression.
# Uncomment to change the default.
beta branch = main

Expand Down
2 changes: 1 addition & 1 deletion LogicAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DigitalPin(Enum):
@attribute(Display("Logic Analyzer", "Logic Analyzer Instrument", "PSLab"))
class LogicAnalyzer(Instrument):
def __init__(self):
"Set up the properties, methods and default values of the instrument."
"""Set up the properties, methods and default values of the instrument."""
super(LogicAnalyzer, self).__init__() # The base class initializer must be invoked.

self.instrument = None
Expand Down
2 changes: 1 addition & 1 deletion MeasureVoltageStep.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@attribute(
Display("Measure Voltage", "Measures voltage between pin an GND (in V)", Groups=["PSLab", "Multimeter"]))
Display("Measure Voltage", "Measures voltage between pin and GND (in V)", Groups=["PSLab", "Multimeter"]))
class MeasureVoltageStep(TestStep):
# Properties
Channel = property(String, "VOL") \
Expand Down
4 changes: 2 additions & 2 deletions WaveformGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ def __init__(self):
self.Name = "Waveform Generator"

def Open(self):
"""Called by TAP when the test plans starts."""
"""Called by TAP when the test plan starts."""
super(WaveformGenerator, self).Open()
self.sine = ConnectionHandler.instance().getWaveformGenerator()
self.square = ConnectionHandler.instance().getPWMGenerator()

def Close(self):
"""Called by TAP when the test plans ends."""
"""Called by TAP when the test plan ends."""
super(WaveformGenerator, self).Close()

def generate_sine(self, channel: SineWavePin, frequency, phase=0):
Expand Down