<?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 use scripts to extract binary files with byte offset and reserved bytes into decimal data? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524551#M74920</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;This is how I try to identify the individual data structures for each row.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-21_21-50-11.png" style="width: 392px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44180i271B21D8AD877CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-21_21-50-11.png" alt="2022-07-21_21-50-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 13:52:26 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2022-07-21T13:52:26Z</dc:date>
    <item>
      <title>How to use scripts to extract binary files with byte offset and reserved bytes into decimal data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524548#M74918</link>
      <description>&lt;P&gt;The document is divided into three parts:&lt;BR /&gt;A: The first eight bytes are the header (two integers of 4+4),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B: This is followed by 240 lines of uniform specifications.&lt;BR /&gt;The data structure for each row is as follows:&lt;BR /&gt;1. Two bytes are integers.&lt;BR /&gt;2. Four bytes are floating point.&lt;BR /&gt;3. Four bytes are floating point.&lt;BR /&gt;4. Two bytes are integers.&lt;BR /&gt;5. The remaining 14 bytes are reserved.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;C: The last is the reserved null value.&lt;BR /&gt;How to restore this data to decimal data using JSL.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-21_21-27-07.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44179i59B0D12DB1B118E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-21_21-27-07.png" alt="2022-07-21_21-27-07.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 17:05:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524548#M74918</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scripts to extract binary files with byte offset and reserved bytes into decimal data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524551#M74920</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;This is how I try to identify the individual data structures for each row.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-21_21-50-11.png" style="width: 392px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44180i271B21D8AD877CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-21_21-50-11.png" alt="2022-07-21_21-50-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 13:52:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524551#M74920</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-07-21T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scripts to extract binary files with byte offset and reserved bytes into decimal data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524643#M74925</link>
      <description>&lt;P&gt;Load the data as a blob.&lt;/P&gt;
&lt;P&gt;Use blobPeek(), similar to substr() for strings, but zero based, to pick out the segments.&lt;/P&gt;
&lt;P&gt;Use blobToMatrix() to convert the segments to numbers.&lt;/P&gt;
&lt;P&gt;blobToMatrix() can make 4- or 8-byte floats, 1-, 2-, 4-, and 8-byte signed or unsigned integers.&lt;/P&gt;
&lt;P&gt;blobToMatrix also understands big vs little endian data: the least significant and most significant bits are sometimes swapped around. Most modern computes use little-endian representations.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 14:51:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/524643#M74925</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-07-21T14:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use scripts to extract binary files with byte offset and reserved bytes into decimal data?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/525010#M74949</link>
      <description>&lt;P&gt;Thank Craige!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-07-22_08-12-19.png" style="width: 375px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/44222iB8690F921AD9FC65/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-07-22_08-12-19.png" alt="2022-07-22_08-12-19.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 00:13:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-scripts-to-extract-binary-files-with-byte-offset-and/m-p/525010#M74949</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-07-22T00:13:15Z</dc:date>
    </item>
  </channel>
</rss>

