kpnl:biopac:dio
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
kpnl:biopac:dio [2015/02/15 13:44] – [Acquiring] admin | kpnl:biopac:dio [2015/05/16 10:20] (current) – [Acquiring Digital Codes] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Acquiring Digital Codes ====== | ====== Acquiring Digital Codes ====== | ||
- | It is critical that we acquiring stimulus-locked digital codes so that we can bin the data according to stimulus type during analysis. This is also essential for creating event-related averages of the psychophysiological data (e.g. creating ERPs from EEG data) as it gives us the precise onset time of each stimulus. Below is a description of the hardware, software, and steps necessary for sending and acquiring such codes using the Biopac MP150. | + | It is critical that we acquire time-locked digital codes upon presentation of each stimulus. These codes are used to bin the data according to stimulus type during analysis. This is also essential for creating event-related averages of the psychophysiological data (e.g. creating ERPs from EEG data) as it gives us the precise onset time of each stimulus. Below is a description of the hardware, software, and steps necessary for sending and acquiring such codes using the Biopac MP150. |
===== Hardware ===== | ===== Hardware ===== | ||
Line 8: | Line 8: | ||
* [[http:// | * [[http:// | ||
* This breakout board (aka terminal board or terminal block) gives us an easy way of wiring the output from the LabJack U3 to the ribbon cable. | * This breakout board (aka terminal board or terminal block) gives us an easy way of wiring the output from the LabJack U3 to the ribbon cable. | ||
+ | * [[http:// | ||
<WRAP center round box 80%> | <WRAP center round box 80%> | ||
Line 19: | Line 20: | ||
- A 25-pin ribbon cable connects the breakout board to the MP150 | - A 25-pin ribbon cable connects the breakout board to the MP150 | ||
</ | </ | ||
- | |||
===== Software ===== | ===== Software ===== | ||
Line 25: | Line 25: | ||
The LabJack U3 can be controlled via several different programs and languages. We use the [[http:// | The LabJack U3 can be controlled via several different programs and languages. We use the [[http:// | ||
- | To date, I have only had success controlling the LabJack from a computer | + | The computer (Mac) should have [[https:// |
Below is sample code for sending digital codes. | Below is sample code for sending digital codes. | ||
Line 55: | Line 55: | ||
**3.** Check the **Acquire** box next to channels 8-15. The **Plot** and **Value** boxes can remain unchecked. | **3.** Check the **Acquire** box next to channels 8-15. The **Plot** and **Value** boxes can remain unchecked. | ||
- | The MP150 does not read the 8-bit code. Rather, it is simply acquiring 8 separate channels of digital input. | + | <WRAP center round info 60%> |
+ | * Pins 2-9 on the DB25 map to digital inputs 8-15 on the MP150 | ||
+ | </ | ||
+ | |||
+ | The MP150 does not read the 8-bit code. Rather, it is simply acquiring 8 separate channels of digital input. | ||
**4.** Select **Calculation**. | **4.** Select **Calculation**. | ||
Line 66: | Line 70: | ||
**8.** Enter the following formula: '' | **8.** Enter the following formula: '' | ||
+ | \\ | ||
(note: we divide by 5 because the input is read as 5 volts. So a digital code of '' | (note: we divide by 5 because the input is read as 5 volts. So a digital code of '' |
kpnl/biopac/dio.1424025868.txt.gz · Last modified: 2015/02/15 13:44 by admin