xPc Target network communication

2 ビュー (過去 30 日間)
Shelia kk
Shelia kk 2012 年 1 月 8 日
Hi,
I am trying to connect two computers by using network adapters to use xpc target. However I have several problems:
1. Do the both network adapters have to be compatible with xpc target or only the target pc network adapter is enough?
2. I have formated the target pc and create a FAT32 partition. However I don't know how to set a static IP to the target pc. It is easy in windows but without an operating system how will I know the IP of the target pc?
Thanks
Mat

回答 (1 件)

Gordon Weast
Gordon Weast 2012 年 2 月 10 日
This setup is the normal one.
The host Ethernet adapter just has to have a Windows driver. You configure that one to use a static IP address. Typically you want to use one of the non-routable address groups to keep the host-target communication off of your larger network.
I typically use 10.10.10.10 for the host static IP address on the second Ethernet adapter in the host. I use that one to talk to any xPC Target boxes I have.
When you configure a kernel for a target, you specify the IP address that it will use. For instance, with the address I've listed above for the host, I'll configure TargetPC1 to 10.10.10.11 in xpcexplr before creating the bootable kernel.
All this is covered in our documentation.

カテゴリ

Help Center および File ExchangeMulticore Processor Targets についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by