Black Box ToolKit v2 User Guide
Black Box ToolKit v2 User Guide
User Guide
Rev. RC3 (20121204) Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 2 of 108 The Black Box ToolKit v2
Credits:
Contact details:
Email: info@[Link]
support@[Link]
sales@[Link]
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 3 of 108
Contents
1. Introduction 5
1.1 Background 5
1.2 How can I ensure my timing accuracy is as good as it could be? 6
5. Self-Validating Stimulus Onsets and Durations with Digital Stimulus Capture (DSC) 23
10. Self-Validating Stimulus-Response Paradigms with Digital Stimulus Capture And Response 43
(DSCAR)
10.1 How to Detect Stimuli and Generate Response Events Using the Wizard 44
Question 1: Do stimulus bitmaps appear synced with the TTL signal? 49
Question 2: Do stimulus images accurately terminate when responses are made? 50
Question 3. Are ISI’s 1,000mS as programmed into the Experiment Generator? 50
Question 4. Are Response Times registered by the Experiment Generator accurate? 51
10.2 Advanced Use of the Digital Stimulus Capture And Response (DSCAR) Module 52
10.3 How Digital Stimulus Capture And Response (DSCAR) Detects a Trigger Stimulus 57
Within a Pattern
Solution 1: Trigger on More Than One Stimulus Pattern 57
Solution 2: Respond to Individual Lines Within any Stimulus Pattern 59
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 4 of 108 The Black Box ToolKit v2
12. Overview of Connectivity Options Opto-detectors, Microphones, Sounders, Keypad, TTL and 63
Active Switch Closure
12.1 Opto-detectors 68
12.2 The BBTK Digital Microphones 71
12.3 The BBTK Sounders 72
12.4 The BBTK Response Pad 73
12.5 Advanced use of the Response Pad 74
13. How to Make an Active Switch Closure Lead to Trigger Your own Response Device from the 76
BBTK
13.1 Wiring to a Traditional Micro Switch 76
13.2 Wiring to a Membrane Keyboard 76
17. Troubleshooting 95
17.1 Rebooting the BBTK 95
17.2 Problem Steps Recorder 95
17.3 Changing the Virtual Serial Port Manually and Reducing Transmission Speed 97
17.4 Carrying Out a BBTK Memory Diagnostic Check 98
17.5 PC Software and ARM Firmware Update Checks 101
17.6 Updating PC Software 102
17.7 Updating Firmware 103
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 5 of 108
1. Introduction
1.1 Background
Computers, whilst ramping-up in terms of clock speed, are actually no more accurate than
those of a decade ago. In fact quite the reverse can be true with today’s modern multi-
tasking operating systems. Even if you make use of a recognised experiment generator,
there is little assurance that your stimulus and response timings are “millisecond accurate”.
Many packages promise to achieve “millisecond precision”. Unfortunately there is a subtle,
yet important, difference between “accuracy” and “precision”. Millisecond precision simply
means that timings are reported in units of a millisecond – there is no assurance that the
actual timings are accurate!
By using the Black Box ToolKit, or BBTK for short, you can check the presentation and
response timing accuracy of the majority of paradigms in use today. If you are measuring
presentation or response events in units of a millisecond, you should be using the toolkit
as a matter of course.
Achieving the best possible stimulus display timing is becoming more important as
researchers push the envelope with the types of studies they run and data they collect.
Synchrony between visual and auditory materials for example is often prone to larger
variation than many researchers acknowledge. Response timing can also be affected
adversely. The mere act of swapping one response device for another can statistically
alter your results. This is a proven fact – what’s more, without checking you would never
know! Typical sources of error over the idealised conceptual experimental model are
shown below for a simple priming study.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 6 of 108 The Black Box ToolKit v2
Within any study that has not already been “calibrated” using the Black Box ToolKit there
is almost guaranteed to be one or more sources of uncontrolled timing error; be this within
presentation or response timing or between various pieces of external equipment, e.g.
EEG, MRI, Eye Trackers etc. Such error can adversely effect statistical power, introduce
conditional bias, make replication difficult, and lead to spurious effects. This is before one
verifies the paradigm to ensure that it is actually doing what it has been designed to do.
Honest mistakes in scripting can lead to presentation errors that are hard to detect due to
high presentation rates.
Conceptually the BBTK offers much the same functionality as a eight channel digital signal
generator and a 12 channel digital oscilloscope. Unlike a signal generator and oscilloscope
which typically costs many thousands and are difficult to use, the BBTK enables the
researcher to check most paradigms in-situ in less than 30 minutes. Even with a modern
signal generator and scope you cannot hope to virtualise human senses and response
characteristics – with the BBTK you can do just that! Timing analysis of events is
accomplished using a virtual 20-channel Logic Analyser style display. Moveable cursors
allow event timing to be measured relative to any two points. 12 lines show detected
stimuli and eight lines show simulated responses made by the toolkit and fed into the
remote PC running the paradigm being benchmarked.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 7 of 108
Minimum Recommended
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 8 of 108 The Black Box ToolKit v2
DO NOT CONNECT YOUR BBTK to your PC whilst installing the PC software as you
need to install several drivers for it to function correctly first.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 9 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 10 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 11 of 108
When you are not using the BBTK you are advised to turn off the power and also unplug
the USB lead from your PC.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 12 of 108 The Black Box ToolKit v2
This makes it much easier to update firmware as new versions become available. To
update the firmware on your BBTK you would simply copy a BIN file to the BBTK drive
letter. This can be accomplished in a matter of seconds using the drive letter and copy and
paste!
To begin the process power up the BBTK by plugging it into the supplied power
adapter as described above.
Next choose a free USB port on your PC and plug in the BBTK. You are advised to
use the same USB port consistently.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 13 of 108
3.4 Installing the Black Box ToolKit Virtual Serial Port Driver
Before your PC can communicate directly with the BBTK you must install a driver from
ARM Ltd that allows it to function when connected to a USB port. This allows it to send
data to and from the PC once it has finished capturing or generating data.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 14 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 15 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 16 of 108 The Black Box ToolKit v2
Depending on the cause of the issue you may need to reset the BBTK using the reset
button on the PC Software toolbar to reconnect with the BBTK.
If you continue to have problems connecting quit the PC software, carry out steps 1
through 5 and then restart the PC software on your host PC.
For more troubleshooting tips consult the dedicated troubleshooting section of this guide.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 17 of 108
For example, you may need to adjust the activation point, or crossing threshold, for a
BBTK microphone so that it just triggers for the volume level produced by your own sound
outputs. Put simply the BBTK needs to know at which point on an analogue waveform it
needs to trigger at. In the sample waveform shown below, trigger point Q’ would need to
be reached before the BBTK registers a stimulus. It is these points you are setting when
you alter the thresholds on the BBTK using the STM.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 18 of 108 The Black Box ToolKit v2
The BBTK display will change to show you are about to set thresholds for various sensors.
To start setting the threshold levels press the command knob so that it clicks.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 19 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 20 of 108 The Black Box ToolKit v2
To use the activation thresholds set on the sliders for this session click on Done. These
thresholds will be saved with the RTL file if you need to recall them later.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 21 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 22 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 23 of 108
No of
Sensor Purpose
sensors
Detect audio stimulus presentations from your
Microphone 2*
equipment.
Detect TTL (0-5v) digital signals from your
TTL in 2*
equipment, e.g. EEG markers, fMRI etc.
Opto-detector 4* Detect visual stimuli.
Detect key presses on the 4 button BBTK response
Keypad button 4*
pad.
In principle each sensor, or line, operates in the same way. Each sensor detects an onset
when triggered when an activation threshold is crossed (for more details see the section of
this guide which covers the Sensor Threshold Manager). In the case of the TTL lines and
the keypad buttons these thresholds cannot be set and are simply digital events, i.e. on or
off or key down or up.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 24 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 25 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 26 of 108 The Black Box ToolKit v2
A Shows the menu bar and standard toolbar buttons. If you look at the menu items or
hover over a toolbar button a short cut key will be shown, e.g. CTRL+R for a summary
report.
B Shows the raw capture data that is uploaded by the BBTK’s ARM CPU after a capture.
C Shows the status of each line each time there was a change on any of the 20 BBTK
lines (12 input sensors and 8 outputs). Elapsed time and durations are shown in uS
(microseconds or millionths of a second) and mS (milliseconds or thousandths of a
second).
D Shows a simple notepad that can be used to make notes that are saved with the Real
Time Log (RTL) file.
E Shows the processed raw data. It shows the onset, offset and duration in mS
(milliseconds) of each line. Note that a single sensor on period may appear as multiple
line changes in C as other lines go on and off. Only in D can you get a clearer picture of
what happened.
F Shows a Logic Analyser plot of the captured data (digital on and offs).
Note the Logic Analyser plot is only accurate to 1mS, whereas E is accurate
hundredths of a millisecond, i.e. two decimal places.
G Shows summary Capture Statistics & Thresholds. This provides details on capture date,
time, runtime, number of line changes or events, samples taken, soak rate, sensor
thresholds and whether the opto-detectors blocked together individual refreshes on a
CRT.
H Shows the status bar and progress indicator. For example, when longer captures are
plotted on the Logic Analyser this will show which lines are being analysed.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 27 of 108
Usually when checking your timing the first place to start is the 20 Channel Logic Analyser.
This shows input lines/sensors in green, output or generation lines in red against a time
base in mS (milliseconds). Each line is shown in a different colour to help differentiate
between them.
In the example shown lets imagine that the participants task was to respond to the
vocalisations as rapidly as possible by pressing key 1 of the BBTK response pad. From
the screen grab below we can see that only two lines are active, Mic 1 and Keypad 1 (key
1 on the response pad).
In a perfect world both the BBTK and the commercial Experiment Generator would record
exactly the same time. However this won’t be the case as the commercial Experiment
Generator will be running on a second PC and will suffer from imperfect timing.
1 Shows the onset and duration of the first audio event (someone saying the word “one”).
2 Shows the onset and duration of the second audio even (someone saying “two”).
3 Shows the onset and duration of key 1 being pressed on the BBTK response pad in
response to the word “one”.
4 Shows the onset and duration of key 1 being pressed on the BBTK response pad in
response to the word “two”.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 28 of 108 The Black Box ToolKit v2
To work out the true Reaction Time, measured by the BBTK with mS accuracy and uS
precision, we would simply need to compare the onset of Mic 1 events with the onset of
Keypad 1 events. With the BBTK this is incredibly quick and easy to do.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 29 of 108
The Line by Line Analysis spreadsheet will automatically Highlight the two onsets.
Remember the second highlighted onset may not be visible unless you scroll around.
Here we can see that the onset of the Mic 1 event at Cursor A was 2,904.50mS and the
Key 1 down event at 4,013.25mS. So the Reaction Time accurate to 100ths of a mS
was 1,108.75mS. For more details on how the BBTK rounds data please consult the
technical specifications.
Best of all you don’t have to be that accurate with your cursors when Highlighting as the
PC software will automatically find the nearest associated onset relative to each cursor!
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 30 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 31 of 108
7.3 Producing a Summary Report with the Current Logic Analyser Plot
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 32 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 33 of 108
Sensor No Purpose
Produces a tone that can be used to trigger your own
Sounder 2*
voice keys.
Produces TTL (0-5v) digital signals which can be fed
into your own equipment, e.g. EEG machines, MRI
TTL out 2*
scanners etc. This interface is also used for the
BBTK Robotic Finger.
Can be used to close a switch on your own devices
to simulate a response, e.g. a key press on a
keyboard.
Active Switch In effect the ASC lines are Solid State Relays (SSRs)
4*
Closure (ASC) that short switches out as though a push-to-make
event has occurred.
In principle each line operates in the same way in that you choose the line, or lines, you
wish to activate an output on. The BBTK doesn’t differentiate how the lines work, as it
assumes all operate in a digital way. For example, as far as the BBTK is concerned a
Sounder, or Tone Generator, has the same properties as a TTL out line (which may either
act as an external event marker or may trigger the BBTK Robotic Finger to press a key on
your own response device).
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 34 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 35 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 36 of 108 The Black Box ToolKit v2
The Logic Analyser will only display events being generated on any of the output lines
indicated in red on the column headers and on the Y-axis of the plot. In the Line by Line
Analysis spreadsheet we can see that 10 On events were recorded that lasted for exactly
100mS as intended. In the Logic Analyser plot we can see that Interstimulus Intervals were
300mS as intended, i.e. the Off periods.
Note that Events or Changes is listed as 21 rather than 20 as in actual fact the initial
resting state of no events is counted as being an event.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 37 of 108
By manually constructing your own sequences you can program a more variable schedule.
That is, build-in human like variability in Response Times. For example, a more variable
schedule of events using an Active Switch Closure might be more similar to a human
tapping a key.
The easiest way to start defining your own schedules is to crate one using the wizard as
described in section 5.1, save it and then edit the resulting file in software such as Excel.
EG files are saved with a “.eg” file extension and are standard ASCII TAB separated value
files.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 38 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 39 of 108
When we analyse the resulting data we can see that the first event is indeed longer and
has a shorter ISI than the other events.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 40 of 108 The Black Box ToolKit v2
The key differences are that the Pulse Train module does not collect any timing data that
can be uploaded and analysed by the PC software; it is not limited to a fixed number of
events that it can generate (it can generate an infinite number of events); and it cannot
vary timings on an event by event basis (it can only generate a fixed pattern).
EGPT operates like a standard bench Function Generator that generates square waves at
a known frequency across up to 8 channels. One use for EGPT might be to send a regular
series of event markers to an EEG machine or fMRI scanner using one of the TTL out
lines. However you can make use of any of the output lines either individually or
simultaneously should you wish.
Note that to stop a sequence you will need to click Abort which will reset the BBTK. Thus
you are advised to Save your Sensor Threshold Settings before you use this module if you
have customised them specifically, or reload an existing RTL file and set to those settings.
Sensor No Purpose
Produces a tone that can be used to trigger your own
Sounder 2*
voice keys.
Produces TTL (0-5v) digital signals which can be fed
into your own equipment, e.g. EEG machines, MRI
TTL out 2*
scanners etc. This interface is also used for the
BBTK Robotic Finger.
Can be used to close a switch on your own devices
to simulate a response, e.g. a key press on a
keyboard.
Active Switch In effect the ASC lines are Solid State Relays (SSRs)
4*
Closure (ASC) that short switches out as though a push-to-make
event has occurred.
In principle each line operates in the same way in that you choose the line, or lines, you
wish to activate an output on. The BBTK doesn’t differentiate how the lines work, as it
assumes all operate in a digital way. For example, as far as the BBTK is concerned a
Sounder, or Tone Generator, has the same properties as a TTL out line (which may either
act as an external event marker or may trigger the BBTK Robotic Finger to press a key on
your own response device).
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 41 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 42 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 43 of 108
No of
Sensor Purpose
sensors
Detect audio stimulus presentations from your
Microphone 2*
equipment.
Detect TTL (0-5v) digital signals from your
TTL in 2*
equipment, e.g. EEG markers, fMRI etc.
Opto-detector 4* Detect visual stimuli.
Detect key presses on the 4 button BBTK response
Keypad button 4*
pad.
Sensor No Purpose
Produces a tone that can be used to trigger your own
Sounder 2*
voice keys.
Produces TTL (0-5v) digital signals which can be fed
into your own equipment, e.g. EEG machines, MRI
TTL out 2*
scanners etc. This interface is also used for the
BBTK Robotic Finger.
Can be used to close a switch on your own devices
to simulate a response, e.g. a key press on a
keyboard.
Active Switch
4*
Closure (ASC)
In effect the ASC lines are Solid State Relays (SSRs)
that short switches out as though a push-to-make
event has occurred.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 44 of 108 The Black Box ToolKit v2
So for example we can instruct DSCAR to look for a visual presentation on Opto 1, wait
300mS and hold down a response key for 100mS. By monitoring all 12 input modalities, or
lines, we can see any stimulus event including the visual presentation. We could check
any onset, offset and duration. By generating a response at a known Response Time after
the onset of a visual stimulus we can be certain that we have given whatever paradigm we
were testing consistent RTs. For example, it might be a commercial Experiment Generator
presenting a simple visual Stimulus-Response paradigm. To check RTs we would simply
compare the results it recorded against what RT’s DSCAR generated, i.e. 300mS. Any
difference from 300mS would be due to error. Obviously this error resides somewhere
within the whole paradigm and needs to be investigated further.
10.1 How to Detect Stimuli and Generate Response Events Using the
Wizard
Initially we would advise that you make use of the wizard style interface to help you detect
and generate response events using DSCAR. This automatically helps you select which
stimulus events trigger response events very simply using a point and click interface.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 45 of 108
By using the BBTK we can answer quite a lot of timing critical questions with a very
straightforward self-validation run using DSCAR.
1. Do stimulus bitmaps appear synced with the TTL signal produced by the
Experiment Generator and sent to the PC’s parallel, or LPT port? This is important if
you are trying to sync with external equipment, e.g. EEG machines, fMRI etc. via
the TTL signal.
2. Do stimulus images accurately terminate when responses are made?
3. Are ISI’s 1,000mS as programmed into the Experiment Generator?
4. Are Response Times registered by the Experiment Generator accurate?
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 46 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 47 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 48 of 108 The Black Box ToolKit v2
From the resulting Logic Analyser plot shown below we can see that Visual Stimulus
presentations were logged as they were presented by the Experiment Generator (Opto 1,
blue trace), Response Events were generated as a Stimulus-Response pair from the
BBTK (Active Switch Closure 1, purple trace) and the TTL ISI event marker was also
recorded (TTL In 1, lilac trace). The fixation point is logged as an Opto 2 event.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 49 of 108
If we review the questions posed before we ran the self-validation timing test how do we
answer them?
1. Do stimulus bitmaps appear synced with the TTL signal produced by the
Experiment Generator and sent to the PC’s parallel, or LPT port? This is important if
you are trying to sync with external equipment, e.g. EEG machines, fMRI etc. via
the TTL signal.
2. Do stimulus images accurately terminate when responses are made?
3. Are ISI’s 1,000mS as programmed into the Experiment Generator?
4. Are Response Times registered by the Experiment Generator accurate?
Question 1: Do stimulus bitmaps appear synced with the TTL signal? Answer: No.
A cursory examination of the TTL In 1 Duration column of the Line by Line Analysis would
suggest that ISI’s were not 1,000mS as intended. Instead they seem to be around
1,013mS. This could be an important systematic error if we were using this event marker
with other equipment such as EEG machines or fMRI scanners.
One possible conclusion might be that if the TTL signal was accurate, that the image was
displayed 16mS later than it should have been. It is likely that this is due partly to error in
the Experiment Generator but can be mainly attributable to the Input Lag of the TFT
screen used.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 50 of 108 The Black Box ToolKit v2
One possible conclusion might be that the response was not registered in a timely fashion
by the Experiment Generator and therefore it could not terminate images at the true
reaction time of 300mS. An alternative explanation is that the TFT panels electronics made
the stimulus image persist even through the Experiment Generator terminated it.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 51 of 108
We can also use the Logic Analyser plot Measurement Cursors to snap to the offset of one
event and the onset of the next.
One possible explanation is that the polling or scanning loop on the keyboard took 36mS
to check which key had been shorted out by the Active Switch Closure (ASC). Remember
ASC simply close the key contacts and don’t include any mechanical travel time as that
would need to be assessed by the BBTK Robotic Key Actuator.
In a calibrated paradigm on the same equipment we may choose to make the ISI 980mS
in the Experiment Generator so that it is actually 1,000mS as intended. Plus we may
choose to subtract 36mS from our response times so that they are equal to the intended
RT’s. However this would depend on the levels of variance in reality.
Note the figures in this example have been deliberately kept simple and in your own
validation tests you are likely to see much more variance.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 52 of 108 The Black Box ToolKit v2
By manually constructing your own sequences you can program a more variable schedule.
That is, build in human like variability in Response Times. For example, a more variable
schedule of events using an Active Switch Closure might be more similar to a human
tapping a key.
The easiest way to start defining your own schedules is to crate one using the wizard as
described earlier, save it and then edit the resulting file in software such as Microsoft
Excel. DSCAR files are saved with a “.dscar” file extension and are standard ASCII TAB
separated value files.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 53 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 54 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 55 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 56 of 108 The Black Box ToolKit v2
When we analyse the resulting data we can see that the three stimulus response pairs we
altered are different to the rest of the sequence. We can see that the first duration was
100mS, the second 189mS and the third 80mS as intended.
In terms of Response Time we can either calculate the differences from the spreadsheet
or make use of the Measurement Cursors. To measure the difference in milliseconds
between the onset of the visual stimulus on Opto 1 and the Response on ASC 1 (indicated
by the red arrows) we would press M and drag the two measurement cursors to the
relevant onset and offsets. In this case we can see that the BBTK generated the second
response at exactly 321mS as intended.
To ensure that you have accurately positioned the measurement cursors you
should zoom in around each cursor by pressing + on the keyboard or by right
clicking and selecting zoom.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 57 of 108
Finally we would compare the Response Times we generated using the BBTK with those
recorded by our paradigm under test.
Exact pattern matching means that if there are other stimuli being detected on other
sensors/lines at the same time you are trying to trigger from a specific line the BBTK may
not trigger.
Both DSCAR and DSRE detect trigger stimuli within a pattern in the same way.
The easiest way to demonstrate this effect is with some practical examples. If you had two
Opto detectors (1 & 2) and you wanted to trigger from Opto 1 the Port Trigger match would
be:
000000010000
Where the “1” represents Opto 1 being ON and the other 11 input sensors/lines being
OFF.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 58 of 108 The Black Box ToolKit v2
So when the BBTK detects this pattern it would wait for a predetermined Response Time
and then generate a response event, e.g. on ASC 1.
However, if both Optos were active at the same time the actual input pattern across the
sensor/input lines would be:
000000110000
This is not a match and so the BBTK would not be triggered to make a response.
In the same way if an audio stimulus was playing and was being captured by BBTK Mic 1,
again the input pattern would not match the trigger as this time it would be:
000000010001
Up to three patterns of trigger stimuli can be used but only one response event or pattern
can be generated.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 59 of 108
So each time Opto 1 detected a stimulus the BBTK would wait 300mS and then generate
a response (ASC 1 for 100mS).
You should bear in mind that by ticking this box more than one response can be generated
for each stimulus. For example, if the visual stimulus image is displayed for 1,000mS then
three responses will be made:
Whereas if this box remains unticked then there has to be an ISI before the triggering
mechanism will rearm, e.g. a blank or OFF period where the stimulus image is not
displayed. This is typically where a stimulus image terminates up on a response.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 60 of 108 The Black Box ToolKit v2
Up to 12 stimulus input lines can be monitored at any one time using the Professional
version of the BBTK* and events on one or more of the 8 output lines can be generated in
response.
The key differences are that the Response Echo module does not collect any timing data
that can be uploaded and analysed by the PC software; it is not limited to a fixed number
of events that it can generate in response to stimuli (it can generate an infinite number of
events); and it cannot vary timings on an event by event basis (it can only generate a fixed
pattern).
DSRE operates like a like an echo device or a ping test used to check network connectivity
on a computer. If it detects a predefined stimulus or stimulus pattern it will make a
response. One use for DSRE might be to send a regular series of event markers to an
EEG machine or MRI scanner using one of the TTL out lines based on detecting a visual
stimulus.
Note that to stop a sequence you will need to click Abort which will reset the BBTK. Thus
you are advised to Save your Sensor Threshold Settings before you use this module if you
have customised them specifically, or reload an existing RTL file and set to those settings.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 61 of 108
As described in the previous section when using DSCAR you have the option of using
AND and OR logic to define stimulus patterns to respond to. If you are unsure if other
stimulus events will be detected and an exact pattern match might occur you can tick
“Respond to Individual Lines Within any Stimulus Pattern”. This will trigger a response
irrespective of activity on other lines.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 62 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 63 of 108
These eight sensors/lines might be considered as being analogue in the sense that they
require you to set a crossing threshold at which point they trigger and produce a digital
TTL signal that the BBTK records, e.g. at what volume the mics are triggered or at what
brightness the screen needs to be to trigger an opto-detector. As regards the sounders
you set the volume or amplitude. Activation thresholds are set using the Sensor Threshold
Manager (STM) on the PC together with the Command Knob (which you turn to set the
threshold and push to confirm).
The remaining 12 standard lines are purely digital in nature, i.e. on or off, +5 or 0 volts for
TTL. LED activity indicators are to be found on the front panel for each of these lines.
The simplest of these is the 4 button BBTK response pad (optional item). This can be used
as an alternative to your own response devices or can be used in conjunction with them
and connects to the 9-way D on the rear of the box (shown in yellow).
More complex is the TTL/ASC interface which provides a breakout board into which you
can wire your own devices. The Breakout Board connects via a 25-way D on the rear
(shown in blue).
The BBTK Breakout Board consists of 24 screw terminals that you can wire to. This is not
as intimidating as it might first appear and allows for maximum flexibility. It is also much
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 65 of 108
simpler than it looks! An overview of the Breakout Board is shown below. Generally you
will have two wires to each of your devices. As different researchers will need cabling of
different lengths we have chosen this approach as it offers the most flexibility. If you wish
to permanently wire your devices to the BBTK you are advised to make use of a custom
made TTL/ASC Extension. To do this you will need a 25-way male D connector which
exposes the lines you wish to permanently wire to your own devices.
Connect from Breakout Board extension Connects from the Breakout Board to
as a pass through to your own devices back of BBTK (BBTK terminates in a
male D connector)
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 66 of 108 The Black Box ToolKit v2
If you wish to permanently wire your own devices to the BBTK Breakout Board you should
use the pin outs below for a male 25-way D connector pass-through or TTL/ASC
Extension.
Using the green Breakout Board itself is straightforward so long as you have a good
quality flat-blade screwdriver of the correct size and follow the guidelines below.
A second 25-way D expansion port (currently reserved for future use) allows for a further
16 dedicated TTL lines (8 input and 8 output). This is an ultra high speed TTL interface
that uses its own specialised breakout module. It is ideal for EEG, fMRI event marking and
anywhere high speed TTL input or output is needed.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 67 of 108
The final connectors on the rear are for power (5v centre pin positive) and for connecting
the BBTK to your Host PC via standard USB (A to B cable, A on left and B right in image
below).
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 68 of 108 The Black Box ToolKit v2
12.1 Opto-detectors
The BBTK otpo-detectors consist of a
photodiode housed in a clear
polycarbonate holder and a shielded
2.5mm mono lead. The lead should be
plugged into an Opto socket on the front
panel of the BBTK. An adjustable elastic
strap is provided for you to attach the Opto
to your screen. You should ensure that the
photodiode lens is kept clean and free from
scratches.
Set the sensitivity of each Opto using the Sensor Threshold Manager (STM) once plugged
in. You should set the activation threshold so that it triggers reliably when there is a
change from black to white on your screen under where the sensor is placed. Activation
thresholds can be checked by watching the appropriate LED on the front panel for signs of
activity, using the Sensor Check utility or by using the Input Line Check tool.
Care should be taken to set sensitivity thresholds correctly to ensure that Optos
trigger as early as possible after the start of an image marker (white block).
Obviously we cannot tell you the exact threshold you need to set as it will vary according
to the brightness of each monitor you test. You are therefore advised to install the BBTK
Sensor Check utility on the system you will be testing the timing of and use that to help
you set the correct thresholds. If you alter the brightness/contrast of the display in question
you should set the threshold vales again. Once you are happy with your thresholds you
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 69 of 108
can save them in the Sensor Threshold Manager as the default settings. Alternatively you
can reload them from a saved Real Time Log file.
To help the Optos detect the onset of a visual stimuli, image markers should be placed on
each of your visual stimuli so that each Opto can detect them. These should be pure white
square blocks of around 32x32 pixels (or larger for higher resolution monitors). This is
easily accomplished in most image editing software. Where you do not wish the Opto to
trigger you should have a black marker of identical size and position or set your
experimental background to black by default.
For videos you would superimpose a black block at the same position on every frame and
then for the frame(s) you wished to trigger on a white block. For the duration of the frames
you were interested in you should ensure the white block is visible at the same position.
This enables the BBTK to detect the onset, duration and offset of the frames you are
interested in when the video is presented.
For priming studies you may wish to have multiple Opto trigger areas (up to 4 on the Pro
and Elite models) so that you can detect each fixation, prime, mask and so on. If you don’t
want to activate an Opto on a particular prime then you will need to have black event
markers at all other Opto locations bar the one waiting to detect a white event marker
block as shown below.
In this example Opto 1 might be fixed bottom left of your screen (fixation), Opto 2 bottom
right (mask), Opto 3 top right (prime), Opto 4 top left (mask). Where no Optos should be
triggered no event marker should be displayed. Typically this will be where the background
is pure black and no event markers are displayed. By using all four Optos you can monitor
for the onset, duration and offset of each visual event on fixation frames, primes and
masks.
If you wanted to check for TFT monitor input lag you could instruct your experiment
generator to send a TTL signal to the BBTK when it thought it was starting to display an
image. By subtracting the image onset from the TTL signal onset this gives a measure of
the input lag and the inherent delay in your equipment and experiment generator.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 70 of 108 The Black Box ToolKit v2
This effect can be seen clearly on the Logic Analyser screen grab above where the image
onset for the CRT starts a few millseconds after the one for the TFT on Opto 1.
If your images are not displayed full screen you will need to make the appropriate
calculations based on the size and position of your images relative to the top left of your
CRT and the raster scan time based on the refresh rate.
For TFTs this rule does not apply as they have no raster scan or refresh as such.
Only BBTK supplied Optos are designed to offer reliable detection of visual stimuli
and accurate timing. You should NOT use any other photodiode with the BBTK.
You should set the sensitivity of the microphone using the Sensor Threshold Manager
(STM) once plugged in. Set the activation threshold so that it triggers reliably and doesn’t
pick up extraneous background noise, e.g. traffic noise. Ideally the Mic should be
positioned as closely to your speakers or headphones as possible. Activation thresholds
can be checked by watching the appropriate LED on the front panel for signs of activity,
using the Sensor Check utility or by using the Input Line Check tool.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 72 of 108 The Black Box ToolKit v2
Microphone sensitivity thresholds should be set as high as possible to ensure that Mics
trigger as early as possible after the start of a sound. If Mic thresholds are set too low or
Mics are physically positioned incorrectly relative to your sound producing
hardware/speakers timing is likely to be suboptimal.
If you position the Mic too far away from your sound source you will see a delay as the
sound waves propagate through the air due to the speed of sound. This will add
approximately 1ms per ft (30cm) of distance from the source of the sound.
In addition if the source sound you are using is too loud this can cause the Mic to give
false triggers due to saturation. Generally it’s best to use a sound level from your own
speakers that you would with human participants. That is, it should be as ethologically
valid as possible.
Obviously we cannot tell you the exact threshold you need to set as it will vary according
to the loudness of each sound you test. You are therefore advised to install the BBTK
Sensor Check utility on the system you will be testing the timing of and use that to help
you set the correct thresholds. If you alter the volume of the audio in question you should
set the threshold values again. Once you are happy with your thresholds you can save
them in the Sensor Threshold Manager as the default settings. Alternatively you can
reload them from a saved Real Time Log file.
Only BBTK supplied mics are designed to offer reliable detection of audio signals
and accurate timing. You should NOT use any other microphone with the BBTK.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 73 of 108
The frequency of the BBTK sounders is factory set at 3.4KHz as this typically gives the
best response with voice keys and microphones you might use within your experimental
setting.
All the threshold manager allows you to do is set the amplitude, or loudness, of the
Sounder. The higher the number/percentage the louder the sounder. When the Sounder is
active the LED on the BBTK front panel will be lit.
Note that you can inadvertently trigger the BBTK Mics if they are positioned near the
Sounders.
Only BBTK supplied Sounders are designed to offer reliable voice key/microphone
triggering and accurate timing. You should NOT use any other Sounder with the BBTK.
In the DSC example shown below a regular sync pulse from an MRI scanner is being fed
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 74 of 108 The Black Box ToolKit v2
into the BBTK via TTL in 1 (purple trace). Opto 1 is placed on the screen of an experiment
generator which is producing bitmaps at 1000ms intervals (blue trace). The participant has
pressed Key 1 of the BBTK response pad in response to seeing the bitmap. By using the
measurement cursors we can read off the RT as 229ms. Alternatively we could copy and
paste the Line by Line Analysis spreadsheet into Excel and work out all RTs as a batch.
Thus the BBTK has taken over all response timing duties.
If used with the Digital Stimulus Capture and Response (DSCAR) software module you
could monitor the channels outlined above and also generate event markers. For example
you could send an event marker to your own device when there was activity on Opto 1.
This could allow for TTL event markers to be sent to an EEG machine when a stimulus
image appears. All other timing measures would be handled by the BBTK and would be
available for later analysis.
If we entered 0 (zero) into the RT of DSCAR when an event was detected on Opto 1 and a
TTL out 1 event was generated for 20ms we would see a trace similar to that shown
below.
The TTL out 1 signal would occur at exactly the onset of the image and last for 20ms
(orange trace). This would then appear on your EEG trace as an event marker. As in the
example above all other timings would be handled by the BBTK.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 75 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 76 of 108 The Black Box ToolKit v2
This allows the BBTK to do the heavy lifting of maintaining timing accuracy (recording
timings accurately through external chronometry). Your experiment generator can be
programmed to display an image until it receives a response as normal. But in this case
rather than a button being pressed on its own response device, a key is being pressed on
the BBTK response pad instead which in turn triggers its response device.
Alternatively you could use DSCAR to send a TTL signal to your experiment generator,
EEG, MRI, eye tracker etc. when a certain key or keys was pressed on the BBTK
response pad.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 77 of 108
If you don’t feel confident dismantling response devices seek the advice of a qualified
technician. Alternatively you might wish to make use of the BBTK Robotic Key Actuator.
NOTE: The Black Box ToolKit Ltd cannot be held responsible for any loss or
damage howsoever caused. The following is provided solely for informational
purposes and does not constitute a guide which we authorise as being fit for
purpose.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 78 of 108 The Black Box ToolKit v2
To give keys some spring and tactile feedback a rubber dome is placed above the top
membrane layer and under the key. When you press a key the rubber dome, or cup, acts
as a damper and springs the key back when released.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 79 of 108
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 81 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 82 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 83 of 108
It is designed to run on a second PC which you are running your experiment and it can
help you set sensor thresholds using the Sensor Threshold Manager (STM).
When a keyboard key is pressed or a mouse button is clicked it will helpfully show an
event marker on screen. This can be used as a event marker by one of your Opto sensors.
You could use the SCU to simulate a whole experiment. For example you could run DSC
or DSCAR and check the timing of visual and auditory presentations by selecting the
Cross Modal option from the menu. If you selected DSCAR you could generate responses
relative to the onset of either visual or auditory stimuli.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 84 of 108 The Black Box ToolKit v2
Note that the timings of the SCU are unlikely to be accurate. It is purely to help you
ensure sensors are working and to set activation thresholds or to check you have
correctly constructed stimulus-response sequence in DSCAR.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 85 of 108
In all modules you are free to enter your own timings by selecting Custom Timing… from
the relevant menu. You can also run more than one test simultaneously should you so
wish as the SCU is fully multi-taslking. For example you could run the Flashing Block Test
whilst also ping ponging tones between your left and right speakers.
To set thresholds the SCU must be running on the PC you will be evaluating.
Note how Opto event markers are structured. When you wish an Opto not to be
triggered you should ensure you have a black event marker in place. Where you
wish it to be triggered it should be pure white.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 86 of 108 The Black Box ToolKit v2
If you wish you can combine any of the options in the SCU to check complex sensor and
response setups. For example, you could use the Flashing Bitmap Test alongside playing
a 250ms tone every 500ms whilst making keyboard responses. When each event occurred
the relevant Opto event marker would also be displayed.
To illustrate why getting accurate timing can be so difficult try running the Cross
Modal test and pressing multiple keys on the keyboard as rapidly as possible. You
should be able to notice that timing begins to drift noticeably!
You can edit it using any XML editor (or in Windows Notepad). However you are advised
not to edit it directly and instead make changes using the PC software, e.g. changing
default line descriptions or setting default sensor threshold values etc.
To edit the file you will need administrator rights to the local PC. To make editing
simpler you are advised to copy the XML Config file to another folder (other than
Program Files) make the changes and then copy it back.
If you make a mistake and edit the wrong section this may cause the PC software to crash
or behave unpredictably.
Before making any changes you are advised to make a backup copy.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 89 of 108
The serial port value tells the BBTK which serial port to use. That is, which serial port
emulated over USB. The baud rate refers to how fast that port operates. If you have
transmission issues you may need to lower that here and match this value in the [Link]
file stored with the BBTK firmware on the BBTK flash drive letter.
Default time limits are set in seconds for the various modules described by the key.
Whether CRTs are Refresh Corrected (Blocked) are set by a “1” for true and a “0” for false.
Any entries starting with STM are sensor threshold default values (0-127).
Default line descriptions are ordered by the line key with the actual description as
the value. Do not edit keys as they will not make the line names change.
Entries not described above are generally to do with internal house keeping and the
Microsoft .NET framework.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 90 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 91 of 108
In addition to exporting you also have the option of Copy and Pasting data or graphics into
your preferred application. You can either do this under the Edit menu or by pressing
CTRL+C when you have highlighted the spreadsheet range you are interested in.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 92 of 108 The Black Box ToolKit v2
This example file automatically decodes the raw ARM line change data into a graphical
representation as shown. If you paste your own raw data over the top it will be decoded in
a similar way.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 93 of 108
WARNING: You should note that we cannot be held responsible for any errors
which you may introduce by analysing your own data. This spreadsheet template is
provided “as is” and is intended purely for informational purposes.
NOTE: If CRT refresh blocking and audio smoothing were turned on when the
original raw data was captured you will need to subtract 20mS from the line duration
where a stimulus was active, e.g. where an image was displayed on a monitor or
audio detected.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 94 of 108 The Black Box ToolKit v2
A. When the self-validation run took place, what the duration was, how many line
changes were detected, the number of samples and the soak rate (a measure of
load). The version numbers for the PC software and ARM firmware are also shown.
B. Each sensor activation threshold is shown together with details on CRT Refresh
Blocking.
C. Any textual notes you made in the notes window will be shown here.
D. User defined line labels for the standard 12 input lines are shown next to the
relevant line name.
E. User defined line labels for the standard 8 output lines are shown next to the
relevant line name.
F. The current Logic Analyser plot view is shown at the bottom of the report.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 95 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 96 of 108 The Black Box ToolKit v2
17. Troubleshooting
17.1 Rebooting the BBTK
Occasionally you may need to reboot your Black Box ToolKit when a reset is ineffective.
The basic procedure for rebooting is:
Depending on the cause of the issue you may need to reset the BBTK using the reset
button on the PC software toolbar to reconnect with the BBTK.
If you continue to have problems connecting quit the PC software, carry out steps 1 though
5 and then restart the PC software on your host PC.
support@[Link]
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 97 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 98 of 108 The Black Box ToolKit v2
Recording Session: 01/12/2012 17:51:56 - 17:52:08 A textual Additional Details section will be
Problem Steps: 5, Missed Steps: 0, Other Errors: 0 shown at the bottom of the sequence of
Operating System: 7601.17592.x86fre.win7sp1_gdr.110408-1631
screen grabs.
[Link].2.48
Problem Step 1: User left click on "File (menu item)" in "The Black
This shows additional technical details of
Box ToolKit v2" what was recorded.
Program: The Black Box ToolKit v2, [Link], The Black Box ToolKit
Ltd, THE BLACK BOX TOOLKIT [Link], THE BLACK BOX
TOOLKIT [Link] You can also replay the sequence of
UI Elements: File, MenuStrip, MenuStrip, actions as a slide show. Screen grabs are
[Link].0.2bf8098_r13_ad1, The Black
Box ToolKit v2, played back at the same speed they were
[Link].0.2bf8098_r13_ad1 recorded.
Problem Step 2: User left click on "File (menu item)" in "The Black
Box ToolKit v2"
Program: The Black Box ToolKit v2, [Link], The Black Box ToolKit
Ltd, THE BLACK BOX TOOLKIT [Link], THE BLACK BOX
TOOLKIT [Link]
UI Elements: File, MenuStrip, MenuStrip,
[Link].0.2bf8098_r13_ad1, The Black
Box ToolKit v2,
[Link].0.2bf8098_r13_ad1
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 99 of 108
Save the file and then reboot the BBTK by unplugging both the USB and power supply.
Then power back on, wait a few seconds and then reconnect the USB. Restart the PC
software. After a few seconds the PC software should connect to the BBTK.
If you have more than one BBTK you will need to ensure you switch to the correct one in
Tools | Options. Alternatively you can install the PC software twice into two different
folders. This will allow you to have two separate XML configuration files and therefore
multiple COM ports.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 100 of 108 The Black Box ToolKit v2
460800 bps
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 101 of 108
If your BBTK memory fails the test you are advised to run the test a further couple of
times.
Should your BBTK consistently fail the memory check you should contact us for advice.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 102 of 108 The Black Box ToolKit v2
Unfortunately this is not a user replaceable part as it is intended to last for the life of your
unit. If your BBTK is still within its standard warranty period you will need to ship it back to
us for a replacement memory chip to be fitted free of charge.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 103 of 108
Next choose the BBTK v2, right click and select Uninstall. The Uninstall process will now
begin.
To update your PC software to the latest version simply reinstall as per the, “Installing the
Black Box ToolKit PC software” section of this guide.
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 104 of 108 The Black Box ToolKit v2
If you backed up your XML Config file you can now replace the freshly installed one with
your own copy which contains all your default settings, STM sensor thresholds, line labels
etc.
YYYY MM DD
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 105 of 108
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 106 of 108 The Black Box ToolKit v2
• Integrated 4 Window MDI interface (raw line • Save spreadsheets so you can load them in
change data, notepad, line-by-line analysis Excel
spreadsheet and 20 channel logic analyser) • Copy data or logic analyser plots for pasting
• Easy to use clear well designed interface into Word
based on customer feedback and field trials • Produce summary reports in HTML (includes
• Latest WPF and interface design logic analyser plots etc)
• Colour coded spreadsheets and logic • Video based help system (never look at a
analyser printed manual again!)
• Ability to name your own line labels • High quality printed manual for reference
• Make notes describing your paradigm (up to purposes
64k) • Automatic update notifications of the latest
• Wizards for constructing stimulus-response BBTK ARM firmware and PC software
sequences • Clear and easy to understand file formats
• Save programs generated by the wizards for (fully documented)
reuse or modification • Integrates with the hardware for setting
• Easy to use timing cursors sensor activation thresholds. Turn the knob
• Timing tooltips shown when analysing data on the BBTK and the thresholds alters
• Capture statistics stored with each capture sliders shown in the PC software
• Digital sensor activation thresholds stored • Global settings stored in a readable XML file
with each capture • Supports the Windows Problem Steps
• Highlight timing data in spreadsheets from Recorder (PSR) for enhanced
the logic analyser by pressing H troubleshooting
• Internationalisation supported by Windows
regional options
Works with the BBTK online "Proof" repository where you can upload your self-validation
timing reports and link to them via a DOI. Great for self-certification when you publish your
research! Be ahead of the curve.
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3
The Black Box ToolKit v2 Page 107 of 108
Note 1 Note 2
The warm-up curve (channel 1) for the TFT chosen is Warm-up curve (channel 1) is faster for the CRT
longer than for a CRT shown right. Sounder output chosen. Sounder output channel 2. RT target 5mS
channel 2. RT target 5mS
Release Candidate 3 Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved.
Page 108 of 108 The Black Box ToolKit v2
Copyright © 2012 The Black Box ToolKit Ltd. All rights reserved. Release Candidate 3