Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
class IndiClient(PyIndi.BaseClient):
def __init__(self):
super(IndiClient, self).__init__()
self.dwheel = None
def newDevice(self, d):
pass #connecting the filter wheel via a basic client
def newProperty(self, p):
if p.getName() == "FILTER_SLOT":
self.dwheel = p
# you shoul define all other virtual functions and I would suggest also
def removeProperty(self, p):
if p.getName() == "FILTER_SLOT":
self.dwheel = None
def nd18(self):
if self.dwheel:
slot=self.dwheel.getNumber("FILTER_SLOT")
slot[0].value=1
self.sendNewNumber(slot)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
cd dcd
./dcd.py
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.