Thread Subject: xpctarget communication

Subject: xpctarget communication

From: Chris Van Kleeck

Date: 29 Jun, 2007 16:32:48

Message: 1 of 4

I'm trying to set up the target pc to use the RS-232 to talk with the
host PC, and TCP/IP to talk to a sensor. However, on attempted
execution I recieve the error: No UDP channel free or UDP error.

If the target PC kernal is set up with TCP/IP bootdisk, to talk with
the host, then this error does not happen. But I now am only able to
comunicate with host, not the sensor.

Is it possible to initialize the host xpc kernal to create both the
RS-232 connection and also create a UDP socket? Any other possible
solutions would also be helpful.

Subject: xpctarget communication

From: Alex

Date: 11 Sep, 2007 16:07:47

Message: 2 of 4

"Chris Van Kleeck" <vankleec@ualberta.ca> wrote in message
<ef5c1f4.-1@webcrossing.raydaftYaTP>...
> I'm trying to set up the target pc to use the RS-232 to
talk with the
> host PC, and TCP/IP to talk to a sensor. However, on
attempted
> execution I recieve the error: No UDP channel free or UDP
error.
>
> If the target PC kernal is set up with TCP/IP bootdisk,
to talk with
> the host, then this error does not happen. But I now am
only able to
> comunicate with host, not the sensor.
>
> Is it possible to initialize the host xpc kernal to
create both the
> RS-232 connection and also create a UDP socket? Any other
possible
> solutions would also be helpful.




Did you ever figure this out?

Subject: xpctarget communication

From: Thomas Marullo

Date: 12 Nov, 2007 03:21:31

Message: 3 of 4

"Chris Van Kleeck" <vankleec@ualberta.ca> wrote in message
<ef5c1f4.-1@webcrossing.raydaftYaTP>...
> I'm trying to set up the target pc to use the RS-232 to
talk with the
> host PC, and TCP/IP to talk to a sensor. However, on attempted
> execution I recieve the error: No UDP channel free or UDP
error.
>
> If the target PC kernal is set up with TCP/IP bootdisk, to
talk with
> the host, then this error does not happen. But I now am
only able to
> comunicate with host, not the sensor.
>
> Is it possible to initialize the host xpc kernal to create
both the
> RS-232 connection and also create a UDP socket? Any other
possible
> solutions would also be helpful.

I find that creating a RS-232 connection for controlling the
xPC target with xpcexplr is much more reliable than TCP/IP
but I need to use TCP/IP to transfer xpc.dat files because
of the bandwidth. I would like to have a way to switch
between modes on the fly instead of having to reboot with a
different bootdisk for each mode.

Subject: xpctarget communication

From: Chris Van Kleeck

Date: 1 Feb, 2008 17:29:02

Message: 4 of 4

"Alex " <lt.huang@gmail.com> wrote in message
<fc6egj$bd5$1@fred.mathworks.com>...
> "Chris Van Kleeck" <vankleec@ualberta.ca> wrote in message
> <ef5c1f4.-1@webcrossing.raydaftYaTP>...
> > I'm trying to set up the target pc to use the RS-232 to
> talk with the
> > host PC, and TCP/IP to talk to a sensor. However, on
> attempted
> > execution I recieve the error: No UDP channel free or UDP
> error.
> >
> > If the target PC kernal is set up with TCP/IP bootdisk,
> to talk with
> > the host, then this error does not happen. But I now am
> only able to
> > comunicate with host, not the sensor.
> >
> > Is it possible to initialize the host xpc kernal to
> create both the
> > RS-232 connection and also create a UDP socket? Any other
> possible
> > solutions would also be helpful.
>
>
>
>
> Did you ever figure this out?
>

Alex,
According to the support people I talked with it is not
currently possible to use one when you initialize with the
other. I suspect this also means that one cannot switch back
and forth on the fly either.
For my project the workaround involved getting a second
network adapter and using two TCP/UDP IP ports instead of a
serial and TCP connections.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
simulink Chris Van Kleeck 1 Feb, 2008 12:30:07
udp Chris Van Kleeck 1 Feb, 2008 12:30:07
tcp Chris Van Kleeck 1 Feb, 2008 12:30:07
rssFeed for this Thread

Contact us at files@mathworks.com