vitalyartemiev / experiment-automation Goto Github PK
View Code? Open in Web Editor NEWAutomated device control for laboratory work
Automated device control for laboratory work
Sometimes, when connecting to a serial device, an exception is raised: 'Error 9999: Receive framing error'. It seems that the stop-bit is not received. Only encountered when connecting to SR844, mostly for the first time after its power-on, but in one instance, had to reboot the computer to restoe normal work. Maybe some kind of interference when powering on? Faulty connector?
Similar to the Framing error issue, this message ('The I/O operation has been aborted because of either a thread exit or an application request') sometimes appears when connecting to that same SR844 detector. I have yet to locate where it is reported, as every time (out of 3) it appeared so far, i didn't have the debugger avaliable. The only cure I found is to reboot the computer.
Another program, which is not using synaser does not seem to have this problem, and also doesn't check for errors.
When transmitting commands, Win XP adds a delay of 200 ms by default to avoid transmitting small TCP packets. This severely limits speed of interactions with devices over TelNet.
Workaround:
create 2 registry keys in [HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters \Interfaces {Adapter-id}],
DWORD TcpAckFrequency = 1, and DWORD TcpDelAckTicks = 0.
Adapter-id can be found by looking at properties of the network which represents the connection to the device.
Sometimes one also needs to reboot the PC and/or to disconnect/reconnect the Ethernet cable before the changes take effect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.