Fly Ergometer data acquisition and Analysis
I've only done Acquistion on a PC, but the analysis works fine on PCs, Macs and Linux.
Acquisition: Download the PC
software layout for Data acquistion, to calculate the vertical and
horizontal components from the 4 quadrant inputs:
assumes that you have a National Instruments A/D card (USB 6008 is
fine, though it can be rather noisy). Versions for other manufacturer's
A/D cards by arrangement.
- Dasylab fly_jump.dsb (tested
on version 9.0; you will need to import the measurement settings NI-DAQmx_Fly_Jump.ini
into the NI Measurement and Automation program before
loading fly_jump.dsb into Dasylab)
- Labview fly_jump.vi
(tested on version 8.0)
software for PCs, Macs and Linux to replay the data recorded in Dasylab or Labview.
You should get a trace like this, showing three stimuli on the top
trace, three downwars resposnes on the second trace and three
horizontal respoinses on the bottom trace:
Analysis: to start we need to create the best
settings: Mine are:
Then we click on the stimulus trace, use Process | Overlay
to get a picture like this,
- Click once on the stimulus trace to highlight it. Set the
threeshold about halfway up your stimulus by using the Process
| Set threshold menu
- Set the duration for the overlays, to 0.35s,
using Process | Set Duration of overlay
- Set the pretrigger to 10%
using Process | Set Pretrigger for overlay
- Download my Excel / Open Office spreadsheet FLY_JUMP_HORIZ.xlt (old
to calculate the peak beam deflection and angle of take off during the
You can see that the vertical trace is laid out regularly, and there is
more variability in the horizontal trace. Click on the vertical trace
to select it, and choose Channels | Fit trace, and
you will get output in the lower, log window. Now click on the
horizontal trace to select it, and choose Channels | Fit trace,
and you will get more output in the lower, log window.
Click in the log window, right click [on a one mouse-button
Mac, CMD + click] and choose Select All,
right click again and choose Copy,
and paste it into the Excel spreadsheet. My output looks like this
Report on : 7_5_15h57m_p_p_o.DDF
Path : Q:\jump\round1\CS
Sampling began at Fri May 07 15:57:19 2010
My Excel sheet looks like this, as I have a calibration factor of 2.4 between mV and mm, from the "Calib"
page of the spreadsheet. It automatically calculates the best jump for
each fly and the mean / SD / SE for all the flies (up to 20 in Excel)
All downloads at your own risk.
Chris Elliott, updated May 2011