BITalino on JAVA

Python, Java, Android OS, etc.
jimmyneutron
Posts: 11
Joined: Tue May 31, 2016 1:31 pm

Re: BITalino on JAVA

Postby jimmyneutron » Sun Jul 17, 2016 4:22 pm

THANKS FOR THE BIG HELP. i was able to see data but it does not correspond to the action such as for the ACC. we compared the data with same action on the open signals but the resulting data on java does not seem to vary much. the sampling rate is 1000 and we added thread.sleep(10) to see the data running.

BITalino
Site Admin
Posts: 567
Joined: Tue Aug 27, 2013 3:47 pm

Re: BITalino on JAVA

Postby BITalino » Sun Jul 17, 2016 4:28 pm

Please confirm that you are accessing the right index on the analog channels array.

Indexes in Java start in 0, in which case the position of the ACC should be the channel number -1.

Also, adding a sleep is not desirable as this introduces a delay that may cause the device to stop acquiring or loose samples.

To see the data running in real time like in OpenSignals you need to acquire data in a loop.

Best regards,
The BITalino Team

jimmyneutron
Posts: 11
Joined: Tue May 31, 2016 1:31 pm

Re: BITalino on JAVA

Postby jimmyneutron » Sun Jul 17, 2016 5:31 pm

how do i get the same data with the Open Signal? how do i apply the transfer function?

BITalino
Site Admin
Posts: 567
Joined: Tue Aug 27, 2013 3:47 pm

Re: BITalino on JAVA

Postby BITalino » Sun Jul 17, 2016 5:55 pm

Are you talking about the data conversion or the real-time graphic?


Return to “Programming APIs”