I have been trying to setup SUServo following the various discussions here. Unfortunately, when using the sample code others have provided and in the git repository, I produce a new error which states that "host object does not have an attribute cpld0, did you mean cplds?" Then when changing this aspect, I get an additional error that cplds does not have attribute set_att. From looking into all the various sample code, it seems that self.suservo0.cpld0.set_att
should work.
root:While compiling <repository>/SUServo_Mlabs_TEST.py
<synthesized>:1:1-1:62: error: host object does not have an attribute 'cpld0'; did you mean 'cplds'?
<artiq.coredevice.suservo.SUServo object at 0x7f6fd5119be0>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<repository>/SUServo_Mlabs_TEST.py:27:1: note: expanded from here
def init(self):
^
<repository>/SUServo_Mlabs_TEST.py:39:9-39:28: note: attribute accessed here
self.suservo0.cpld0.set_att(0, 10.)
^^^^^^^^^^^^^^^^^^^
Additionally, when I run: artiq_sinara_tester -o suservos for a more basic test,
The Urukul never turns from the red LED to the green LED, and I am unable to measure a frequency on our oscilloscope.
Any advice is appreciated.