Coder Social home page Coder Social logo

experiment-automation's People

Contributors

vitalyartemiev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

experiment-automation's Issues

The I/O operation has been aborted

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.

TelNet delay on Windows XP

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.

Receive framing error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.