<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:29: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-864] Create Gen2 entrypoints for *published* IIC commands which control SPS</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-864</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Once we have the IIC commands to control the SPS, add the published ones to the Gen2 interface files.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14150">INSTRM-864</key>
            <summary>Create Gen2 entrypoints for *published* IIC commands which control SPS</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="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="yuki.moritani">yuki.moritani</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>EngRun</label>
                            <label>SPS</label>
                    </labels>
                <created>Wed, 18 Dec 2019 22:54:18 +0000</created>
                <updated>Thu, 14 Oct 2021 17:40:10 +0000</updated>
                            <resolved>Thu, 30 Sep 2021 22:36:59 +0000</resolved>
                                                                    <component>ics_gen2Actor</component>
                    <component>PFS_kansoku</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="17126" author="yuki.moritani" created="Sun, 10 May 2020 08:04:32 +0000"  >&lt;p&gt;Looking the published commands, I think the following are needed for eng./sci. observations:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;doExpose&lt;/li&gt;
	&lt;li&gt;doBias&lt;/li&gt;
	&lt;li&gt;doDark&lt;/li&gt;
	&lt;li&gt;doArc (to use the engineering fibers)&lt;/li&gt;
	&lt;li&gt;custom&lt;/li&gt;
	&lt;li&gt;abort&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I think the following are needed, but using with PFIlamp.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;ditheredFlats&lt;/li&gt;
	&lt;li&gt;ditheredArcs&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m not sure if we need to execute the following from Gen2 (probably not):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;doFlat (as it is for DCB)&lt;/li&gt;
	&lt;li&gt;slitThroughFocus&lt;/li&gt;
	&lt;li&gt;detThroughFocus&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=arnaud.lefur&quot; class=&quot;user-hover&quot; rel=&quot;arnaud.lefur&quot;&gt;arnaud.lefur&lt;/a&gt;&#160; I have a few questions.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Is it possible to execute dither commands without turning on any dcb lamp? It seems that halogen will be on for flat...&lt;/li&gt;
	&lt;li&gt;Shutter is controlled automatically for individual exposure type (object, dark, bias). Is this correct?&lt;/li&gt;
	&lt;li&gt;How do you tread medium resolution? I guess currently defined cameras are b1 or r1 (no m1)... and I couldn&apos;t find how a command to move the red grating other than &apos;custom&apos; command...&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="17128" author="arnaud.lefur" created="Mon, 11 May 2020 14:01:45 +0000"  >&lt;ol&gt;
	&lt;li&gt;you&apos;re right for ditheredFlats I&apos;m automatically switching on halogen, once we got PFIlamp we&apos;ll need to treat this differently.&lt;/li&gt;
	&lt;li&gt;that&apos;s correct.&lt;/li&gt;
	&lt;li&gt;it hasn&apos;t been specifically treated yet, but there soon will be a &lt;b&gt;sps go low/med&lt;/b&gt;&#160;command.&#160;&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="17167" author="yuki.moritani" created="Tue, 19 May 2020 07:35:29 +0000"  >&lt;p&gt;Thank you for your answers, Arnaud. I&apos;ll then work on the first group now...&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I have come up with another question... &#160; Commas &quot;,&quot; are used in the option (parameter)&#160;&lt;em&gt;cam&lt;/em&gt;&#160; (&lt;em&gt;cam=b1,r1&lt;/em&gt; for instance), but I&apos;m afraid comma is reserved letter in .sk file.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=eric&quot; class=&quot;user-hover&quot; rel=&quot;eric&quot;&gt;eric&lt;/a&gt;&#160;, is it correct that commas are used only at the end of line (async command) it is prohibited to use anywhere else? I mean, doesn&apos;t it work?&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;
:Parameter
CAMERA=&lt;span class=&quot;code-quote&quot;&gt;&quot;b1,r1&quot;&lt;/span&gt;

...

:main_start
 Exec PFS PFSCMD ACTOR=&lt;span class=&quot;code-quote&quot;&gt;&quot;iic&quot;&lt;/span&gt; CMD=&lt;span class=&quot;code-quote&quot;&gt;&quot;bias cam=$CAMERA (I skip other parameters)&quot;&lt;/span&gt;

