<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Read a Binary  COMTRADE Data File in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182909#M71847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="DAT ERROR.png" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114376_DAT ERROR.png" style="height: 299px; width: 620px;" /&gt;Hi The Cfg now works but Dat file says : "can't open the data file"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2017 03:09:24 GMT</pubDate>
    <dc:creator>ppal</dc:creator>
    <dc:date>2017-04-12T03:09:24Z</dc:date>
    <item>
      <title>How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182897#M71835</link>
      <description>Does anyone know how I can read a binary comtrade data file.&amp;nbsp; In this case "File.dat"What is comtrade? See &lt;A href="https://en.wikipedia.org/wiki/Comtrade.I" target="_blank"&gt;https://en.wikipedia.org/wiki/Comtrade.I&lt;/A&gt; am interested in displaying the File.dat The others are easy to open in mathcad.Once I can view it then I can do further processing</description>
      <pubDate>Thu, 03 May 2018 13:42:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182897#M71835</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2018-05-03T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182898#M71836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The .hdr (header) file is an XML formatted file.&lt;/P&gt;&lt;P&gt;The .dat (data) file appears to be a binary data file.&lt;/P&gt;&lt;P&gt;The .cfg (configuration) file is a comma separated values (.csv) file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While Mathcad can 'read' all these files (the first two with the READBIN function, the last one with READPRN), it cannot interpret them.&lt;/P&gt;&lt;P&gt;You'll have to know the format and meanings of fields, then you can write Mathcad programs to actually interpret the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, if you have c-code that can interpret these files, you could wrap that into a User-DLL that adds the specific functions to Mathcad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 05:58:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182898#M71836</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-07T05:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182899#M71837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data file information is specified in IEEE standard C37.111, which has become an IEC standard in 2001.&lt;/P&gt;&lt;P&gt;See here:&lt;A href="https://webstore.iec.ch/preview/info_iec60255-24%7Bed2.0%7Db.pdf" title="https://webstore.iec.ch/preview/info_iec60255-24%7Bed2.0%7Db.pdf"&gt;https://webstore.iec.ch/preview/info_iec60255-24%7Bed2.0%7Db.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Apr 2017 15:00:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182899#M71837</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-08T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182900#M71838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114333" alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114333_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Results:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114334" alt="" class="jive-image image-2" src="https://community.ptc.com/legacyfs/online/114334_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114342" alt="" class="jive-image image-4" src="https://community.ptc.com/legacyfs/online/114342_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114341" alt="" class="jive-image image-3" src="https://community.ptc.com/legacyfs/online/114341_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114343" alt="" class="image-5 jive-image" src="https://community.ptc.com/legacyfs/online/114343_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114344" alt="" class="jive-image image-6" src="https://community.ptc.com/legacyfs/online/114344_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Let me know if you like it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:23:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182900#M71838</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-10T20:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182901#M71839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks great. But where do you actually give the full path to the files. When I try it sees the "." cfg then does a subscript. Could you give a screen capture of where you actually point the mathcad to the actual files. Thanks for&amp;nbsp; your effort. You have put a lot of work into it. Genius!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 02:01:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182901#M71839</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-11T02:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182902#M71840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="File Error.png" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114346_File Error.png" style="height: 267px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 03:48:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182902#M71840</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-11T03:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182903#M71841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have an exclamation mark '!' in your path. That (apparently) is an illegal character.&lt;/P&gt;&lt;P&gt;Instead of using CWD, define the you path string explicitly, like:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file:= "D:\....\H035"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 05:53:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182903#M71841</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-11T05:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182904#M71842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, better still.... assuming you have the mathcad file(s) in the same directory as the .cfg and .dat files, just define:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file:="H035"&lt;/P&gt;&lt;P&gt;That should do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I see that you're using Prime (and probably used Mathcad 15 to open my source file).&lt;/P&gt;&lt;P&gt;Does the utility function in Mathcad 15?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 07:21:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182904#M71842</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-11T07:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182905#M71843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi The conversion to Prime 4 looks fine. The "!" Is a sub folder. But it also failed to open in the d: root drive.&amp;nbsp; I'll give it another go tomorrow. I really appreciate your work on this. When I get the prime 4 working I'll post it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 08:59:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182905#M71843</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-11T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182906#M71844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you don't get it to work, I may be able to help to find the problem.&lt;/P&gt;&lt;P&gt;Though I cannot execute programs in Prime 4, I can read the file and inspect it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 11:45:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182906#M71844</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-11T11:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182907#M71845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;Errors I got in Mathcad 15 and prime 4.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can shed some light. Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 22:08:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182907#M71845</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-11T22:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182908#M71846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm the error in Mathcad 14, M045.&lt;/P&gt;&lt;P&gt;Its the vec2str(W) statement in the READCSVI routine which throws the error because it obviously can't convert a vector containing a zero into a string.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114389" alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114389_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114390" alt="" class="jive-image image-2" src="https://community.ptc.com/legacyfs/online/114390_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;@Luc&lt;/P&gt;&lt;P&gt;Haven't digged into the logic of your program and can't tell why you set W to a 1x1 matrix containing a zero from time to time.&lt;/P&gt;&lt;P&gt;How does vec2str handles a zero byte in MC11? Maybe as a workaround we could write a new vec2str in MC11 which simulates that behaviour.^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!!! EDIT:&lt;/P&gt;&lt;P&gt;Solution found!&lt;/P&gt;&lt;P&gt;Simply replace the two occurrences of W &amp;lt;-- (0) by W &amp;lt;-- 0 and it seems to work OK. At least it works in MC15&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114391" alt="" class="jive-image image-3" height="236" src="https://community.ptc.com/legacyfs/online/114391_pastedImage_0.png" style="width: 495px; height: 235.524px;" width="495" /&gt;&lt;/P&gt;&lt;P&gt;I can't give it a try with P4, but I guess the problem there is the very same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below you see the difference between vec2str(0) and vec2str of a 1x1 matrix containing 0. The first returns an empty string (which is needed) but the second throws an error. Guess this is different in MC11&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114392" alt="" class="jive-image image-4" src="https://community.ptc.com/legacyfs/online/114392_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 00:30:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182908#M71846</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-04-12T00:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182909#M71847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="DAT ERROR.png" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114376_DAT ERROR.png" style="height: 299px; width: 620px;" /&gt;Hi The Cfg now works but Dat file says : "can't open the data file"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 03:09:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182909#M71847</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-12T03:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182910#M71848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't replicate that error using Mathcad 15) - just changed the two program lines mentioned and it works.&lt;/P&gt;&lt;P&gt;Are you sure you have both files, "file.cfg" AND "file.dat" in the same directory as your Mathcad file? "file.hdr" seems not to be used by Luc's sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 07:39:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182910#M71848</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-04-12T07:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182911#M71849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Werner,&lt;/P&gt;&lt;P&gt;I remembered once having had a bad experience with supplying an integer to the vec2str() function.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114397_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;(The error message says that the argument must be a vector)&lt;/P&gt;&lt;P&gt;But I've checked vec2str() can live with a zero, also in Mathcad 11:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.ptc.com/legacyfs/online/114401_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;So I could change single element vector containing a zero into a simple zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A message to the OP:&lt;/P&gt;&lt;P&gt;In Prime you might not need the READCSV function, because Prime has READCSV, which does the same in this application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 09:14:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182911#M71849</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-12T09:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182912#M71850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works,&lt;/P&gt;&lt;P&gt;here is the adapted version that should also work in versions of Mathcad above 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 09:22:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182912#M71850</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-12T09:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182913#M71851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I see from your screenshot that this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114402_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;is the difference to later Mathcad version which throw an error (maybe we could call that a bug).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not sure why the OP now has problems reading the *.dat file.&lt;/P&gt;&lt;P&gt;Only explanation I can thinks of is, that he forgot to copy it to the same locations as the cfg and MC file. Also possible that the file is open and in use by another program - not sure if MC would choke on hat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 09:36:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182913#M71851</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-04-12T09:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182914#M71852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Yes! Mathcad 15 works but Prime 4.0 has errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Prime 4.0 Comtrade error.png" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114403_Prime 4.0 Comtrade error.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 09:43:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182914#M71852</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2017-04-12T09:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182915#M71853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also corrected an error, which means that the data file is now read including the very last sample&lt;/P&gt;&lt;P&gt;(I had to omit the last sample because the function was apparently reading past the end of the data file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="114404" alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/114404_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Attached are corrected Mathcad 11 and Prime 4 files.&lt;/P&gt;&lt;P&gt;I don't think that the corrected Prime 4 file will solve the problem you show above.&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:09:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182915#M71853</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-12T10:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read a Binary  COMTRADE Data File</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182916#M71854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Caution, using the built-in READCSV of Prime instaed of the one I supplied, requires changes in ReadComtradeCfg, because the READCSV built into Prime already interprets evry field that looks like a number as a number.&lt;/P&gt;&lt;P&gt;In many cases that's OK, but e.g. the Recording device ID (a 1 in your .cfg file) could also be an alpha string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 10:27:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-Read-a-Binary-COMTRADE-Data-File/m-p/182916#M71854</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-04-12T10:27:02Z</dc:date>
    </item>
  </channel>
</rss>

