I'd like to use my grabber card. I have one in my crate, says "v1.0" on the bottom. Its right next to my Kasli, "v1.1". For some reason it doesn't appear in my device_db file though. I tried adding a line similar to what I can see on another system in my lab:
device_db["grabber0"] = {
"type": "local",
"module": "artiq.coredevice.grabber",
"class": "Grabber",
"arguments": {"channel_base": 22}
}
But I can't seem to get any grabber code to run.
I have a fairly straightforward hello world script:
self.grabber0.setup_roi(0,1,1,5,5)
self.core.break_realtime()
self.grabber0.gate_roi(1)
delay(100*ms)
self.grabber0.gate_roi(0)
n = [0]
self.grabber0.input_mu(n)
print(n)
How can I know what channel my grabber card is connected to? Can I figure this out if I open up the crate? Is there a chance I will need to recompile gateware? How can I know whether I have the gateware needed to read from my grabber?
Many thanks in advance.