MCC USB-1208FS and windows?

Hi All,

I am new-ish to PTB and just acquired a MCC USB-1208FS DAQ. It works
fine with my MacbookPro laptop (10.7.3), as I expected. I'm having
trouble using it with a Dell Latitutude E6320 laptop running Windows 7.
I think part of the problem is in how the device identifies itself to
PyschHID--it doens't seem to pick up the product name and some other
details, and I also get error messages when writing to the device. I'm
pasting in output from both laptops for comparison. On the Mac I have
version '3.0.9.285207268' (Nov 15, 2011) of PsychHID, while on Win I
have version '3.0.9.292733338' (Feb 9, 2012). Matlab versions are R2010a
on the Mac and R2009b on the Win.

Has anyone successfully used this DAQ with a Win install? Is there a
step I'm missing?

Thanks,

Andrea

-------------------------------------------------------------------------
I call devices = PsychHID('Devices');

On the mac, devices.product produces:

devices.product

ans = USB-1208FS
ans = USB-1208FS
ans = USB-1208FS
ans = USB-1208FS
ans = Apple Internal Keyboard / Trackpad
ans = Apple Internal Keyboard / Trackpad
ans = Apple Internal Keyboard / Trackpad
ans = Apple Internal Keyboard / Trackpad
ans = Apple IR
ans = Apple Mikey HID Driver

while on the win machine it produces
devices.product

ans = Interface 3
ans = Interface 2
ans = Interface 1
ans = Interface 0
ans = Cordless Deviceer
ans = Cordless Deviceer
ans = Cordless Receiver
ans = Cordless Receiver
ans = USB Receiver
ans = USB Receiver
ans = USB Receiver

It captures the manufacturer and serial number correctly, but not the
product name, inputs, outputs, total elements. For example, looking at
interface 0 (devices(4)) produces this on the mac:

usagePageValue: 65280
usageValue: 1
usageName: 'Page: 0xff00, Usage: 0x1'
index: 4
transport: 'USB'
vendorID: 2523
productID: 130
version: 256
manufacturer: 'MCC'
product: 'USB-1208FS'
serialNumber: '016CC9F6'
locationID: 68157440
interfaceID: -1
totalElements: 406
features: 0
inputs: 176
outputs: 229
collections: 1
axes: 0
buttons: 0
hats: 0
sliders: 0
dials: 0
wheels: 0

and this on the win:

usagePageValue: 65280
usageValue: 1
usageName: 'TBD'
index: 4
transport: [1x88 char]
vendorID: 2523
productID: 130
version: 256
manufacturer: 'MCC'
product: 'Interface 0'
serialNumber: '016CC9F6'
locationID: -507571348
interfaceID: 0
totalElements: 0
features: 0
inputs: 0
outputs: 0
collections: 0
axes: 0
buttons: 0
hats: 0
sliders: 0
dials: 0
wheels: 0



Finally, PsychHIDTest produces this on the mac:

PsychHIDTest
TestPsychHID
Making a list of all your HID-compliant devices. ...

You have 10 HID-compliant devices:
device 1: Page: 0xff00, Usage: 0x1, MCC, USB-1208FS, 65 inputs, 0 outputs, serialNumber 016CC9F6
device 2: Page: 0xff00, Usage: 0x1, MCC, USB-1208FS, 65 inputs, 0 outputs, serialNumber 016CC9F6
device 3: Page: 0xff00, Usage: 0x1, MCC, USB-1208FS, 65 inputs, 65 outputs, serialNumber 016CC9F6
device 4: Page: 0xff00, Usage: 0x1, MCC, USB-1208FS, 176 inputs, 229 outputs, serialNumber 016CC9F6
device 5: Mouse, Apple Inc., Apple Internal Keyboard / Trackpad, 5 inputs, 0 outputs
device 6: Mouse, Apple Inc., Apple Internal Keyboard / Trackpad, 3 inputs, 0 outputs
device 7: Page: 0xff00, Usage: 0x1, Apple Inc., Apple Internal Keyboard / Trackpad, 513 inputs, 0 outputs
device 8: Keyboard, Apple Inc., Apple Internal Keyboard / Trackpad, 277 inputs, 5 outputs
device 9: Consumer Usage 0x1, Apple Computer, Inc., Apple IR, 41 inputs, 0 outputs
device 10: Consumer Usage 0x1, , Apple Mikey HID Driver, 8 inputs, 0 outputs

You have a USB-1208FS. It appears as four devices in the table above.

Test keyboard.
device 8: Apple Inc., Apple Internal Keyboard / Trackpad
Now flickering the LEDs on your keyboard. ... Success!!
ReceiveReports (249): source[8] 0000 != current source 20503890.
Now reading your keyboard. Press any key to continue. ... Thanks.

Test 2 mice.
ReceiveReports (249): source[5] 0000 != current source 1fc042e0.
device 5: Apple Inc., Apple Internal Keyboard / Trackpad
Now reading your mouse. Move the mouse to continue. ...
I gave up waiting after 5 s.


And this on the win:

TestPsychHID
Making a list of all your HID-compliant devices. ...

You have 11 HID-compliant devices:
device 1: TBD, MCC, Interface 3, 0 inputs, 0 outputs, serialNumber 016CC9F6
device 2: TBD, MCC, Interface 2, 0 inputs, 0 outputs, serialNumber 016CC9F6
device 3: TBD, MCC, Interface 1, 0 inputs, 0 outputs, serialNumber 016CC9F6
device 4: TBD, MCC, Interface 0, 0 inputs, 0 outputs, serialNumber 016CC9F6
device 5: TBD, Logitech Deviceer, Cordless Deviceer, 0 inputs, 0 outputs, serialNumber Cordless Deviceer
device 6: TBD, Logitech Receiver, Cordless Deviceer, 0 inputs, 0 outputs, serialNumber Cordless Receiver
device 7: TBD, Logitech Receiver, Cordless Receiver, 0 inputs, 0 outputs, serialNumber Cordless Receiver
device 8: TBD, Logitechiver, Cordless Receiver, 0 inputs, 0 outputs, serialNumber USB Receiver
device 9: TBD, Logitech, USB Receiver, 0 inputs, 0 outputs, serialNumber ?
device 10: TBD, Logitech, USB Receiver, 0 inputs, 0 outputs, serialNumber ?
device 11: TBD, Logitech, USB Receiver, 0 inputs, 0 outputs, serialNumber ?


Finally, when I try to write to it, using line 36 of DaqBlinkLED.m and
manually identifying the daq as 4 (interface 0 of the device)

err=PsychHID('SetReport',daq,2,reportId,TheReport); % Blink LED

I get the following error message
err =

n: -1
name: 'The supplied user buffer is not valid for the
requested operation.'
description: 'The supplied user buffer is not valid for the
requested operation.'



--
Andrea Grant
Visual Neuroimaging Technologist
Center for Magnetic Resonance Research
University of Minnesota
gran0260@...
612-626-4948