I have implemented programs which talk to a weighing machine on a serial port (not on the OpenERP server machine) and update or create objects in OpenERP via xmlrpc. It sounds like you have a similar problem. Write a standalone program which talks fedicom on one socket and talks xmlrpc to OpenERP on another socket. It will be a fedicom client and an OpenERP client. You can also talk directly to this client from an OpenERP module using sockets. e.g I click on a button in my module and it sends a query to my client which interrogates the weighing machine which returns the weight to the client which passes it back to my module which finally displays it in a field.
The xmlrpc side of things is very easy: http://doc.openerp.com/developer/6_22_XML-RPC_web_services/index.html The socket thing is also very easy: http://docs.python.org/library/socketserver.html#module-SocketServer Fedicom you'll have to figure out yourself. -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=59883#59883 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users