Click here to Skip to main content
16,006,348 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
QuestionAnyone around with practical dd-wrt or openwrt experience? Pin
charlieg4-Oct-15 13:02
charlieg4-Oct-15 13:02 
QuestionRAMDisk slower than Spinning drive!?! Pin
Kiran Satish9-Sep-15 6:33
Kiran Satish9-Sep-15 6:33 
AnswerRe: RAMDisk slower than Spinning drive!?! Pin
Wendelius9-Sep-15 7:16
mentorWendelius9-Sep-15 7:16 
GeneralRe: RAMDisk slower than Spinning drive!?! Pin
Kiran Satish9-Sep-15 9:02
Kiran Satish9-Sep-15 9:02 
AnswerRe: RAMDisk slower than Spinning drive!?! Pin
Eddy Vluggen9-Sep-15 11:37
professionalEddy Vluggen9-Sep-15 11:37 
Questiondo routers contain switches ? Pin
Member 1096409917-Aug-15 13:57
Member 1096409917-Aug-15 13:57 
AnswerRe: do routers contain switches ? Pin
jljamison17-Aug-15 14:12
jljamison17-Aug-15 14:12 
GeneralRe: do routers contain switches ? Pin
Member 1096409917-Aug-15 14:21
Member 1096409917-Aug-15 14:21 
AnswerRe: do routers contain switches ? Pin
Guerrilla Coder17-Aug-15 17:49
Guerrilla Coder17-Aug-15 17:49 
AnswerRe: do routers contain switches ? Pin
Munchies_Matt23-Aug-15 22:30
Munchies_Matt23-Aug-15 22:30 
QuestionROUTE command Pin
Super Lloyd17-Aug-15 13:11
Super Lloyd17-Aug-15 13:11 
AnswerRe: ROUTE command Pin
Super Lloyd17-Aug-15 13:55
Super Lloyd17-Aug-15 13:55 
GeneralRe: ROUTE command Pin
Garth J Lancaster17-Aug-15 14:40
professionalGarth J Lancaster17-Aug-15 14:40 
GeneralRe: ROUTE command Pin
Super Lloyd17-Aug-15 14:57
Super Lloyd17-Aug-15 14:57 
QuestionRe: ROUTE command Pin
Super Lloyd17-Aug-15 14:58
Super Lloyd17-Aug-15 14:58 
AnswerRe: ROUTE command Pin
Garth J Lancaster17-Aug-15 15:24
professionalGarth J Lancaster17-Aug-15 15:24 
GeneralRe: ROUTE command Pin
Super Lloyd17-Aug-15 17:44
Super Lloyd17-Aug-15 17:44 
GeneralRe: ROUTE command Pin
Brisingr Aerowing25-Aug-15 15:30
professionalBrisingr Aerowing25-Aug-15 15:30 
GeneralRe: ROUTE command Pin
Super Lloyd25-Aug-15 16:33
Super Lloyd25-Aug-15 16:33 
QuestionRecommendations/experiences please Pin
Matt T Heffron31-Jul-15 11:37
professionalMatt T Heffron31-Jul-15 11:37 
AnswerRe: Recommendations/experiences please Pin
Munchies_Matt11-Aug-15 1:49
Munchies_Matt11-Aug-15 1:49 
AnswerRe: Recommendations/experiences please Pin
Matt T Heffron11-Aug-15 6:26
professionalMatt T Heffron11-Aug-15 6:26 
GeneralRe: Recommendations/experiences please Pin
Munchies_Matt11-Aug-15 6:35
Munchies_Matt11-Aug-15 6:35 
GeneralRe: Recommendations/experiences please Pin
Matt T Heffron11-Aug-15 11:15
professionalMatt T Heffron11-Aug-15 11:15 
The device vendor provides both a driver and an API dll (both 32 bit) to talk to the device.
The device uses USB bulk endpoints.
The data is guaranteed to be available to the host, however, if the host gets behind, then the device will skip performing the next data acquisition Frown | :(
The amount of data is actually pretty small, it is the latency that is the bigger issue.
Each device acquisition is a little less than 40kB, at 15Hz rate: ~610kB/sec data rate.
However, the effective acquisition rate is twice that since the device will not start an acquisition until all of the previous acquisition data has been read. The device takes approximately 30ms to readout an acquisition. And 30ms is about the shortest acceptable data acquisition "exposure time".

The experiment I ran was using c# software I wrote to retrieve data from the device using an API function which spins up a separate thread to pull the data into a managed buffer. The application has a separate thread which pulls the data from the buffer and "drops it on the floor". (This is a best case: minimal application computation, though not realistic. Actual application includes significant computation.)
The device has a status line indicating if it is ready for an external trigger to begin an acquisition. We have an STmicro eval board running simple SW to provide triggering at a specified interval and a counter of occurrences of status not ready when a trigger was scheduled.
I specified an exposure time of 1ms since the exposure time is not concurrent with the data transfer.

On an i5 Quad core Windows 7 PC, triggering at 40ms is required to ensure no "not ready" conditions were detected. If I added writing the acquired data to a local file, then there were many "not ready" detections. The actual application has significant additional computation required.
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G.K. Chesterton

GeneralRe: Recommendations/experiences please Pin
Munchies_Matt12-Aug-15 0:20
Munchies_Matt12-Aug-15 0:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.