Closed anand97 closed 5 years ago
The usb-1408FS-Plus and the usb-1208FS-Plus are very similar. Use the file test-usb1208FS-Plus to test out your device.
This is a bit off the original question, but I was wondering if anybody who's used the MC USB devices with comedi might have an idea of the lag on these devices if they're used in a polling mode (e.g., using comedi_data_read)? I know this is not the right way to sample, but I'm dealing with a legacy app situation, where the incoming data needs to be timestamped to the host computer's clock (within 1ms) and can't easily be done with a triggering or sync pulse. The way my app does it now is to poll and timestamp a das1602 in a tight loop, which, although ugly, works reasonably well for 1khz sampling. I'd like to switch to a USB device for various reasons, but have never found a good way to sync the incoming data stream to the cpu clock... Thanks Jamie
On Sun, Apr 14, 2019 at 6:17 AM Warren Jasper notifications@github.com wrote:
The usb-1408FS-Plus and the usb-1208FS-Plus are very similar. Use the file test-usb1208FS-Plus to test out your device.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wjasper/Linux_Drivers/issues/25#issuecomment-482961860, or mute the thread https://github.com/notifications/unsubscribe-auth/ACetmR_HW2dCNpQ0XMavP-VlMngpn8I8ks5vgxw8gaJpZM4cr0zs .
-- James Mazer Department of Cell Biology & Neuroscience Montana State University, Bozeman, MT james.mazer@montana.edu 406-994-5947 http://kernel.montana.edu
Hi Jamie,
For sync'ing data streams I use labstreaminglayer (LSL). I created a LSL app for the 1608FS about 4 years ago. I needed something cross platform so I came up with some hybrid between Warren Jasper's drivers (from 4 years ago) and the official drivers. It worked at the time but I'm sure it has since rotted. Last year I started to look at the MCC-UniversalLibrary interface but the project requirements changed so I abandoned it (branch is still there though).
Support for USB-1408FS Plus is mentioned, but the corresponding test file doesn't exist. The test file for USB-1408FS doesn't seem to recognise the device.