usnistgov / quantum-sensors-tdm

0 stars 0 forks source link

extend remote commands to support IV curve taking #5

Closed joefowler closed 3 years ago

joefowler commented 3 years ago

Original report by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).


To take IV curves, we require the ability to relock a particular channel when it is near the end of the range. We also require the ability to set tower card volages. If we want to do this through cringe, we need the remote command feature to accept arguments of at least string an number, probably arrays of numbers as well, so you can do something like setTower(cardname="DB", col=[0,1,2,6], dacval=[0,2000,2000,2121]). or relock(col=5,row=4). Ideally col could correspond to the column order in Dastard.

Probably we should use JSONRPC since we’ve used that in other parts of the the software successfully.

joefowler commented 3 years ago

Original comment by Galen O'Neil (Bitbucket: oneilg, GitHub: oneilg).


Also I tested, and you can send serial commands to the crate and the tower while cringe is running. But of course the GUI state will not reflect reality at that point.