...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="17168" author="eric" created="Tue, 19 May 2020 08:32:45 +0000"  >&lt;p&gt;Commas are no problem inside strings. So if you pass a quoted string there will be no problem.&lt;/p&gt;</comment>
                            <comment id="17169" author="yuki.moritani" created="Tue, 19 May 2020 08:46:08 +0000"  >&lt;p&gt;I understood it. Thank you.&lt;/p&gt;</comment>
                            <comment id="17170" author="eric" created="Tue, 19 May 2020 09:05:53 +0000"  >&lt;p&gt;to clarify, your command here should be fine.&lt;/p&gt;</comment>
                            <comment id="21914" author="yuki.moritani" created="Tue, 7 Sep 2021 17:22:49 +0000"  >&lt;p&gt;&lt;em&gt;comment by&lt;/em&gt; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=yuki.moritani&quot; class=&quot;user-hover&quot; rel=&quot;yuki.moritani&quot;&gt;yuki.moritani&lt;/a&gt;&#160; &lt;em&gt;on 26/Aug/21 4:40 AM, copied over from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-865&quot; title=&quot;Create Gen2 entrypoints for *engineering* SPS commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-865&quot;&gt;&lt;del&gt;INSTRM-865&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt;&#160;&lt;br/&gt;
 &#160;&lt;br/&gt;
 For Engineering run in September 2021, the following command needs to be developed&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;IIC entry points for arc/trace/dithered-flat acquisition using pfi lamp, which is analogy of DCB data acquisition.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="21915" author="yuki.moritani" created="Tue, 7 Sep 2021 17:23:54 +0000"  >&lt;p&gt;&lt;em&gt;comment by&lt;/em&gt; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;&#160;&lt;em&gt;on&#160;26/Aug/21 6:44 AM, copied over from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-865&quot; title=&quot;Create Gen2 entrypoints for *engineering* SPS commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-865&quot;&gt;&lt;del&gt;INSTRM-865&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt;&lt;br/&gt;
 &#160;&lt;br/&gt;
 I think Arnaud and I are hoping that DCB and pfilamps are similar enough that we will not need different IIC commands. Basically, if the commanded SMs are all connected to the PFI or to the DCB, the iicActor and spsActor will control the appropriate light source with the same commands. If they are not, the IIC command will be rejected.&lt;/p&gt;

&lt;p&gt;I believe that the only significant differences are that one light source has an HgCd lamp and the other an HgAr lamp, and that we need to make sure that the pfilamps never get turned on when inappropriate. I don&apos;t think either merits separate commands.&lt;/p&gt;

&lt;p&gt;Does that make sense?&lt;/p&gt;</comment>
                            <comment id="21916" author="yuki.moritani" created="Tue, 7 Sep 2021 17:24:56 +0000"  >&lt;p&gt;&lt;em&gt;comment by &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=yuki.moritani&quot; class=&quot;user-hover&quot; rel=&quot;yuki.moritani&quot;&gt;yuki.moritani&lt;/a&gt;&#160;on 26/Aug/21 7:33 PM, copied over from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-865&quot; title=&quot;Create Gen2 entrypoints for *engineering* SPS commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-865&quot;&gt;&lt;del&gt;INSTRM-865&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt;&lt;br/&gt;
&#160;&lt;/p&gt;

&lt;p&gt;OK, it is cared with&#160;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1342&quot; title=&quot;make IIC arc/flat compatible with dcb/pfilamps&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1342&quot;&gt;&lt;del&gt;INSTRM-1342&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How do you treat fan control? Could you remind me that you always turn on/off per exposure, or keep the lamp on in a sequence?&lt;/p&gt;</comment>
                            <comment id="21917" author="yuki.moritani" created="Tue, 7 Sep 2021 17:25:53 +0000"  >&lt;p&gt;&lt;em&gt;comment by&lt;/em&gt; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;&#160;&lt;em&gt;on&#160;26/Aug/21 7:42 PM, copied over from &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-865&quot; title=&quot;Create Gen2 entrypoints for *engineering* SPS commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-865&quot;&gt;&lt;del&gt;INSTRM-865&lt;/del&gt;&lt;/a&gt;&lt;/em&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
The fan is controlled automatically by the core pfilamps pi code. Warmup for subsequent HgCd exposures can be shorter, but that is handled between the sps and pfilamps actors: the spsActor does not have to wait as long.&lt;/p&gt;

