Simulink Real-time UDP Ethernet card issue

3 views (last 30 days)
Long
Long on 11 Aug 2017
Hi,
I noticed that in Matlab 2016b (or earlier?), there is significant change in the way it used to work with UDP.
  1. We need an additional Ethernet card to run along side with an Ethernet card for "development purpose". It used to be simpler, only one Enthernet card required for former xPC.
  2. The setting for UDP blocks required PCI bus and Slot number, but no instruction on how to get those information. The auto-search value (-1) is no longer supported. In the former xPC target explorer, it was possible to browse through the target machine to get installed devices information. However the new Simulink Real-Time has also removed that feature (why?). In this case seriously I really don't know with a pure xPC target with no other operating system than xPC kernel, how can we access devices information on the target machine? At the moment I had to boot the target with old xPC version, go to xpc explorer, get the devices information to start development on the new version of Simulink Real-time. Is there a better way to do it?
  3. I have two Ethernet cards, Intel 82550, both can connect to the host as "development mode" happily. After getting the card information, i.e. PCI bus and slot by the above method, I used them to create a UDP test model. The model built happily but could not run. The card used for real-time communication can not be initialised. Error message: Error initialising Ethernet card at [2,1] : Error 6. Anyone has any idea? Model is attached.Cheers,Phil

Answers (0)

Community Treasure Hunt

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

Start Hunting!