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

Method setenumstring

lantz/drivers/andor/andor.py:219–224  ·  view source on GitHub ↗

Set command with EnumeratedString value parameter.

(self, strcommand, item)

Source from the content-addressed store, hash-verified

217 self.lib.AT_SetEnumerated(self.AT_H, command, value) #TODO: IS THIS CORRECT
218
219 def setenumstring(self, strcommand, item):
220 """Set command with EnumeratedString value parameter.
221 """
222 command = ct.c_wchar_p(strcommand)
223 item = ct.c_wchar_p(item)
224 self.lib.AT_SetEnumString(self.AT_H, command, item)
225
226 def flush(self):
227 self.lib.AT_Flush(self.AT_H)

Callers 1

andor.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected