LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with Windows CE device as a target via USB

I have a device running Windows CE v5.0 and I would like to try and communicate with it via USB.  I have it connected/synced using ActiveSync.  I do not have the PDA toolkit for LabView.  Ultimately, I would like to be able the modify the software of the program I'm running on the device to send messages via the usb port.  The device uses a Samsung S3C2443 microcontroller.
 
I have played a little with creating a VISA driver for the device but haven't been too successful communicating with the device using the test panel in MAX. 
 
Any advice/suggestions?  Thanks.
0 Kudos
Message 1 of 4
(5,241 Views)

Hi Jeremy,

From your description, it sounds like you might have been following the steps in MAX outlined in this article for communication with a USB RAW device, is this correct?  And to clarify, the USB device (running WindowsCE) will be sending messages to your computer (it sounds like modifying the WindowsCE program to send messages to your computer is still a work in progress) via USB and you would like to interpret these in LabVIEW on your computer?

What specific problems were cropping up when trying to do communication between the USB device and your computer through MAX?


Regards,
Anna M.
National Instruments
0 Kudos
Message 2 of 4
(5,229 Views)

Yes - I was using that article to create a driver for a USB RAW device.  Yes, the device running Windows CE will be sending messages to the PC via USB and I would like to read these in LabVIEW (and yes, modifying the WinCE program is still a work in progress). 

But when I use the VISA Test Panel (and when I create a VI using VISA Read/Write) to send the "*IDN?\n" command, I see that it returns 6 bytes but I can't figure out how to read those 6 bytes.  I was also wondering if there are other standard commands that can be sent and received via USB in Windows CE?  If not, is there some program that I can install on my WinCE device that will send messages over USB? 

Any advice is welcome.  Thanks.

0 Kudos
Message 3 of 4
(5,219 Views)

Hi Jeremy,

Sorry for the long delay.  Unfortunately, USB RAW has no standard communication protocol.  You'd need a device that handled USB TMC for that.  So, your best bet would likely be to speak with the manufacturer of this USB device running Windows CE to see what advice they may have.  Good luck with everything!


Regards,
Anna M.
National Instruments
0 Kudos
Message 4 of 4
(4,984 Views)