Roger,
Follwoing your suggestions, I did more investigations on the jitters, and I
found in each 200 bytes that I received, there are 24 bytes zero. I used my
endpoint' wMaxPacketSize(200 bytes) to set irp, so it seems data are lost
between irps. Also I tried on windows and the recorded curves are smooth.
Here are some outputs. Can you see what problem might be? I really
appreciate your help.
Charles
nSamples=1, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=2, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=3, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=4, shortDataLeft=20376, shortDataRight=1, byte1=152, byte2=79,
byte3=1, byte4=0
nSamples=5, shortDataLeft=18223, shortDataRight=-12, byte1=47, byte2=71,
byte3=244, byte4=255
nSamples=6, shortDataLeft=15617, shortDataRight=-16, byte1=1, byte2=61,
byte3=240, byte4=255
nSamples=7, shortDataLeft=12834, shortDataRight=4, byte1=34, byte2=50,
byte3=4, byte4=0
nSamples=8, shortDataLeft=10374, shortDataRight=-5, byte1=134, byte2=40,
byte3=251, byte4=255
nSamples=9, shortDataLeft=7433, shortDataRight=-10, byte1=9, byte2=29,
byte3=246, byte4=255
nSamples=10, shortDataLeft=4884, shortDataRight=-5, byte1=20, byte2=19,
byte3=251, byte4=255
nSamples=11, shortDataLeft=1908, shortDataRight=-6, byte1=116, byte2=7,
byte3=250, byte4=255
nSamples=12, shortDataLeft=-742, shortDataRight=-28, byte1=26, byte2=253,
byte3=228, byte4=255
nSamples=13, shortDataLeft=-3625, shortDataRight=-18, byte1=215, byte2=241,
byte3=238, byte4=255
nSamples=14, shortDataLeft=-6385, shortDataRight=-6, byte1=15, byte2=231,
byte3=250, byte4=255
nSamples=15, shortDataLeft=-9128, shortDataRight=-9, byte1=88, byte2=220,
byte3=247, byte4=255
nSamples=16, shortDataLeft=-11817, shortDataRight=-22, byte1=215, byte2=209,
byte3=234, byte4=255
nSamples=17, shortDataLeft=-14327, shortDataRight=-17, byte1=9, byte2=200,
byte3=239, byte4=255
nSamples=18, shortDataLeft=-16981, shortDataRight=-2, byte1=171, byte2=189,
byte3=254, byte4=255
nSamples=19, shortDataLeft=-19369, shortDataRight=-10, byte1=87, byte2=180,
byte3=246, byte4=255
nSamples=20, shortDataLeft=-21781, shortDataRight=-1, byte1=235, byte2=170,
byte3=255, byte4=255
nSamples=21, shortDataLeft=-23933, shortDataRight=-20, byte1=131, byte2=162,
byte3=236, byte4=255
nSamples=22, shortDataLeft=-26108, shortDataRight=-18, byte1=4, byte2=154,
byte3=238, byte4=255
nSamples=23, shortDataLeft=-28014, shortDataRight=-11, byte1=146, byte2=146,
byte3=245, byte4=255
nSamples=24, shortDataLeft=-29906, shortDataRight=-1, byte1=46, byte2=139,
byte3=255, byte4=255
nSamples=25, shortDataLeft=-31421, shortDataRight=0, byte1=67, byte2=133,
byte3=0, byte4=0
nSamples=26, shortDataLeft=-32606, shortDataRight=-9, byte1=162, byte2=128,
byte3=247, byte4=255
nSamples=27, shortDataLeft=-32768, shortDataRight=-9, byte1=0, byte2=128,
byte3=247, byte4=255
nSamples=28, shortDataLeft=-32561, shortDataRight=-3, byte1=207, byte2=128,
byte3=253, byte4=255
nSamples=29, shortDataLeft=-32628, shortDataRight=1, byte1=140, byte2=128,
byte3=1, byte4=0
nSamples=30, shortDataLeft=-32700, shortDataRight=-10, byte1=68, byte2=128,
byte3=246, byte4=255
nSamples=31, shortDataLeft=-32575, shortDataRight=-9, byte1=193, byte2=128,
byte3=247, byte4=255
nSamples=32, shortDataLeft=-32701, shortDataRight=-9, byte1=67, byte2=128,
byte3=247, byte4=255
nSamples=33, shortDataLeft=-32598, shortDataRight=-20, byte1=170, byte2=128,
byte3=236, byte4=255
nSamples=34, shortDataLeft=-32673, shortDataRight=-18, byte1=95, byte2=128,
byte3=238, byte4=255
nSamples=35, shortDataLeft=-32624, shortDataRight=-33, byte1=144, byte2=128,
byte3=223, byte4=255
nSamples=36, shortDataLeft=-32650, shortDataRight=-11, byte1=118, byte2=128,
byte3=245, byte4=255
nSamples=37, shortDataLeft=-32641, shortDataRight=-15, byte1=127, byte2=128,
byte3=241, byte4=255
nSamples=38, shortDataLeft=-32639, shortDataRight=-11, byte1=129, byte2=128,
byte3=245, byte4=255
nSamples=39, shortDataLeft=-32649, shortDataRight=-3, byte1=119, byte2=128,
byte3=253, byte4=255
nSamples=40, shortDataLeft=-32628, shortDataRight=-19, byte1=140, byte2=128,
byte3=237, byte4=255
nSamples=41, shortDataLeft=-32560, shortDataRight=-13, byte1=208, byte2=128,
byte3=243, byte4=255
nSamples=42, shortDataLeft=-31997, shortDataRight=-30, byte1=3, byte2=131,
byte3=226, byte4=255
nSamples=43, shortDataLeft=-30427, shortDataRight=0, byte1=37, byte2=137,
byte3=0, byte4=0
nSamples=44, shortDataLeft=-28238, shortDataRight=-3, byte1=178, byte2=145,
byte3=253, byte4=255
nSamples=45, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=46, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=47, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=48, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=49, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=50, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=51, shortDataLeft=-26602, shortDataRight=-21, byte1=22, byte2=152,
byte3=235, byte4=255
nSamples=52, shortDataLeft=-24533, shortDataRight=-21, byte1=43, byte2=160,
byte3=235, byte4=255
nSamples=53, shortDataLeft=-22060, shortDataRight=-14, byte1=212, byte2=169,
byte3=242, byte4=255
nSamples=54, shortDataLeft=-20041, shortDataRight=-19, byte1=183, byte2=177,
byte3=237, byte4=255
nSamples=55, shortDataLeft=-17391, shortDataRight=-15, byte1=17, byte2=188,
byte3=241, byte4=255
nSamples=56, shortDataLeft=-14985, shortDataRight=-8, byte1=119, byte2=197,
byte3=248, byte4=255
nSamples=57, shortDataLeft=-12408, shortDataRight=-7, byte1=136, byte2=207,
byte3=249, byte4=255
nSamples=58, shortDataLeft=-9691, shortDataRight=-19, byte1=37, byte2=218,
byte3=237, byte4=255
nSamples=59, shortDataLeft=-7106, shortDataRight=-9, byte1=62, byte2=228,
byte3=247, byte4=255
nSamples=60, shortDataLeft=-4242, shortDataRight=-2, byte1=110, byte2=239,
byte3=254, byte4=255
nSamples=61, shortDataLeft=-1701, shortDataRight=-9, byte1=91, byte2=249,
byte3=247, byte4=255
nSamples=62, shortDataLeft=1227, shortDataRight=-5, byte1=203, byte2=4,
byte3=251, byte4=255
nSamples=63, shortDataLeft=3840, shortDataRight=1, byte1=0, byte2=15,
byte3=1, byte4=0
nSamples=64, shortDataLeft=6716, shortDataRight=1, byte1=60, byte2=26,
byte3=1, byte4=0
nSamples=65, shortDataLeft=9242, shortDataRight=-10, byte1=26, byte2=36,
byte3=246, byte4=255
nSamples=66, shortDataLeft=12005, shortDataRight=4, byte1=229, byte2=46,
byte3=4, byte4=0
nSamples=67, shortDataLeft=14502, shortDataRight=-12, byte1=166, byte2=56,
byte3=244, byte4=255
nSamples=68, shortDataLeft=17106, shortDataRight=-16, byte1=210, byte2=66,
byte3=240, byte4=255
nSamples=69, shortDataLeft=19441, shortDataRight=-14, byte1=241, byte2=75,
byte3=242, byte4=255
nSamples=70, shortDataLeft=21827, shortDataRight=-16, byte1=67, byte2=85,
byte3=240, byte4=255
nSamples=71, shortDataLeft=23985, shortDataRight=-1, byte1=177, byte2=93,
byte3=255, byte4=255
nSamples=72, shortDataLeft=26148, shortDataRight=-1, byte1=36, byte2=102,
byte3=255, byte4=255
nSamples=73, shortDataLeft=28100, shortDataRight=-12, byte1=196, byte2=109,
byte3=244, byte4=255
nSamples=74, shortDataLeft=29952, shortDataRight=-34, byte1=0, byte2=117,
byte3=222, byte4=255
nSamples=75, shortDataLeft=31564, shortDataRight=-18, byte1=76, byte2=123,
byte3=238, byte4=255
nSamples=76, shortDataLeft=32679, shortDataRight=-4, byte1=167, byte2=127,
byte3=252, byte4=255
nSamples=77, shortDataLeft=32767, shortDataRight=1, byte1=255, byte2=127,
byte3=1, byte4=0
nSamples=78, shortDataLeft=32510, shortDataRight=6, byte1=254, byte2=126,
byte3=6, byte4=0
nSamples=79, shortDataLeft=32650, shortDataRight=-19, byte1=138, byte2=127,
byte3=237, byte4=255
nSamples=80, shortDataLeft=32691, shortDataRight=-8, byte1=179, byte2=127,
byte3=248, byte4=255
nSamples=81, shortDataLeft=32563, shortDataRight=-3, byte1=51, byte2=127,
byte3=253, byte4=255
nSamples=82, shortDataLeft=32699, shortDataRight=-13, byte1=187, byte2=127,
byte3=243, byte4=255
nSamples=83, shortDataLeft=32595, shortDataRight=-4, byte1=83, byte2=127,
byte3=252, byte4=255
nSamples=84, shortDataLeft=32656, shortDataRight=-12, byte1=144, byte2=127,
byte3=244, byte4=255
nSamples=85, shortDataLeft=32636, shortDataRight=-8, byte1=124, byte2=127,
byte3=248, byte4=255
nSamples=86, shortDataLeft=32623, shortDataRight=6, byte1=111, byte2=127,
byte3=6, byte4=0
nSamples=87, shortDataLeft=32659, shortDataRight=-2, byte1=147, byte2=127,
byte3=254, byte4=255
nSamples=88, shortDataLeft=32608, shortDataRight=9, byte1=96, byte2=127,
byte3=9, byte4=0
nSamples=89, shortDataLeft=32667, shortDataRight=-10, byte1=155, byte2=127,
byte3=246, byte4=255
nSamples=90, shortDataLeft=32603, shortDataRight=-7, byte1=91, byte2=127,
byte3=249, byte4=255
nSamples=91, shortDataLeft=32648, shortDataRight=-3, byte1=136, byte2=127,
byte3=253, byte4=255
nSamples=92, shortDataLeft=32500, shortDataRight=-10, byte1=244, byte2=126,
byte3=246, byte4=255
nSamples=93, shortDataLeft=32078, shortDataRight=4, byte1=78, byte2=125,
byte3=4, byte4=0
nSamples=94, shortDataLeft=30420, shortDataRight=11, byte1=212, byte2=118,
byte3=11, byte4=0
nSamples=95, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=96, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=97, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=98, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=99, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=100, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=101, shortDataLeft=27701, shortDataRight=3, byte1=53, byte2=108,
byte3=3, byte4=0
nSamples=102, shortDataLeft=25460, shortDataRight=-8, byte1=116, byte2=99,
byte3=248, byte4=255
nSamples=103, shortDataLeft=23849, shortDataRight=-14, byte1=41, byte2=93,
byte3=242, byte4=255
nSamples=104, shortDataLeft=21080, shortDataRight=0, byte1=88, byte2=82,
byte3=0, byte4=0
nSamples=105, shortDataLeft=18687, shortDataRight=2, byte1=255, byte2=72,
byte3=2, byte4=0
nSamples=106, shortDataLeft=16328, shortDataRight=4, byte1=200, byte2=63,
byte3=4, byte4=0
nSamples=107, shortDataLeft=13433, shortDataRight=12, byte1=121, byte2=52,
byte3=12, byte4=0
nSamples=108, shortDataLeft=11042, shortDataRight=-4, byte1=34, byte2=43,
byte3=252, byte4=255
nSamples=109, shortDataLeft=8107, shortDataRight=10, byte1=171, byte2=31,
byte3=10, byte4=0
nSamples=110, shortDataLeft=5475, shortDataRight=14, byte1=99, byte2=21,
byte3=14, byte4=0
nSamples=111, shortDataLeft=2625, shortDataRight=6, byte1=65, byte2=10,
byte3=6, byte4=0
nSamples=112, shortDataLeft=-188, shortDataRight=-15, byte1=68, byte2=255,
byte3=241, byte4=255
nSamples=113, shortDataLeft=-2925, shortDataRight=-11, byte1=147, byte2=244,
byte3=245, byte4=255
nSamples=114, shortDataLeft=-5772, shortDataRight=-6, byte1=116, byte2=233,
byte3=250, byte4=255
nSamples=115, shortDataLeft=-8407, shortDataRight=18, byte1=41, byte2=223,
byte3=18, byte4=0
nSamples=116, shortDataLeft=-11231, shortDataRight=-1, byte1=33, byte2=212,
byte3=255, byte4=255
nSamples=117, shortDataLeft=-13756, shortDataRight=-11, byte1=68, byte2=202,
byte3=245, byte4=255
nSamples=118, shortDataLeft=-16414, shortDataRight=-15, byte1=226,
byte2=191, byte3=241, byte4=255
nSamples=119, shortDataLeft=-18770, shortDataRight=-24, byte1=174,
byte2=182, byte3=232, byte4=255
nSamples=120, shortDataLeft=-21247, shortDataRight=13, byte1=1, byte2=173,
byte3=13, byte4=0
nSamples=121, shortDataLeft=-23408, shortDataRight=2, byte1=144, byte2=164,
byte3=2, byte4=0
nSamples=122, shortDataLeft=-25616, shortDataRight=-4, byte1=240, byte2=155,
byte3=252, byte4=255
nSamples=123, shortDataLeft=-27550, shortDataRight=-14, byte1=98, byte2=148,
byte3=242, byte4=255
nSamples=124, shortDataLeft=-29505, shortDataRight=-12, byte1=191,
byte2=140, byte3=244, byte4=255
nSamples=125, shortDataLeft=-31118, shortDataRight=-27, byte1=114,
byte2=134, byte3=229, byte4=255
nSamples=126, shortDataLeft=-32424, shortDataRight=-5, byte1=88, byte2=129,
byte3=251, byte4=255
nSamples=127, shortDataLeft=-32768, shortDataRight=5, byte1=0, byte2=128,
byte3=5, byte4=0
nSamples=128, shortDataLeft=-32625, shortDataRight=15, byte1=143, byte2=128,
byte3=15, byte4=0
nSamples=129, shortDataLeft=-32576, shortDataRight=-3, byte1=192, byte2=128,
byte3=253, byte4=255
nSamples=130, shortDataLeft=-32721, shortDataRight=6, byte1=47, byte2=128,
byte3=6, byte4=0
nSamples=131, shortDataLeft=-32580, shortDataRight=19, byte1=188, byte2=128,
byte3=19, byte4=0
nSamples=132, shortDataLeft=-32680, shortDataRight=-12, byte1=88, byte2=128,
byte3=244, byte4=255
nSamples=133, shortDataLeft=-32625, shortDataRight=2, byte1=143, byte2=128,
byte3=2, byte4=0
nSamples=134, shortDataLeft=-32644, shortDataRight=2, byte1=124, byte2=128,
byte3=2, byte4=0
nSamples=135, shortDataLeft=-32650, shortDataRight=-2, byte1=118, byte2=128,
byte3=254, byte4=255
nSamples=136, shortDataLeft=-32629, shortDataRight=4, byte1=139, byte2=128,
byte3=4, byte4=0
nSamples=137, shortDataLeft=-32659, shortDataRight=-7, byte1=109, byte2=128,
byte3=249, byte4=255
nSamples=138, shortDataLeft=-32624, shortDataRight=-14, byte1=144,
byte2=128, byte3=242, byte4=255
nSamples=139, shortDataLeft=-32659, shortDataRight=-6, byte1=109, byte2=128,
byte3=250, byte4=255
nSamples=140, shortDataLeft=-32624, shortDataRight=-17, byte1=144,
byte2=128, byte3=239, byte4=255
nSamples=141, shortDataLeft=-32601, shortDataRight=10, byte1=167, byte2=128,
byte3=10, byte4=0
nSamples=142, shortDataLeft=-32180, shortDataRight=-14, byte1=76, byte2=130,
byte3=242, byte4=255
nSamples=143, shortDataLeft=-30850, shortDataRight=-3, byte1=126, byte2=135,
byte3=253, byte4=255
nSamples=144, shortDataLeft=-28667, shortDataRight=15, byte1=5, byte2=144,
byte3=15, byte4=0
nSamples=145, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=146, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=147, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=148, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=149, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=150, shortDataLeft=0, shortDataRight=0, byte1=0, byte2=0, byte3=0,
byte4=0
nSamples=151, shortDataLeft=-26929, shortDataRight=-1, byte1=207, byte2=150,
byte3=255, byte4=255
nSamples=152, shortDataLeft=-25037, shortDataRight=-2, byte1=51, byte2=158,
byte3=254, byte4=255
nSamples=153, shortDataLeft=-22470, shortDataRight=0, byte1=58, byte2=168,
byte3=0, byte4=0
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel