AnsweredAssumed Answered

vrf MATLAB script too slow 2

Question asked by d.moodie on Sep 21, 2005
Latest reply on Sep 21, 2005 by d.moodie
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2900.2722" name=GENERATOR><STYLE></STYLE></HEAD><BODY bgColor=#ffffff><DIV><FONT face=Arial size=2>Thanks Warren I needed that !</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Thinking I was going mad !</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>I will wait 24 hour to see what others have to say.</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2>Kjeld</FONT></DIV><DIV><FONT face=Arial size=2></FONT> </DIV><DIV><FONT face=Arial size=2></FONT> </DIV><BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>  <DIV   style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>   <A title=Warren.Pickles@tycoelectronics.com   href="mailto:Warren.Pickles@tycoelectronics.com">Pickles, Warren</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vrf@agilent.com   href="mailto:vrf@agilent.com">VRF</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 22, 2005 9:40   AM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [vrf] hhhmmmmmm</DIV>  <DIV><BR></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005>Kjeld,</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=752053207-22092005>I   see what you mean.  Defintely something iffy going on.  Try it with   C:WINDOWSMedia     ada.wav (because chances are we all have that one).    Now b, c, d show the 5th, 6th, 7th bytes but e shows something else   altogether.  Once again, replacing READ TEXT with READ CHAR fixes   it.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=752053207-22092005>I   think it's one for Agilent.</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005>Regards,</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005>Warren</SPAN></FONT></DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005></SPAN></FONT> </DIV>  <DIV><FONT face=Arial color=#0000ff size=2><SPAN   class=752053207-22092005></SPAN></FONT> </DIV>  <BLOCKQUOTE>    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma     size=2>-----Original Message-----<BR><B>From:</B> Kjeld Alexander     [mailto:k.alexander@get2net.dk]<BR><B>Sent:</B> 22 September 2005     07:52<BR><B>To:</B> VRF<BR><B>Subject:</B> Fw: [vrf]     hhhmmmmmm<BR><BR></FONT></DIV>    <DIV><FONT face=Arial size=2>Hi guys,</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>Nobody comment on this !!!!!!!!</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>>>Data on b,c,d and e are (Probed)     84,90,153 and 0, it indicate that only 4 byte are read. I still do not see     any reason why it should go wrong</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>As I see it , having the correct data  on     b,c,d and e indicate that only 4 byte are read in the first READ     transaction. If not, what am I missing ???????</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2>Please explain attached</FONT></DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV><FONT face=Arial size=2></FONT> </DIV>    <DIV>----- Original Message ----- </DIV>    <BLOCKQUOTE     style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">      <DIV       style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>       <A title=Warren.Pickles@tycoelectronics.com       href="mailto:Warren.Pickles@tycoelectronics.com">Pickles, Warren</A> </DIV>      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vrf@agilent.com       href="mailto:vrf@agilent.com">VRF</A> </DIV>      <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, September 21, 2005       11:39 AM</DIV>      <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [vrf] hhhmmmmmm</DIV>      <DIV><BR></DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005>Kjeld,</SPAN></FONT></DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005></SPAN></FONT> </DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005>If you're trying to read WAV files why not try       Georg Nied's program posted a few years ago.  Search the archive for       "WAV File Library".</SPAN></FONT></DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005></SPAN></FONT> </DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005>Regarding your question, I agree it looks like       the two displays should match.  But does "READ TEXT X STR MAXFW:4"       read only 4 bytes?  Might it not read until it gets "
", or       something like that?  Try changing that to "READ BINARY X BYTE       ARRAY:4".  Bet it works.  Alternatively "READ TEXT X CHAR:4"       ought to work as well.</SPAN></FONT></DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005></SPAN></FONT> </DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005>Regards,</SPAN></FONT></DIV>      <DIV><FONT face=Arial color=#0000ff size=2><SPAN       class=890002709-21092005>Warren</SPAN></FONT></DIV>      <BLOCKQUOTE>        <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma         size=2>-----Original Message-----<BR><B>From:</B> Kjeld Alexander         [mailto:k.alexander@get2net.dk]<BR><B>Sent:</B> 21 September 2005         10:15<BR><B>To:</B> VRF<BR><B>Subject:</B> [vrf]         hhhmmmmmm<BR><BR></FONT></DIV>        <DIV><FONT face=Arial>Hi,</FONT></DIV>        <DIV><FONT face=Arial></FONT> </DIV>        <DIV><FONT face=Arial>Can anyone tell what is wrong with this "picture"         !</FONT></DIV>        <DIV><FONT face=Arial></FONT> </DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT face=Arial         color=#000000 size=3>Should'nt there be a relationship between data in         the to displays. (besides the first 8 byte )</FONT></SPAN></DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT         face=Arial></FONT></SPAN> </DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT face=Arial         color=#000000 size=3>Also the file size are different 10050140 comp. to         8+100+10049015 = 10049123</FONT></SPAN></DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT         face=Arial></FONT></SPAN> </DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT         face=Arial><FONT color=#000000><FONT size=3>File size seems to have an         influence</FONT></FONT></FONT></SPAN></DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"></SPAN> </DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT face=Arial         color=#000000 size=3>Best regards</FONT></SPAN></DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT         face=Arial></FONT></SPAN> </DIV>        <DIV><SPAN style="FONT-SIZE: 13px; COLOR: #626262"><FONT face=Arial         color=#000000 size=3>Kjeld Alexander</FONT></SPAN></DIV><BR>--- <BR>You         are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com         <BR>To subscribe send a blank email to         "join-vrf@it.lists.it.agilent.com". <BR>To unsubscribe send a blank         email to "leave-vrf@it.lists.it.agilent.com". <BR>To send messages to         this mailing list, email "vrf@agilent.com". <BR>If you need help with         the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".         <BR>Search the "unofficial vrf archive" at         "www.oswegosw.com/vrf_archive/". </BLOCKQUOTE><BR>--- <BR>You are       currently subscribed to vrf as: k.alexander@get2net.dk <BR>To subscribe       send a blank email to "join-vrf@it.lists.it.agilent.com". <BR>To       unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".       <BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If       you need help with the mailing list send a message to       "owner-vrf@it.lists.it.agilent.com". <BR>Search the "unofficial vrf       archive" at "www.oswegosw.com/vrf_archive/". </BLOCKQUOTE><BR>--- <BR>You     are currently subscribed to vrf as: k.alexander@get2net.dk <BR>To subscribe     send a blank email to "join-vrf@it.lists.it.agilent.com". <BR>To unsubscribe     send a blank email to "leave-vrf@it.lists.it.agilent.com". <BR>To send     messages to this mailing list, email "vrf@agilent.com". <BR>If you need help     with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".     <BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".     <BR>--- <BR>You are currently subscribed to vrf as:     Warren.Pickles@tycoelectronics.com <BR>To subscribe send a blank email to     "join-vrf@it.lists.it.agilent.com". <BR>To unsubscribe send a blank email to     "leave-vrf@it.lists.it.agilent.com". <BR>To send messages to this mailing     list, email "vrf@agilent.com". <BR>If you need help with the mailing list     send a message to "owner-vrf@it.lists.it.agilent.com". <BR>Search the     "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".   </BLOCKQUOTE><BR>--- <BR>You are currently subscribed to vrf as:   k.alexander@get2net.dk <BR>To subscribe send a blank email to   "join-vrf@it.lists.it.agilent.com". <BR>To unsubscribe send a blank email to   "leave-vrf@it.lists.it.agilent.com". <BR>To send messages to this mailing   list, email "vrf@agilent.com". <BR>If you need help with the mailing list send   a message to "owner-vrf@it.lists.it.agilent.com". <BR>Search the "unofficial   vrf archive" at "www.oswegosw.com/vrf_archive/". </BLOCKQUOTE><BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></HTML>  

Outcomes