From: Werner F. B. <wer...@fr...> - 2009-10-23 21:18:19
|
Nathaniel Hayes wrote: > Thanks for accepting my message, I just saw the mailing list in the > documentation, didn't know it was for members only. How would I go > about registering as a member? register with sourceforge and you might have to join the project (can't remember). > > I have at the top: > > import wx > import daqX as daq So, it might have to do with this double definition I recall but can't find the example - will try to find it tomorrow. > > So it is loaded in there. You are saying to add in something along > the lines of "self.doLoadDevices()" inside the "__init__ctrls" > function or within the "__init__"? def __init__(self, parent): self._init_ctrls(parent) self.doLoadDevices(daq.items) def doLoadDevices(self, items): self.allDevices.Clear() self.allDevices.AppendItems(items) All non tested ;-) Werner |