[visionegg] Re: triggering the DAQ

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Wed, 16 Sep 2009 09:01:32 -0700

Karin Nordström wrote:
> Hi
> I am having issues triggering my data acquisition via a photodiode. In
> the EPhysGUI i is possibble to set the
> self.stim_onset_cal_tk_var_set() to 0 or 1 and similarly you can
> change the parameters in the EPhysServer for the location of a
> black-to-white DAQ trigger. When I set the onset to 1I was assuming
> that the trigger would appear next time I satart VisionEgg, however,
> no such thing happens. Does anyone know what I have done wrong?

Hi Karin, from the source of EphysGUI.py:

    def update_stim_onset_cal(self, dummy_arg=None):
        on = self.stim_onset_cal_tk_var.get()
        self.ephys_server.set_stim_onset_cal(on)

Thus, you want to call the set_stim_onset_cal() method of your ephys
server proxy instance.

-Andrew

-- 
Andrew D. Straw, Ph.D.
California Institute of Technology
http://www.its.caltech.edu/~astraw/

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: