The interface if Fastino has been changed and the manual update have not been merged, now with Fastino, need to use set_group
instead of set_dac
.
For the updated usage, please see [https://git.m-labs.hk/sinara-hw/datasheets/pulls/96].
In JSON:
{
"type": "fastino",
"log2_width": 2, // As need to set 4 channels simultaneously
"ports": [0]
}
In experiment:
// prepare
self.voltages = [1.0, 2.0, 3.0, 4.0]
// run
self.fastino0.set_group(0, self.voltages)
where 0 is the starting channel of the group.