locked
Read from usb to com-port device in Windows Store App

    Question

  • Hello,

    I've made a Store app that functions as a 'recording' device for driven routes. It uses the Bing Maps SDK to show the current location of the device records some details (that the user enters on the screen) and sends the data realtime to a server as well as a internal SQLite database. The app works fine but I want to extend it by hooking up an Infrared Temperature Camera (Similar to this: http://www.controlglobal.com/assets/Media/2010/0109/CG1009_RU3.jpg). The camera has a RS232 interface and can't directly be connected to the tablet I'm using (Nokia Lumia 2520). Luckily I've got a USB-to-RS232 convert that works on my desktop. I can send commands in Putty and in return I get the temperature. Now I'm trying to get that working in my Store app but I can't connect to the Com-port. I've tried this sample app (https://code.msdn.microsoft.com/windowsapps/USB-CDC-Control-sample-5ba19caa) but that can't find the device. Are there things that I have to configure before I can use it?

    I'm quite a rookie at this sort of things so forgive if I've made a very obvious mistake.

    Regards!


    Friday, March 20, 2015 7:33 AM