Python command line tools to get/set MultiClamp parameters

76 views
Skip to first unread message

Oli Steele

unread,
Jun 5, 2019, 6:38:04 PM6/5/19
to ACQ4
Hi Luke,

Hope you’re well. We’re interesting in getting and/or setting properties within MultiClamp 700B such as the primary signal gain etc., from a Python command line. I can see that ACQ4 does this quite successfully, but can’t quite figure out how it’s done or how to do it myself. Are you able to provide any tips on this?

Thanks in advance, look forward to hearing from you.

Cheers,
Oli

Luke Campagnola

unread,
Jun 6, 2019, 12:08:21 AM6/6/19
to acq4
Hullo Oli,

As a start, I would have a look at the multiclamp test script:  https://github.com/acq4/acq4/blob/develop/acq4/drivers/MultiClamp/test.py
That demonstrates how to list the available devices and read parameters from them one at a time. After that, look at the methods available in the MultiClampChannel class: https://github.com/acq4/acq4/blob/develop/acq4/drivers/MultiClamp/multiclamp.py#L63; you're probably interested in setParams, setMode, and setSignal.

Have fun!
Luke


--
You received this message because you are subscribed to the Google Groups "ACQ4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acq4+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/acq4/be622196-78bd-4168-874c-3094d1db8595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Penn

unread,
Jun 11, 2019, 7:56:36 AM6/11/19
to ACQ4
Thanks Luke,
That's just what Oli and I needed to get us going.
Best
Andy

On Thursday, 6 June 2019 05:08:21 UTC+1, Luke Campagnola wrote:
Hullo Oli,

As a start, I would have a look at the multiclamp test script:  https://github.com/acq4/acq4/blob/develop/acq4/drivers/MultiClamp/test.py
That demonstrates how to list the available devices and read parameters from them one at a time. After that, look at the methods available in the MultiClampChannel class: https://github.com/acq4/acq4/blob/develop/acq4/drivers/MultiClamp/multiclamp.py#L63; you're probably interested in setParams, setMode, and setSignal.

Have fun!
Luke


On Wed, Jun 5, 2019 at 3:38 PM 'Oli Steele' via ACQ4 <ac...@googlegroups.com> wrote:
Hi Luke,

Hope you’re well. We’re interesting in getting and/or setting properties within MultiClamp 700B such as the primary signal gain etc., from a Python command line. I can see that ACQ4 does this quite successfully, but can’t quite figure out how it’s done or how to do it myself. Are you able to provide any tips on this?

Thanks in advance, look forward to hearing from you.

Cheers,
Oli

--
You received this message because you are subscribed to the Google Groups "ACQ4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ac...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages