04-18-2016 03:09 PM
Hello,
I posted my question multiple times on the forum but I think I could find the answer here.
For my project I am using PmodBT2 bluetooth module to connect between NI myRIO and SHIMMER sensing device. After connecting them I want to stream data from the Shimmer to the myRIO, for that I used NI VISA with some commands. However, the data I am recieving is meaningless -as attached- and need to be organized. The Shimmer device is using firmwares that are documented as follows but I could not understand everything and get use of it.
The readme files below show the data format as well.
LogAndStream firmware: https://github.com/ShimmerResearch/shimmer3/tree/master/apps/LogAndStream
BtStream firmware: https://github.com/ShimmerResearch/shimmer3/tree/master/apps/BtStream
Please find attached the simple program I used to stream data.
Thanks.
04-19-2016 05:33 PM
Hi T2dei,
Would it be possible to simplify your code even further in order to test basic functionality? Can you perform simple reads? Writes? Also, could you provide a little more information on your UART connection(s)? What do these interfaces look like with the intermediate hardware?
04-20-2016 07:29 AM
The code I'm using is as simple as possible but I added some comments to indicate what is happening.
Also, I have attached a picture showing the hardware UART connection described in NI myRIO project guide section 31, https://www.dropbox.com/s/r06afn8kgktg2hl/project-guide%28myRio%29.pdf?dl=0
04-20-2016 06:27 PM
I suppose we are at least getting some data from what I’m assuming is the Shimmer sensor. Besides the two links you provided above, do you know of any other documentation that might provide some insight on what we should expect to see from the sensor? Do you have a model/part number for that device as well?