Skip to content

Commit

Permalink
Individual speed settings for R&S NGx driver for NGU series
Browse files Browse the repository at this point in the history
  • Loading branch information
afischer-sweepme committed Dec 23, 2024
1 parent c11b0c1 commit c8cc046
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/SMU-Rohde&Schwarz_NGx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,24 @@ def configure(self):
self.set_voltage(self.protection)

# Speed
# NPLC settings for model NGU are
# 0, 5, 10, 50 and 100
# TODO: the entire Speed section needs a revision as the NPLC settings are only known for the NGU series
if self.speed == "Fast":
if self.model == "NGU":
self.set_nplc(0)
else:
self.set_nplc(0.1)
if self.speed == "Medium":
self.set_nplc(1)
if self.model == "NGU":
self.set_nplc(5)
else:
self.set_nplc(1) # TODO: check whether other models support 1
if self.speed == "Slow":
self.set_nplc(10)
if self.model == "NGU":
self.set_nplc(10)
else:
self.set_nplc(10) # TODO: check whether other models support 10

def unconfigure(self):

Expand Down

0 comments on commit c8cc046

Please sign in to comment.