Page 1 of 1

Command query update rate

Posted: April 29th, 2007, 8:22 am
by g18c
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

Posted: May 25th, 2007, 9:24 am
by johroo
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.