<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:32:01 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-1113] Provide status-only gen2 client module</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1113</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;SuNSS will need to get Gen2 status values for telescope position, slewing/tracking/guiding state, etc. &lt;em&gt;especially&lt;/em&gt; when PFS is not the active instrument and is probably connected to the g2sim simulator system.&lt;/p&gt;

&lt;p&gt;We will need an example of how best to do that safely. &lt;/p&gt;</description>
                <environment></environment>
        <key id="15034">INSTRM-1113</key>
            <summary>Provide status-only gen2 client module</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="eric">eric</assignee>
                                    <reporter username="cloomis">cloomis</reporter>
                        <labels>
                            <label>SuNSS</label>
                    </labels>
                <created>Tue, 17 Nov 2020 00:28:09 +0000</created>
                <updated>Tue, 16 Feb 2021 01:32:51 +0000</updated>
                            <resolved>Sat, 13 Feb 2021 03:06:40 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="18184" author="hassan" created="Thu, 17 Dec 2020 14:36:20 +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;: any feedback on this?&lt;/p&gt;</comment>
                            <comment id="18186" author="eric" created="Thu, 17 Dec 2020 21:47:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hassan&quot; class=&quot;user-hover&quot; rel=&quot;hassan&quot;&gt;hassan&lt;/a&gt;, please see the example [here|&lt;a href=&quot;https://github.com/naojsoft/g2cam/blob/master/examples/stream_status.py&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/naojsoft/g2cam/blob/master/examples/stream_status.py&lt;/a&gt;.]&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18310" author="cloomis" created="Wed, 6 Jan 2021 16:07:01 +0000"  >&lt;p&gt;OK, so that gives us a (nice!) mechanism.&lt;/p&gt;

&lt;p&gt;Can you also point out which keywords we should be paying attention to and what the interesting values would be? There are a few configuration changes we will want to notice:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;starting/ending a new science field. We talked about using keywords which indicate that guiding is turned on/off.&lt;/li&gt;
	&lt;li&gt;taking calibration data. Is it possible to detect whether the telescope is pointed at the screen and/or that lamps are on?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="18461" author="hassan" created="Wed, 10 Feb 2021 16:09:51 +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;: Could you respond to Craig&apos;s questions above please?&lt;/p&gt;</comment>
                            <comment id="18470" author="eric" created="Thu, 11 Feb 2021 01:51:56 +0000"  >&lt;p&gt;&#160;There is a list of aliases &lt;a href=&quot;https://wiki.subaru.nao.ac.jp/wiki/index.php?title=Gen2_Status&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, if you access within the VPN.&#160; But it is a bit old and may not have all the values or descriptions.&#160; If you don&apos;t find what you are looking for there, you should just let me know what specific conditions you are interested in; that is quickest way to get you the information you need.&#160;&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;starting/ending a new science field. We talked about using keywords which indicate that guiding is turned on/off.&lt;/cite&gt;&lt;/p&gt;

&lt;p&gt;There is no status keyword that says &quot;we are on a new science field&quot;.&#160; One that &lt;em&gt;is&lt;/em&gt; probably useful is STATL.TELDRIVE. This will have a value of &quot;Pointing&quot;, &quot;Tracking*&quot; or &quot;Guiding*&quot; (* means there are possible following characters).&#160; Starting with &quot;Tracking&quot; or &quot;Guiding&quot; means the telescope is locked on to a coordinate. But it doesn&apos;t necessarily mean that they are taking data or on a science field, or even that the dome is open.&#160; But at least you can detect that the telescope is fixed on a coordinate.&#160; I am looking up the status for dome open or closed.&#160; I know we are reporting that in statmon.&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;taking calibration data. Is it possible to detect whether the telescope is pointed at the screen and/or that lamps are on&lt;/cite&gt;?&lt;/p&gt;

&lt;p&gt;You can probably determine this by the elevation (&amp;gt;= 89.*), STATL.TELDRIVE == &quot;Pointing&quot; and the status for calibration lamps wattage.&#160; I&apos;m looking up the latter.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18471" author="cloomis" created="Thu, 11 Feb 2021 02:09:28 +0000"  >&lt;p&gt;Thanks, that STAL.TELDRIVE point is definitely what we were looking for &amp;#8211; our earlier discussions made those limitations clear.  I&apos;ll look through that list. &lt;/p&gt;

&lt;p&gt;[ For others, I can get to the wiki when connected to the &quot;Users&quot; VPN group but not to the &quot;PFS&quot; VPN group. I&apos;ll ask about that  issue elsewhere. ]&lt;/p&gt;</comment>
                            <comment id="18479" author="eric" created="Thu, 11 Feb 2021 23:24:14 +0000"  >&lt;p&gt;Dome open/close status via STATL.DOMESHUTTER_POS.&#160; Values are &quot;&quot; (blank), &quot;OPEN&quot; and &quot;CLOSE&quot;.&#160; You should be able to use this to know when you are pointing at sky or dome.&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18483" author="cloomis" created="Fri, 12 Feb 2021 18:48:14 +0000"  >&lt;p&gt;Which GEN2HOST should I use? And is it always safe/allowed to connect and fetch/stream queries if I use that mechanism?&lt;/p&gt;</comment>
                            <comment id="18485" author="eric" created="Sat, 13 Feb 2021 00:54:41 +0000"  >&lt;p&gt;&quot;g2db.sum.subaru.nao.ac.jp&quot; for StatusClient, &quot;g2stat.sum.subaru.nao.ac.jp&quot; for StatusStream.&#160; I sent you access info by DM.&lt;/p&gt;

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

&lt;p&gt;You can connect anytime.&#160; But let&apos;s keep it to one stream for now.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="18486" author="cloomis" created="Sat, 13 Feb 2021 03:06:40 +0000"  >&lt;p&gt;Works like a charm, as far as I can tell. If you ever find out about lamp power please append to this ticket, even though closed.&lt;/p&gt;</comment>
                            <comment id="18521" author="eric" created="Tue, 16 Feb 2021 01:32:51 +0000"  >&lt;p&gt;I&apos;ll try to confirm them during HSC flats tonight.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15033">INSTRM-1112</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|zzs34w:</customfieldvalue>

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