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

Method getfloat

lantz/drivers/andor/andor.py:175–181  ·  view source on GitHub ↗

Run command and get Int return value.

(self, strcommand)

Source from the content-addressed store, hash-verified

173 self.lib.AT_SetInt(self.AT_H, command, value)
174
175 def getfloat(self, strcommand):
176 """Run command and get Int return value.
177 """
178 result = ct.c_double()
179 command = ct.c_wchar_p(strcommand)
180 self.lib.AT_GetFloat(self.AT_H, command, ct.addressof(result))
181 return result.value
182
183 def setfloat(self, strcommand, value):
184 """Set command with Float value parameter.

Callers 1

andor.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected