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

Method mcp

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

MCP Voltage.

(self, value)

Source from the content-addressed store, hash-verified

195
196 @Feat(None, units='volt', limits=(0, 1700))
197 def mcp(self, value):
198 """MCP Voltage.
199 """
200 if self.revision >= '2.0':
201 return self.query_expect('{} !MCP'.format(value))
202 else:
203 return self.query_expect('{} !MCPVOLTS'.format(value))
204
205 @Feat(None, values={'inhibit': 0, 'rf': 21, 'ldc': 22, 'hdc': 23, 'dc': 24,
206 'user1': 25, 'user2': 26, 'user3': 27, 'user4': 28})

Callers

nothing calls this directly

Calls 1

query_expectMethod · 0.95

Tested by

no test coverage detected