code: def get_devices():
      
      buf = create_string_buffer(512)
      buflen = c_uint32(sizeof(buf))
      DAQmxGetSysDevNames(buf, buflen)
      pybuf = buf.value
      devices = pybuf.decode(u'utf-8').split(u",")
      return devices
docs: Discover and return a list of the names of all NI devices on this system