This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
TypeError Traceback (most recent call last) | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\ops\grid.py in _do_auth_attempt(self, event) | |
116 try: | |
--> 117 self._session.authenticate(callback=self._on_authenticate) | |
118 except: # Catch all exceptions to pass to caller. | |
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\session.py in authenticate(self, callback) | |
97 # Already done | |
---> 98 return callback(auth_op) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> read 2:5 analogInput 1 presentValue | |
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint:sap_indication <bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8> | |
<bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8> | |
pduDestination = <Address 2:5> | |
pduExpectingReply = 1 | |
pduNetworkPriority = 0 | |
apduType = 0 | |
apduService = 12 | |
objectIdentifier = ('analogInput', 1) | |
propertyIdentifier = 'presentValue' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> bugin bacpypes.netservice.NetworkServiceAccessPoint | |
handler to bacpypes.netservice.NetworkServiceAccessPoint added | |
> read 2:5 analogInput 1 presentValue | |
DEBUG:bacpypes.netservice.NetworkServiceAccessPoint:indication <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7f41868c78d0> | |
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7f41868c78d0> | |
pduDestination = <Address 2:5> | |
pduExpectingReply = 1 | |
pduNetworkPriority = 0 | |
apduType = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (C) 2015 by Christian Tremblay, P.Eng <christian.tremblay@servisys.com> | |
# | |
# Licensed under LGPLv3, see file LICENSE in this source tree. | |
""" | |
This module allows the creation of threads that will be used as repetitive | |
tasks for simulation purposes | |
""" |
NewerOlder