<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:25:26 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-478] Write msim FPGA log decoder</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-478</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;It would be useful to compare the traffic sent to the FPGA from msim and from cobraCharmer. Notably, each msim test run generates an &lt;tt&gt;fpga_log.txt&lt;/tt&gt; showing all the traffic.&lt;/p&gt;

&lt;p&gt;Unfortunately this is the raw hex stream, and not something parseable. Given the pieces of code that we already have, I don&apos;t think it would be horribly difficult to write a decoder. One may already exist.&lt;/p&gt;

&lt;p&gt;As an example, the SETFREQ logs for msim and cobraCharmer are:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
3,3864153819.000000,030100384e208ae2082300fd0099101300fb009a102300fc0099181300fd0098182300fc0097201301000097202300fc0098281300fa0099282300fc0097301300fe0095302300fd0098381300fe0097382300fc0098401300fa0097402300fc009a481300fc0098482300fe0096501300fd0098502300fa0097581300fb0097582300fe0099601300fc0099602300fa0098681300fd0097682301000096701300fd0099702300fd0094781300fc0097782300fc0098801300fb0093802300fb0096881300fb0098882300fd0098901300fd0096902300fa0098981300ff0097982300fa0098a01300ff0099a02300fe0096a81300fc0097a82301000098b01300fd0097b02301010099b81300fa0097b82300fc0098c01300fa0097c02300fe0098c81300fc0096c82300f80096d01300fa0097d02300f90097d81300f80099d82300fb0099e01300fa009ae02300f70095e81300fc009a
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-09-04T14:29:06.0759 20 fpga       CMD: setFreq (57 cobras)
2018-09-04T14:29:06.0759 20 fpga           cobra:  1  1 Theta: 1 63.24 Phi: 1 108.11
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  1 Theta: 1 63.24 Phi: 1 104.58
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  2 Theta: 1 63.75 Phi: 1 103.90
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  2 Theta: 1 63.49 Phi: 1 104.58
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  3 Theta: 1 63.24 Phi: 1 105.26
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  3 Theta: 1 63.49 Phi: 1 105.96
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  4 Theta: 1 62.50 Phi: 1 105.96
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  4 Theta: 1 63.49 Phi: 1 105.26
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  5 Theta: 1 64.00 Phi: 1 104.58
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  5 Theta: 1 63.49 Phi: 1 105.96
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  6 Theta: 1 62.99 Phi: 1 107.38
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  6 Theta: 1 63.24 Phi: 1 105.26
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  7 Theta: 1 62.99 Phi: 1 105.96
2018-09-04T14:29:06.0760 20 fpga           cobra:  2  7 Theta: 1 63.49 Phi: 1 105.26
2018-09-04T14:29:06.0760 20 fpga           cobra:  1  8 Theta: 1 64.00 Phi: 1 105.96
  [ etc ]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="12812">INSTRM-478</key>
            <summary>Write msim FPGA log decoder</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Sep 2018 19:38:56 +0000</created>
                <updated>Mon, 19 Nov 2018 22:52:47 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="14621" author="cloomis" created="Mon, 19 Nov 2018 22:52:47 +0000"  >&lt;p&gt;All the logs for all Spare1, Spare2, Science 01,02,15,29 runs as of 2018-10-11 are at &lt;a href=&quot;https://drive.google.com/open?id=1kUx13MKshaPgp04l-RYjK0OHxbLJ0k-X&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://drive.google.com/open?id=1kUx13MKshaPgp04l-RYjK0OHxbLJ0k-X&lt;/a&gt;. &lt;span class=&quot;error&quot;&gt;&amp;#91;Sorry, I though I had sent out mail on 10-11&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;The input logs are the ones which contain the raw (binary) network command and responses. All packets headers and responses are printed, and all fields in all packets. Voltages, temperatures, and frequencies are converted to V, C, kHz.&lt;/p&gt;

&lt;p&gt;The output is intended to be both machine parseable and human readable. You should be able to make sense of the contents by looking at PFS-PFI-CIT900001-08_PFI MPS Electronics ICD RevF_proposal.pdf (available on pbworks). The important ones are:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;All tests start by setting and checking the motor frequencies. I&apos;ll note that the currents on board 1 seem to come back as 0.&lt;/li&gt;
	&lt;li&gt;The run commands show, for each motor: run/ignore, direction, #steps, pulse length, wait time.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|s000yg:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>