You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another slight issue with the parameter parsing which I cant quite work out.
The first line from "INFO X" on my controller is:
b'Axis Name : X Limits Status: f\r'
This produces a parse error....
Error parsing info. No item name found on: Limits Status:
The regexp is
pattern = r"(?P.):\s((?P\S+)(\s+)?(?P[[].[]])?(\s+)?(?P.)?)$"
It sees to me that the item should really be "Limits Status: f" so I have no idea what exactly is swallowing the " f" which I think might make the regexp work.
The text was updated successfully, but these errors were encountered:
I think I need to go and see if any of the axes are returning different text as this text works fine. I hand ran though the output I had saved and it worked fine. Maybe the Piezo Z axis is different or something. Needs more debugging!
Ok, did some testing the Z axis on my system returns
b'Axis Name : Z Limits Status: '
I think the lack of any response after the Limits Status causes the parse error. The axis is actually an output siungal which leads to a madcity labs piezo controller, presumably an analog voltage but I have not investigated and I dont have an oscilloscope here. Happy to just ignore it.
Another slight issue with the parameter parsing which I cant quite work out.
The first line from "INFO X" on my controller is:
b'Axis Name : X Limits Status: f\r'
This produces a parse error....
Error parsing info. No item name found on: Limits Status:
The regexp is
pattern = r"(?P.):\s((?P\S+)(\s+)?(?P[[].[]])?(\s+)?(?P.)?)$"
It sees to me that the item should really be "Limits Status: f" so I have no idea what exactly is swallowing the " f" which I think might make the regexp work.
The text was updated successfully, but these errors were encountered: