Devices¶
Defines some of the devices that are used in the experiment.
-
class
vet_cond.devices.
DAQOutDeviceBase
¶ Bases:
object
Base class that defines the properties which control the hardware devices connected to the Switch and Sense.
-
ir_leds
¶ Boolean property that controls the IR LEDs.
-
shocker
¶ Boolean property that controls the shocker.
-
tone
¶ Boolean property that controls the tone generator.
-
-
class
vet_cond.devices.
DAQOutDeviceSim
(**kwargs)¶ Bases:
vet_cond.devices.DAQOutDeviceBase
,moa.device.digital.ButtonPort
Device used when simulating a Switch & Sense 8/8 output device, but when none is connected.
-
class
vet_cond.devices.
DAQOutDevice
(**kwargs)¶ Bases:
vet_cond.devices.DAQOutDeviceBase
,cplcom.moa.device.mcdaq.MCDAQDevice
Device used when using the Barst Switch & Sense 8/8 output device.
-
ir_leds_pin
¶ The pin number on the Switch and Sense 8/8 that is connected to and controls the IR LEDs.
-
shocker_pin
¶ The pin number on the Switch and Sense 8/8 that is connected to and controls the shocker.
-
tone_pin
¶ The pin number on the Switch and Sense 8/8 that is connected to and controls the tone.
-