&lt;p&gt;OK, yes, part of&#160;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1342&quot; title=&quot;make IIC arc/flat compatible with dcb/pfilamps&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1342&quot;&gt;&lt;del&gt;INSTRM-1342&lt;/del&gt;&lt;/a&gt;&#160;is to handle waiting for the lamps to become ready.&lt;/p&gt;</comment>
                            <comment id="21970" author="yuki.moritani" created="Sat, 18 Sep 2021 08:24:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=eric&quot; class=&quot;user-hover&quot; rel=&quot;eric&quot;&gt;eric&lt;/a&gt; I have one question about handling double-quotation&lt;/p&gt;

&lt;p&gt;to take SpS exposure OFS command is as follows&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;oneCmd.py iic scienceTrace halogen=300 name=&quot;pfiLamps&quot; comments=&quot;testing exposure time&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Using DD command, this should be passed as follows.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;exec pfs pfscmd actor=ics cmd=&quot;scienceTrace halogen=300 name=&quot;pfiLamps&quot; comments=&quot;testing exposure time&quot;&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That is, double-quotation needs to be passed.&lt;br/&gt;
 Could you tell how to do it? When I tried to pass double quotation using back-slash for DD command to set message, it failed.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="21971" author="cloomis" created="Sat, 18 Sep 2021 08:54:18 +0000"  >&lt;p&gt;I agree that we need to know how to nest quoted strings, but I also think that for this particular ticket (&quot;... published IIC commands...&quot;) we cannot use the &lt;tt&gt;pfscmd&lt;/tt&gt; mechanism: all the primary observing commands need dedicated &lt;tt&gt;PARA&lt;/tt&gt; commands. That would allow, in this case, &lt;tt&gt;exec pfs scienceTrace halogen=300 name=&quot;pfiLamps&quot; comment=&quot;testing exposure time&quot;&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;We still intend to disable &lt;tt&gt;pfscmd&lt;/tt&gt; during normal operations, right?&lt;/p&gt;</comment>
                            <comment id="21972" author="yuki.moritani" created="Sat, 18 Sep 2021 09:04:44 +0000"  >&lt;p&gt;OK. I didn&apos;t know or forgot your plan...&lt;/p&gt;

&lt;p&gt;I agree to the idea to create dedicated DD command for science operation,&#160;but for engineering run (it is nice to have, indeed,), but you may want to use the current &lt;tt&gt;pfscmd&lt;/tt&gt; command for the time being, as we took MCS data in 2019...?&lt;/p&gt;</comment>
                            <comment id="21986" author="eric" created="Mon, 20 Sep 2021 22:53:09 +0000"  >&lt;p&gt;Quick answer: use square bracket quotes:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;exec pfs pfscmd actor=ics cmd=[scienceTrace halogen=300 name=&quot;pfiLamps&quot; comments=&quot;testing exposure time&quot;]
&#160;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;
&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In the long run, I will enhance the lexer to handle escaped nested quotes.&lt;/p&gt;</comment>
                            <comment id="21987" author="eric" created="Mon, 20 Sep 2021 23:55:02 +0000"  >&lt;p&gt;I&apos;ve modified the lexer to handle single and double quotes, with nested escapes.&#160; So you can now do:&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;
exec pfs pfscmd actor=ics cmd=&lt;span class=&quot;code-quote&quot;&gt;&apos;scienceTrace halogen=300 name=&lt;span class=&quot;code-quote&quot;&gt;&quot;pfiLamps&quot;&lt;/span&gt; comments=&lt;span class=&quot;code-quote&quot;&gt;&quot;testing exposure time&quot;&lt;/span&gt;&apos;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;if you prefer.&lt;/p&gt;

&lt;p&gt;Strings are interpolated in oscript, and interpolation characters &amp;amp;, ! and @ need to be double-escaped to pass through the decoder. So if you need to pass one of these three characters, use double backslash &lt;br/&gt;
 preceding it.&lt;/p&gt;</comment>
                            <comment id="22207" author="yuki.moritani" created="Thu, 30 Sep 2021 22:37:00 +0000"  >&lt;p&gt;As basic (primitive) gen2 .sk command was made for September run, I close this ticket for now.&lt;/p&gt;

&lt;p&gt;For real operation, more dedicated entrypoints (.dd commands) are needed, rather than just passing iic commands.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="13775">INSTRM-778</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="13803">INSTRM-789</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17010">INSTRM-1342</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|02qpuc:i6001gr068fhw9qo4o2</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="118">EngRun03</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>