I can see that the input argument of artiq_run support the types of string\number etc.
Is there any way I can assign a list as input argument
A list as input argument
- Edited
See the manual on arguments and the possible argument types. In short, likely yes, possibly as a scan, otherwise through the PYONValue
type.
architeuthis Well, thank you for your reply. Our list may not be linear or may not be regulated to be controled or be created by several parameter. So we need some method to do serializing. Is there more infomation about the PYONValue
type? I think I could use that but I can not find any description about, this type, or maybe we can say "this data format"?
Some info in the docs: https://m-labs.hk/artiq/sipyco-manual/#module-sipyco.pyon
Code is here: https://github.com/m-labs/sipyco/blob/master/sipyco/pyon.py