Giter Site home page Giter Site logo

especnorthamerica / chamberconnectlibrary Goto Github PK

View Code? Open in Web Editor NEW
29.0 8.0 23.0 684 KB

Python library for ESPEC North America chambers with P-300, SCP-220, Watlow F4, F4T controllers.

Home Page: http://www.espec.com/na/support/software/

License: MIT License

Python 100.00%
python-library espec watlow scp-220 scp220 p300 f4 f4t

chamberconnectlibrary's People

Contributors

halleffect avatar mylesmetzler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chamberconnectlibrary's Issues

Only one connection

Hello!

Can I check that only one user connected to the chamber ?
For example: I connected to chamber and the user from his desctop try to connect to the chamber and set temp. How can i forbid him to working with chamber, when I'm connected and working now.

Thanks!

pip command for 3.6.8 not working

I tried using pip install chamberconnectlibrary-3.6.8 and got this message:

ERROR: Could not find a version that satisfies the requirement chamberconnectlibrary-3.6.8 (from versions: none)
ERROR: No matching distribution found for chamberconnectlibrary-3.6.8

I'm using python 3.9.4 and pip 22.3.1

Does anyone know if there's a problem?

Inquire a sample to overwrite a program procedure in SU-262

I met a problem ,when i want to overwrite a program procedure for SU-262 via PC, I already follow the espec program instruction manual, but failed. I can program the fixed temperature mode for SU-262. But I failed in program mode. I doubted the manual has some bug. Please help me.

Another problem using the RS-485

Hi, there is a connection problem again. All parameters on the controller, device manager and in the library are the same. This is probably due to the fact that I use an rs-485 to usb adapter. What could be the problem? Thank you in advance
image

File "C:/Users/rafae/Desktop/jobstuff/ChamberConnectLibrary-master/bin/example.py", line 17, in <module>
  print(CONTROLLER.process_controller())
File "C:\Users\rafae\Desktop\espec gui\venv\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 28, in wrapper
  return func(self, *args, **kwargs)
File "C:\Users\rafae\Desktop\espec gui\venv\lib\site-packages\chamberconnectlibrary\espec.py", line 666, in process_controller
  msg = 'P300 ' if self.client.read_rom().startswith('P3') else 'SCP-220 '
File "C:\Users\rafae\Desktop\espec gui\venv\lib\site-packages\chamberconnectlibrary\p300.py", line 92, in read_rom
  return self.ctlr.interact('ROM?%s' % (',DISP' if display else ''))
File "C:\Users\rafae\Desktop\espec gui\venv\lib\site-packages\chamberconnectlibrary\especinteract.py", line 101, in interact
  raise EspecError('The chamber did not respond in time')
chamberconnectlibrary.especinteract.EspecError: The chamber did not respond in time

image

P300/SCP-220 remote programs break program status monitoring.

modify string for espec.get_status so that it starts with 'program' not 'remote'
modify espec.get_prgm_cstime/get_prgm_time to return current status of remote program
modify controllerinterface.sample to correctly handle this state.

In all other cases continue raising the correct exceptions, as they directly request information that is not correct for the this state of the chamber.

Update to Python 3

I was wondering if ESPEC is planning to update this library to python 3 since python 2 will reach its end of life on the 01.01.2020. We as a customer of ESPEC would be very happy if the software interface of our Chamber could stay up to date.
I'm looking forward to your answer.

Wrong file names in chamberconnectlibrary-2.0.2.tar.gz on https://pypi.python.org

In chamberconnectlibrary-2.0.2.tar.gz from https://pypi.python.org files are named in CamelCase style: WatlowF4T.py, P300.py, EspecInteract.py

Because of that, there are some import errors, for example in espec.py:

from chamberconnectlibrary.p300 import P300
...
from chamberconnectlibrary.especinteract import EspecError

In repo on github these files have correct names.

Please repack tar.gz and upload it on https://pypi.python.org

Promblem with connection

Hi! It seems that to connect I need to log in to the client, how can this be done in the console? The error [Errno 10061] appears when connecting. The firewall is disabled, the hosts are the same. The client opens in the browser.

Thank you in advance

Modbus TCP blocking forever

In modbus.py file, class ModbusTCP initialized with "self.socket.setblocking(True)".
I ran into an issue where the interact function hung inside the interact function and I believe it is because it is waiting for one of the socket.recv() calls to come back.
As there is also a lock which prevents from getting into the wrapper upstream, additional calls will not be able to get through causing all communications with the chamber to stop.

How to get allarms info from ARS 220 ?

Hello!
When im working with chamber by you module and i want to get some info about allarms, i have this error:


File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 28, in wrapper
    return func(self, *args, **kwargs)

File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 309, in get_operation
    status = self.get_status(exclusive=False)

File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 40, in wrapper
    return func(self, *args, **kwargs)
File "C:\Python27\lib\site-packages\chamberconnectlibrary\espec.py", line 499, in get_status
    }[self.client.read_mode(True)]

File "C:\Python27\lib\site-packages\chamberconnectlibrary\p300.py", line 320, in read_mode
    return self.ctlr.interact('MODE?%s' % (',DETAIL' if detail else ''))

File "C:\Python27\lib\site-packages\chamberconnectlibrary\especinteract.py", line 72, in interact
    raise EspecError(msg)
chamberconnectlibrary.especinteract.EspecError: EspecError: command:"MODE?,DETAIL" genarated Error:"PARA ERR"

This error occured when i use get_operation().
I use this constructor:

interface_params = {'interface': 'Serial', 'baudrate': COMPORT_BAUD_RATE, 'serialport': comport, 'adr': RS_485_ADDRESS}

controller_type = 'SCP220'

controller = Espec(ctrl_type=controller_type, loops=2, **interface_params)

When i want receive info about allarms, for example: "no water", I use this function:

controller.get_operation()

How can i get info about chamber's allarms ?

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.