DVX_DemovirtualXDK
Answer
5/18/17 4:02 PM

Hello Guys,

after flashing the demo to my XDK the app do not find my device.

What can be the problem?

Thanks for your help.

 

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
5/19/17 1:31 PM as a reply to Johannes Scholz.

Hello Johannes,

Unfortunately I am not able to reproduce your issue, since scanning and finding an XDK device on my Android and iOS and the newest Virtual XDK app is working.

I think the device scan might have gotten stuck. I’d suggest, you keep the XDK turned on (with the Virtual XDK Demo flashed and running), and terminate the Virtual XDK app process entirely on your Android or iOS device. Then, start the Virtual XDK app again and try scanning it again.

If that does not work, the issue might lie in the fact that your android or iOS device does not support Bluetooth Low Energy (BLE), but the Virtual XDK requires it.

Therefore I recommend to verify if your device is supporting BLE.

Please tell me if this is helpful and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
5/29/17 8:39 AM as a reply to Franjo Stjepandic.

Thanks for your help now it works.

But i have one more question.

Is there any easy possibility to safe the data at the SD-Card or on the device where the app is working?

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
5/29/17 3:07 PM as a reply to Johannes Scholz.

Hello Johannes,

I am glad to hear that it is working now.

The Virtual XDK demo is an open demo implementation and can be easily extended to suit your purpose.

To include the SD card saving functionality you need to extend the Virtual XDK demo application and implement it manually.

If you like to do so, you can use the SDcardExample of the XDK-Workbench as starting point.

Please do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
5/29/17 4:13 PM as a reply to Franjo Stjepandic.

Thanks for your answer.

In the app is no function integrated which saves the data on csv file or something like that, right?

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
5/30/17 3:53 PM as a reply to Johannes Scholz.

Hello Johannes,

you are correct, there is no such functionality out of the box.
Nevertheless as I mentioned, storing data with the Virtual XDK app would require extending the demo.

If you are not limited to the Virtual XDK app, I would recommend to take a look a the Datalogger demo which provides exactly this functionality.

Please let me know, if this was helpful and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
6/9/17 3:56 PM as a reply to Franjo Stjepandic.

Ich würde gerne die Daten Live mitverfolgen mit dem VirtualXDK und gleichzeitig auf die SD-Karte speichern.

Mein Problem ist jetzt wo ich das Speichern auf der SD-Karte in den Programmcode integriere?

0 (0 Votes)
RE: DVX_DemovirtualXDK
Answer
6/12/17 3:22 PM as a reply to Johannes Scholz.

Hallo Johannes,

am Besten wäre es, die Speicherfunktionalität der SD Karte in der Funktion sampleAndNotifyHighDataRate() zu implementieren. Dort werden die Messdaten der Sensoren über explizite Funktionen wie z.B. readAccelerometerData() gelesen und für die Übermittlung per Bluetooth in einen sendBuffer geschrieben. An dieser Stelle wäre es vorteilhaft, das Schreiben auf die SD Karte eingefügen.

Ich hoffe, dass hilft dir vorerst weiter, falls du weitere Fragen hast, zögere bitte nicht einen neuen Betrag zu erstellen.

Mit freundlichen Grüßen,
Franjo

 

 

Dear XDK community members,

Johannes asked where he can insert the SD card functionality in the Virtual XDK demo to store data to the SD card while observing live data.

I recommended to integrate the functionality within the sampleAndNotifyHighDataRate() function. The data is read from the sensors with explicit read functions like e.g readAccelerometerData() there and stored in a send buffer. Thus I recommended to insert there the writing on the SD card functionality.

Kind regards,
Franjo

0 (0 Votes)