Prev: wait for key press
Next: SVM
From: Sa Cha on 3 Mar 2010 03:49 Hello, i have a simple Simulink model for the xPC Target, and I want to send from a xPC-Target to other 136 Bytes (ie 17 double variables). I have taken the Matlab demonstration example (xpcEnetDemo1Tx.mdl), the configuration retained, adapted a little bit, and tried to send 136 bytes instead of 16. My xPC target remains hanging and reacts no longer. After a long test showed that only data from 1 to 128 bytes and then from 256 bytes can be sent. Unfortunately I could not send data from 136 to 248 bytes. So why is that? Can someone help me? Thank you for your help. PS.: My model consists of the following blocks: - Ethernet init - Buffer Mngmt - Byte Packing - Create Ethernet Packet - Number of Data Bytes - Ethernet Tx - 17 Constants with double datatype The configuration of the Ethernet-blocks is like in xpcEnetDemo1Tx.mdl
From: Gordon Weast on 3 Mar 2010 08:54 There is a bug report listing on our web site under support for this. Look at: http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=ethernet&release_filter=Exists+in&release=160&selected_products=51&commit=Search The bug report number is 562930. It only took me a minute to find it. Get the attached file. When you are asking for help, it really helps us if you remember to list the version of MATLAB that you're running. Also, you would have gotten this solution much quicker if you had called tech support or gone onto our web site and looked. Gordon Weast xPC Target Development The MathWorks Sa Cha wrote: > Hello, > i have a simple Simulink model for the xPC Target, and I want to send > from a xPC-Target to other 136 Bytes (ie 17 double variables). I have > taken the Matlab demonstration example (xpcEnetDemo1Tx.mdl), the > configuration retained, adapted a little bit, and tried to send 136 > bytes instead of 16. My xPC target remains hanging and reacts no longer. > After a long test showed that only data from 1 to 128 bytes and then > from 256 bytes can be sent. Unfortunately I could not send data from 136 > to 248 bytes. > So why is that? Can someone help me? > Thank you for your help. > > PS.: My model consists of the following blocks: > - Ethernet init > - Buffer Mngmt > - Byte Packing > - Create Ethernet Packet > - Number of Data Bytes > - Ethernet Tx > - 17 Constants with double datatype > > The configuration of the Ethernet-blocks is like in xpcEnetDemo1Tx.mdl
From: Sa Cha on 5 Mar 2010 02:50 Thank you, it works now :-) PS.: It was about Matlab 2009a Gordon Weast <gweast(a)mathworks.com> wrote in message <hmlpnh$d24$1(a)fred.mathworks.com>... > There is a bug report listing on our web site under support for this. > > Look at: > http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=ethernet&release_filter=Exists+in&release=160&selected_products=51&commit=Search > > The bug report number is 562930. It only took me a minute to find it. > > Get the attached file. > > When you are asking for help, it really helps us if you remember to > list the version of MATLAB that you're running. > > Also, you would have gotten this solution much quicker if you had > called tech support or gone onto our web site and looked. > > Gordon Weast > xPC Target Development > The MathWorks > > Sa Cha wrote: > > Hello, > > i have a simple Simulink model for the xPC Target, and I want to send > > from a xPC-Target to other 136 Bytes (ie 17 double variables). I have > > taken the Matlab demonstration example (xpcEnetDemo1Tx.mdl), the > > configuration retained, adapted a little bit, and tried to send 136 > > bytes instead of 16. My xPC target remains hanging and reacts no longer. > > After a long test showed that only data from 1 to 128 bytes and then > > from 256 bytes can be sent. Unfortunately I could not send data from 136 > > to 248 bytes. > > So why is that? Can someone help me? > > Thank you for your help. > > > > PS.: My model consists of the following blocks: > > - Ethernet init > > - Buffer Mngmt > > - Byte Packing > > - Create Ethernet Packet > > - Number of Data Bytes > > - Ethernet Tx > > - 17 Constants with double datatype > > > > The configuration of the Ethernet-blocks is like in xpcEnetDemo1Tx.mdl
|
Pages: 1 Prev: wait for key press Next: SVM |