[wxPython-users] OPC reading and writing not working withing thread

Robin Dunn robin at alldunn.com
Mon Dec 3 12:14:43 PST 2007


Jeff Peery wrote:

>  
> I suppose its also worthwhile to mention that I need to access the OPC 
> module from within a thread (thats not the main applications thread) 
> because I'm trying to aquire data from a PLC and I want to do that 
> continuously and not lock up my program.
>  
> Any ideas on how I might get this thing to work within the thread? Thanks!

This is just a shot in the dark, but are you sure that all access to the 
OPC objects and functions are done from your worker thread?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list