# DAQ Toolbox

**URL:** <https://psychtoolbox.discourse.group/t/daq-toolbox/1780>\
**Category:** Uncategorized\
**Created:** [February 26, 2007, 8:44pm UTC](https://psychtoolbox.discourse.group/t/daq-toolbox/1780 "2007-02-26T20:44:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [February 26, 2007, 8:44pm UTC](https://psychtoolbox.discourse.group/t/daq-toolbox/1780/1 "2007-02-26T20:44:03Z")

</div>

I am working with the DAQ Toolbox here and I have a few questions.  
  
My setup:  
  
Dual 2.0G Hz PowerMac G5, 3.5 GB RAM  
Matlab v7.3  
PTB v3.0.8  
  
  
What am I trying to do?  
  
I am trying to acquire data from a joystick which sends out raw   
voltage on each axis. I wish to obtain the voltages, translate into   
screen coordinates, and then update the mouse cursor (repetitively).   
Rapid calls to DaqAIn() is not good enough as you can only achieve   
(on my setup), aroudn 25Hz. So that the cursor feels fluid to the end-   
user, I need to acquire the voltages up to 60 or more (and in other   
applications, even faster than that).  
  
What I've done.  
  
I've pulled apart DaqAInScan so far and narrowed it down to the   
PsychHID 'ReceiveReports', 'GiveMeReports' and 'RecieveReportStop'.   
But, I'm having trouble understanding how to use the options to   
achieve what I'm looking for. Basically I want the data in real-time   
but as fast as possible.  
  
Any suggestions?  
  
Thanks,  
Tim O'Keefe
