How connect the Emulator with a serial interface

R

Rainer Borchmann

Hello,

i am using VS2005 prof . And i am developing an app
that collect data from a COM -Port . The serial Device
works fin with a notebook , and i will substitute the
notebook by a PDA. the PDA has an Com-port.

So the question is:
How connect the Emulator with a serial port during
development ?

Bye
Rainer
 
P

Paul G. Tobey [eMVP]

I don't follow. You want to run your device-side program in the emulator
and see the data on the PC that is hosting the emulator? In order to do
that, you'll have to connect the serial port that the emulator has taken
over to use as one of its own, to another serial port on the PC that is
hosting the emulator, exactly as if you were connecting to any other
external device.

That is, if the emulator is grabbing COM1 from the host PC to use as its
COM1, then you'll have to cable from that COM1 port on the PC to some other
serial port on the PC, COM2, say, and set up your PC-side code to look at
COM2.

Am I close?

Paul T.
 
R

Rainer Borchmann

X-No-Archive: Yes
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> schrieb im Newsbeitrag news:[email protected]...
I don't follow. You want to run your device-side program in the emulator
and see the data on the PC that is hosting the emulator? In order to do
that, you'll have to connect the serial port that the emulator has taken
over to use as one of its own, to another serial port on the PC that is
hosting the emulator, exactly as if you were connecting to any other
external device.

That is, if the emulator is grabbing COM1 from the host PC to use as its
COM1, then you'll have to cable from that COM1 port on the PC to some other
serial port on the PC, COM2, say, and set up your PC-side code to look at
COM2.

Am I close?

Only in the time of developping and testing i will that the Emulator should
use a COM-Port from the hosting PC (where also VS2005 is running)

When the C# - programm ist ready , it will run on a WM5 Device with its
own COM-Port

The question ist for me, can the emulator use the COM-Port of the
hosting PC as its own ?


Bye (in hope you can read my english)
Rainer
 
G

Guest

Open the emulator, then select File->Configure->Peripherals


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


Rainer Borchmann said:
X-No-Archive: Yes
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> schrieb im Newsbeitrag news:[email protected]...
I don't follow. You want to run your device-side program in the emulator
and see the data on the PC that is hosting the emulator? In order to do
that, you'll have to connect the serial port that the emulator has taken
over to use as one of its own, to another serial port on the PC that is
hosting the emulator, exactly as if you were connecting to any other
external device.

That is, if the emulator is grabbing COM1 from the host PC to use as its
COM1, then you'll have to cable from that COM1 port on the PC to some other
serial port on the PC, COM2, say, and set up your PC-side code to look at
COM2.

Am I close?

Only in the time of developping and testing i will that the Emulator
should
use a COM-Port from the hosting PC (where also VS2005 is running)

When the C# - programm ist ready , it will run on a WM5 Device with its
own COM-Port

The question ist for me, can the emulator use the COM-Port of the
hosting PC as its own ?


Bye (in hope you can read my english)
Rainer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top