Hi, I'm trying to implement a hardware driver for keysight 3000-series oscilloscopes, but I'm struggling to understand how things work. I'm using SCPI over USB to communicate with it.
I've seen that most drivers use sr_scpi_source_add function with a "receive" callback, but when is it called ? If I do a command that return something, like this: `sr_scpi_get_int(sdi->conn, "*ESR?", &tmp)`, Will this both return the value in `tmp` and also trigger the `receive` callback ? I don't know well SCPI, but I'm not aware of any asynchronous notification mechanism, the only way to receive values is using commands ending with `?`, right ? Thanks! -- Alexis Murzeau PGP: B7E6 0EBB 9293 7B06 BDBC 2787 E7BD 1904 F480 937F |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel