Remote control of GC chemstation via DDE
Posted: Wed Oct 07, 2015 6:02 pm
Hi all,
I am working on a python script that translates DDE to websockets back and forth. I'm planning to use a web browser to connect and send commands/macros. Has anyone attempted something similar? perhaps more elegant?
details:
- Chemstation version B.03.02 running on XP SP3
- Python 3.4 with libraries for JSON, websockets, asyncio, threading
I have already got a barebones demo working (i.e. I can connect to the websocket, send a single command, and watch it execute). I want to add additional commands and two-way communication eventually, but I'm swimming upstream with all this asynchronous stuff. Wondering what others have tried or if I'm maybe on my own here.
Aidan
I am working on a python script that translates DDE to websockets back and forth. I'm planning to use a web browser to connect and send commands/macros. Has anyone attempted something similar? perhaps more elegant?
details:
- Chemstation version B.03.02 running on XP SP3
- Python 3.4 with libraries for JSON, websockets, asyncio, threading
I have already got a barebones demo working (i.e. I can connect to the websocket, send a single command, and watch it execute). I want to add additional commands and two-way communication eventually, but I'm swimming upstream with all this asynchronous stuff. Wondering what others have tried or if I'm maybe on my own here.
Aidan