MCPcopy Create free account
hub / github.com/LabPy/lantz / mode

Method mode

lantz/drivers/legacy/kentech/hri.py:207–222  ·  view source on GitHub ↗

Gain modulation mode. HRI Machine Modes and Mode Indices None Mode 0 INHIBIT 2-10 COMB modes 200 ps to 1 ns inclusive (High rate operation) 11-20 COMB modes 100 ps to 3 ns inclusive (Low rate (+GOI) operation) 21 RF 22

(self, mode)

Source from the content-addressed store, hash-verified

205 @Feat(None, values={'inhibit': 0, 'rf': 21, 'ldc': 22, 'hdc': 23, 'dc': 24,
206 'user1': 25, 'user2': 26, 'user3': 27, 'user4': 28})
207 def mode(self, mode):
208 """Gain modulation mode.
209
210 HRI Machine Modes and Mode Indices
211 None Mode
212 0 INHIBIT
213 2-10 COMB modes 200 ps to 1 ns inclusive (High rate operation)
214 11-20 COMB modes 100 ps to 3 ns inclusive (Low rate (+GOI) operation)
215 21 RF
216 22 logic low duty cycle (LDC)
217 23 logic high duty cycle
218 24 DC
219 25-28 user modes 1 to 4
220 """
221 #TODO: Modes [11-20] not available in rev < 2.0
222 return self.query_expect("{} !MODE".format(mode))
223
224 @Feat(None)
225 def rfgain(self, value):

Callers

nothing calls this directly

Calls 1

query_expectMethod · 0.95

Tested by

no test coverage detected