From: Jorge S. S. <jsa...@gm...> - 2011-05-04 21:33:15
|
You are right! Stupid error from my part.... Changes commited Thanks 2011/5/4 John Daniels <joh...@gm...>: > Attached is the diff from the current revision. The issue is that you need > to read off 4 + 4*voltageCount bytes to pass to decodeFloatVector, because > it is expecting a length and voltageCount floats. Note that the uint for the > voltageCounts appears twice, in the main header and as a header for the > vector of floats itself. > > On Wed, May 4, 2011 at 3:18 PM, Dustin Webb <dus...@ya...> wrote: >> >> Jorge: >> That did not work. However John Daniels is going to reply momentarily with >> the fix. >> Cheers, >> Dustin >> ________________________________ >> From: Jorge Santos Simón <jsa...@gm...> >> To: jav...@li... >> Sent: Wednesday, May 4, 2011 2:38 PM >> Subject: Re: [Java-player-users] AIOInterface Question >> >> Hello Dustin, >> >> Yes, definitively there something wrong there. I have commited a >> (hopefully) fixed version of the interface. >> Can you try it and report if it works? >> >> Thank you a lot >> >> >> 2011/5/4 Dustin Webb <dus...@ya...>: >> > We're attempting to read data from a PhidgetsIFK via the AIOInterface. >> > However it appears the readData function in AIOInterface is incorrect. >> > It >> > reads 8 bytes for the header and immediately drops 4. Then when it >> > proceeds >> > to decode the float vector it tries to get a length that doesn't appear >> > to >> > be in the data stream. Are we misinterpreting what we're seeing? Is this >> > a >> > known working class? We can bring it up to date if it's not been done >> > already. >> > >> > TIA, >> > Dustin >> > >> > >> > ------------------------------------------------------------------------------ >> > WhatsUp Gold - Download Free Network Management Software >> > The most intuitive, comprehensive, and cost-effective network >> > management toolset available today. Delivers lowest initial >> > acquisition cost and overall TCO of any competing solution. >> > http://p.sf.net/sfu/whatsupgold-sd >> > _______________________________________________ >> > Java-player-users mailing list >> > Jav...@li... >> > https://lists.sourceforge.net/lists/listinfo/java-player-users >> > >> > >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> >> >> >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> > > > > -- > > John Daniels > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > > |