<?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: 怎样将二进制文件中的指定字节转化为浮点数字？ in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415087#M66418</link>
    <description>&lt;P&gt;was there a message in the log?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all of those arrays (years,months,days,seconds) will need the same treatment: years[r-479::r], for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might be easier to delete unwanted rows from the table after creating it. Try using the date column to select the range you care about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 01:57:33 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-09-03T01:57:33Z</dc:date>
    <item>
      <title>怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414386#M66348</link>
      <description>&lt;P&gt;例如将图中的第一行04——07字节转化为浮点数字,感谢专家!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-01_145427.png" style="width: 545px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35455iB877DAD5EBAFEB8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-09-01_145427.png" alt="2021-09-01_145427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;正确的结果是 :&amp;nbsp;1006.27&lt;/P&gt;&lt;P&gt;二进制文件如下:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;598A0F0548917B44F6C87B44855B7B44D7637B44DA57BE45140B000000000000&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:55:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414386#M66348</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T19:55:43Z</dc:date>
    </item>
    <item>
      <title>回复： 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414429#M66353</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;excel VBA&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-01_151051.png" style="width: 300px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35457iAAADEA7A3F2806F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-09-01_151051.png" alt="2021-09-01_151051.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 09:28:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414429#M66353</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-01T09:28:27Z</dc:date>
    </item>
    <item>
      <title>回复： 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414443#M66354</link>
      <description>&lt;P&gt;这个函数实现不了&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;CopyMemory v, b(0), 4    &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Sep 2021 10:04:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414443#M66354</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-01T10:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414460#M66358</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;filename = Save Text File(
	"$temp/deleteme.bin",
	Hex To Blob( "598A0F0548917B44F6C87B44855B7B44D7637B44DA57BE45140B000000000000" )
);

// load the entire file. You could use the blob() parameter
// to load a smaller part of the file by offset and length.
blobdata = Load Text File( filename, blob() );

// convert the binary data to a matrix. The 4 means 4 byte chunks
// and "little" means the least significant byte comes first (little endian.)
numbers = Blob To Matrix( blobdata, "float", 4, "little" ); 

// print the values; JMP uses 8-byte floating point and will 
// display more resolution than is actually available.
For( i = 1, i &amp;lt;= N Rows( numbers ), i += 1,
	Write( "\!n", i, " ", numbers[i] )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;1 6.74923813801151e-36&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;2 1006.27001953125&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;3 1007.14001464844&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;4 1005.42999267578&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;5 1005.55999755859&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;6 6090.9814453125&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;7 3.97408244482518e-42&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;8 0&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a similar function, Matrix To Blob, for converting the other direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4-byte floats have 6 or 7 significant digits. 8-byte floats have 15 or 16 significant digits.&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Single-precision_floating-point_format" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Single-precision_floating-point_format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Double-precision_floating-point_format" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Double-precision_floating-point_format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you try to use the windows hex calculator, which has a convenient&amp;nbsp; bits display, be sure to reverse the bytes.&lt;/P&gt;&lt;P&gt;48917B44 -&amp;gt; 447B9148 -&amp;gt; 0 10001000 11110111001000101001000 -&amp;gt; 2^(136-127) * (1+1/2+1/4+1/8+1/16+0/32+1/64 +...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 11:32:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414460#M66358</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-01T11:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414492#M66361</link>
      <description>&lt;P&gt;感谢专家!&lt;/P&gt;&lt;P&gt;这个二进制文件中的&lt;/P&gt;&lt;P&gt;00、01字节——年月日&lt;/P&gt;&lt;P&gt;02、03字节——时分&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-01_145427.png" style="width: 545px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35460i79176278A374007A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-09-01_145427.png" alt="2021-09-01_145427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;这样代码中的是否要增加分段？再次感谢!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;numbers = Blob To Matrix( blobdata, "float", 4, "little" ); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:23:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414492#M66361</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-01T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414498#M66364</link>
      <description>&lt;P&gt;You can process those four bytes as either four 1- byte uint or two 2- byte uint. Uint means unsigned integer. Instead of float, use uint. You will have to figure out how they represent the time, it isn't obvious with only one example that is not decoded.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:22:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414498#M66364</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-01T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414708#M66377</link>
      <description>&lt;P&gt;我还有没有能力进行这种操作。&lt;/P&gt;&lt;P&gt;我将整个文件上传、它有5070行这样结构的数据。&lt;/P&gt;&lt;P&gt;看看要如何编码？&lt;/P&gt;&lt;P&gt;谢谢!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;00 to 01 bytes: indicates the date. If the value is num, the date calculation method is as follows:
year=floor(num/2048)+2004;
month=floor(mod(num,2048)/100);
day=mod(mod(num,2048),100);

02 to 03 bytes: indicates the number of minutes from 0 o 'clock to the present

04 to 07 bytes:  float
08 to 11 bytes:  float
12 to 15 bytes:  float
16 to 19 bytes:  float
20 to 23 bytes:  float

24 to 27 bytes:  integer
28 to 31 bytes :(reserved)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Sep 2021 05:41:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414708#M66377</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-02T05:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414805#M66385</link>
      <description>&lt;P&gt;You could make a graph of the data like this. It looks like there are some outliers!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data extracted from the zip file and graphed to see outliers." style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35485iA3F92FA6008F515D/image-size/large?v=v2&amp;amp;px=999" role="button" title="445.lc5 - Graph Builder.png" alt="data extracted from the zip file and graphed to see outliers." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;data extracted from the zip file and graphed to see outliers.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*
00 to 01 bytes: indicates the date. If the value is num, the date calculation method is as follows:
year=floor(num/2048)+2004;
month=floor(mod(num,2048)/100);
day=mod(mod(num,2048),100);

02 to 03 bytes: indicates the number of minutes from 0 o 'clock to the present

04 to 07 bytes:  float
08 to 11 bytes:  float
12 to 15 bytes:  float
16 to 19 bytes:  float
20 to 23 bytes:  float

24 to 27 bytes:  integer
28 to 31 bytes :(reserved)
*/
za = Open( "z:/445.zip", "zip" ); // open the zip file
datasetname = (za &amp;lt;&amp;lt; dir)[1];
blobdata = za &amp;lt;&amp;lt; read( datasetname, Format( blob ) ); // load the member as a blob
//
// the following 3 lines import ALL of the data each time. Later, 
// only use the columns that were really in that format.
//
integer2 = Blob To Matrix( blobdata, "uint", 2, "little", 16 ); // get the 2-byte unsigned ints for columns 0-1 and 2-3
integer4 = Blob To Matrix( blobdata, "uint", 4, "little", 8 ); // get the 4-byte unsigned ints for columns 24-27 and 28-31
float4 = Blob To Matrix( blobdata, "float", 4, "little", 8 ); // get the 4-byte floats for columns 4-23

// pre-process the matrix columns; no explicit loop is required...
years = Floor( integer2[0, 1] / 2048 ) + 2004;
months = Floor( Mod( integer2[0, 1], 2048 ) / 100 );
days = Mod( Mod( integer2[0, 1], 2048 ), 100 );
seconds = 60 * integer2[0, 2];

// create a table. You could also use new table, but the v1...v5 would be a little more code to type
dt = As Table(
	years,
	months,
	days,
	seconds,
	float4[0, 2 :: 6],
	integer4[0, 7 :: 8],
	&amp;lt;&amp;lt;columnnames( {"year", "month", "day", "second", "v1", "v2", "v3", "v4", "v5", "xx", "reserved"} )
);

// add a JMP date-time formula column
dt &amp;lt;&amp;lt; New Column( "date",
	Numeric,
	"Continuous",
	Format( "yyyy-mm-ddThh:mm:ss", 19, 0 ),
	Input Format( "yyyy-mm-ddThh:mm:ss", 0 ),
	Formula( Date DMY( :day, :month, :year ) + :second ),
	set selected
);
dt &amp;lt;&amp;lt; run formulas; // make sure the formula completes

// clean up a bit
dt &amp;lt;&amp;lt; move selected columns( to first );
dt &amp;lt;&amp;lt; Clear Column Selection();
dt:date &amp;lt;&amp;lt; deleteformula;
dt &amp;lt;&amp;lt; deletecolumns( {"year", "month", "day", "second"} );
dt &amp;lt;&amp;lt; setname(datasetname);
dt &amp;lt;&amp;lt; Optimize Display;

// make a graph
dt &amp;lt;&amp;lt; Graph Builder(
	Size( 1125, 610 ),
	Show Control Panel( 0 ),
	Variables( X( :date ), Y( :v5 ), Y( :v4 ), Y( :v3 ), Y( :v2 ), Y( :v1 ), Y( :xx ) ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 57 ) ) ),
	Elements( Position( 1, 2 ), Points( X, Y, Legend( 59 ) ) ),
	Elements( Position( 1, 3 ), Points( X, Y, Legend( 61 ) ) ),
	Elements( Position( 1, 4 ), Points( X, Y, Legend( 63 ) ) ),
	Elements( Position( 1, 5 ), Points( X, Y, Legend( 65 ) ) ),
	Elements( Position( 1, 6 ), Points( X, Y, Legend( 67 ) ) ),
	SendToReport( Dispatch( {}, "graph title", TextEditBox, {Set Text( datasetname )} ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:19:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414805#M66385</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-02T12:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414810#M66386</link>
      <description>&lt;P&gt;非常感谢专家的帮助!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMP功能太强大了!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMP原来可以这样使用!&lt;/P&gt;&lt;P&gt;我所懂得的也太少了。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;再次感谢专家 !&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:45:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/414810#M66386</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-02T12:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415066#M66415</link>
      <description>&lt;P&gt;我还是要继续向专家请教:&lt;/P&gt;&lt;P&gt;如果只从这个文件中提取最后 480行这样的数据、要如何修改代码？&lt;/P&gt;&lt;P&gt;感谢专家!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;这样的数据在原文件中是 5070 行。而且原始的二进制文件的末尾部分是其它文字、不是数据。&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 22:29:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415066#M66415</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-02T22:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415080#M66417</link>
      <description>&lt;P&gt;我试着这样修改、但不成功。&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;r = N Row( years );


dt = As Table(
	years,
	months,
	days,
	seconds,
	float4[r - 479 :: r, 2 :: 6], ////
	integer4[r - 479 :: r, 7 :: 8], ///
	&amp;lt;&amp;lt;columnnames( {"year", "month", "day", "second", "v1", "v2", "v3", "v4", "v5", "xx", "reserved"} )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Sep 2021 00:52:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415080#M66417</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-03T00:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415087#M66418</link>
      <description>&lt;P&gt;was there a message in the log?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all of those arrays (years,months,days,seconds) will need the same treatment: years[r-479::r], for example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might be easier to delete unwanted rows from the table after creating it. Try using the date column to select the range you care about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 01:57:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415087#M66418</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-03T01:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: 怎样将二进制文件中的指定字节转化为浮点数字？</title>
      <link>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415105#M66425</link>
      <description>&lt;P&gt;看到这个图形、我提两个疑点 :&lt;/P&gt;&lt;P&gt;1、为了图形连续、不受日期间隔的影响、有什么简单方法实现。我只会使用行号列来作为X轴&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( "reserved" ) &amp;lt;&amp;lt; Formula( Row() );dt &amp;lt;&amp;lt; run formulas;Column( "reserved" ) &amp;lt;&amp;lt; deleteFormula;

……
	Variables( X( :reserved ), Y( :v5 ), Y( :v4 ), Y( :v3 ), Y( :v2 ), Y( :v1 ), Y( :xx ) ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-03_152437.png" style="width: 792px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35513iDDCB5A530A1AEDEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-09-03_152437.png" alt="2021-09-03_152437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2、其实这个数据股票的交易数据。&lt;/P&gt;&lt;P&gt;JMP能否直接制作象这种日本蜡烛图。在excel中能简单制作这种图&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-03_153231.png" style="width: 519px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35514i3FE410B3CC5B9D2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-09-03_153231.png" alt="2021-09-03_153231.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;非常感谢!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 07:35:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%E6%80%8E%E6%A0%B7%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%8C%87%E5%AE%9A%E5%AD%97%E8%8A%82%E8%BD%AC%E5%8C%96%E4%B8%BA%E6%B5%AE%E7%82%B9%E6%95%B0%E5%AD%97/m-p/415105#M66425</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2021-09-03T07:35:03Z</dc:date>
    </item>
  </channel>
</rss>

