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

Method _device_names

lantz/drivers/legacy/ni/daqmx/base.py:160–165  ·  view source on GitHub ↗

Return a tuple containing the names of all global devices installed in the system.

(self)

Source from the content-addressed store, hash-verified

158 return major, minor
159
160 def _device_names(self):
161 """Return a tuple containing the names of all global devices installed in the system.
162 """
163 err, buf = self.lib.GetSysDevNames(*RetStr(default_buf_size))
164 names = tuple(n.strip() for n in buf.split(',') if n.strip())
165 return names
166
167 def _task_names(self):
168 """Return a tuple containing the names of all global tasks saved in the system.

Callers

nothing calls this directly

Calls 1

RetStrClass · 0.90

Tested by

no test coverage detected