Command query update rate

Post questions and issues with Concept2 PM3 SDK
Post Reply
g18c
Paddler
Posts: 5
Joined: December 29th, 2006, 3:58 pm

Command query update rate

Post by g18c » April 29th, 2007, 8:22 am

Hi, i see from the interface specs the maximum update rates for some commands are defined. For example (and this is from memory), the get state machine command has a maximum 2Hz rate.

What if i try and query a command faster than this? will the CSAFE interface DLL return an error or will the machine return an error? Is it the job of the programmer to ensure the maximum update rates are resepected?

Cheers,

Chris

johroo
Paddler
Posts: 8
Joined: May 23rd, 2007, 2:29 pm

Post by johroo » May 25th, 2007, 9:24 am

I can say that using libusb under linux you get unexpected behaviour when you query the PM3 faster than 1ms.

For example

Command 1:->
Reponse 1:<-

Command 2: ->
Resonse 1:<- (!!!!)

If you before Command 2 calls usb_interrupt_read until it times out you will get the expected reponse 2 back.

Post Reply