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

Method setfloat

lantz/drivers/andor/andor.py:183–188  ·  view source on GitHub ↗

Set command with Float value parameter.

(self, strcommand, value)

Source from the content-addressed store, hash-verified

181 return result.value
182
183 def setfloat(self, strcommand, value):
184 """Set command with Float value parameter.
185 """
186 command = ct.c_wchar_p(strcommand)
187 value = ct.c_double(value)
188 self.lib.AT_SetFloat(self.AT_H, command, value)
189
190 def getbool(self, strcommand):
191 """Run command and get Bool return value.

Callers 1

andor.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected