# Camera Hexapod Chronograph page presents jumping "calibrated actuator position" values.

XMLWordPrintable

#### Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
• Story Points:
1
• Sprint:
TSSW Sprint - Jul 05 - Jul 19
• Team:
Telescope and Site
• Urgent?:
No

#### Description

The Camera Hexapod Chronograph page presents jumping "calibrated actuator position"

values. Se image lower-left corner.

In the EUI plots, this phenomenon is not seen. But: The EUI plots and EFD plots are generated from different data streams.

The phenomena also appears in " lsst.sal.MTHexapod.electrical.copleyStatusWordDrive0 "

#### Attachments

1. image (1).png
592 kB
2. Screen Shot 2021-06-03 at 13.59.50.png
240 kB
3. Screen Shot 2021-06-14 at 15.26.33.png
204 kB

#### Activity

Hide
Holger Drass added a comment -

The following image shows that there are no zero values send from the

low-level controller.

Show
Holger Drass added a comment - The following image shows that there are no zero values send from the  low-level controller.
Hide
Te-Wei Tsai added a comment -

Russell will check the data of low-level controller to CSC. The branch is u/rowen/print_telem in ts_mthexapod .

Show
Te-Wei Tsai added a comment - Russell will check the data of low-level controller to CSC. The branch is u/rowen/print_telem in ts_mthexapod .
Hide
Holger Drass added a comment -

Russell Owen: The issue seems to also appear at NCSA:

https://lsst-chronograf-nts-efd.ncsa.illinois.edu/sources/1/dashboards/66?refresh=60s&lower=now%28%29%20-%205m

Plot upper right corner showing lsst.sal.MTHexapod.application.positionX:

 SELECT "position0", "position1", "position2", "position3", "position4", "position5" FROM "efd"."autogen"."lsst.sal.MTHexapod.application" WHERE time > :dashboardTime: AND time < :upperDashboardTime:

Show
Holger Drass added a comment - Russell Owen : The issue seems to also appear at NCSA: https://lsst-chronograf-nts-efd.ncsa.illinois.edu/sources/1/dashboards/66?refresh=60s&lower=now%28%29%20-%205m Plot upper right corner showing lsst.sal.MTHexapod.application.positionX: SELECT "position0" , "position1" , "position2" , "position3" , "position4" , "position5" FROM "efd" . "autogen" . "lsst.sal.MTHexapod.application" WHERE time > :dashboardTime: AND time < :upperDashboardTime:
Hide
Russell Owen added a comment - - edited

That query is showing the "application" telemetry from both hexapods. It needs a "WHERE MTHexapodID = 1 (or 2)". When I add that the data no longer jumps. So this still appears to be something about interaction with the real low-level controller.

Show
Russell Owen added a comment - - edited That query is showing the "application" telemetry from both hexapods. It needs a "WHERE MTHexapodID = 1 (or 2)". When I add that the data no longer jumps. So this still appears to be something about interaction with the real low-level controller.
Hide
Holger Drass added a comment - - edited

I see, there might have been a problem with Chronograph at NCSA. I just checked and it seems to work fine now at NCSA. Can you try and see if you can confirm?

Summit to be checked when CSC comes back.

Show
Holger Drass added a comment - - edited I see, there might have been a problem with Chronograph at NCSA. I just checked and it seems to work fine now at NCSA. Can you try and see if you can confirm? Summit to be checked when CSC comes back.
Hide
Russell Owen added a comment - - edited

There are also a number of displays in the CamHexapod summit dashboard https://chronograf-summit-efd.lsst.codes/sources/1/dashboards/8 that were missing "WHERE MTHexapodID = ...".

I fixed the problem as follows:

1) On the summit:

• Added a new user-settable variable named :SalIndex: with allowed values 1, 2
• Made all MTHexapod queries specify MTHexapodID = :SalIndex:
• Renamed the camera hexapod dashboard to MTHexapod: 1=Camera, 2=M2
• Confirmed that you can have the same dashboard open twice (e.g. in two different browser tabs or windows), each showing data for a different hexapod.
• Deleted the other MT hexapod dashboard, so we only have one.

At NCSA:

• Imported a copy of the summit dashboard with the same name
• Tested it
• Deleted the old MT hexapod dashboards.

So now we only have one to maintain on the summit, and I hope we can occasionally remember to duplicate it to our other sites.

Show
Russell Owen added a comment - - edited There are also a number of displays in the CamHexapod summit dashboard https://chronograf-summit-efd.lsst.codes/sources/1/dashboards/8 that were missing "WHERE MTHexapodID = ...". I fixed the problem as follows: 1) On the summit: Added a new user-settable variable named :SalIndex: with allowed values 1, 2 Made all MTHexapod queries specify MTHexapodID = :SalIndex: Renamed the camera hexapod dashboard to MTHexapod: 1=Camera, 2=M2 Confirmed that you can have the same dashboard open twice (e.g. in two different browser tabs or windows), each showing data for a different hexapod. Deleted the other MT hexapod dashboard, so we only have one. At NCSA: Imported a copy of the summit dashboard with the same name Tested it Deleted the old MT hexapod dashboards. So now we only have one to maintain on the summit, and I hope we can occasionally remember to duplicate it to our other sites.
Hide
Russell Owen added a comment -

Please check whether my updates to the Chronograf dashboards have fixed the problem. If they have then it is entirely due to displaying data from both hexapods in one graph and we'll have to be very careful about doing that in the future.

Show
Russell Owen added a comment - Please check whether my updates to the Chronograf dashboards have fixed the problem. If they have then it is entirely due to displaying data from both hexapods in one graph and we'll have to be very careful about doing that in the future.
Hide
Holger Drass added a comment -

Thanks Russell, yes all looks good.  It looks like it was "just" the display issue. The new dashboard solution will really help to prevent this in the future.

Show
Holger Drass added a comment - Thanks Russell, yes all looks good.  It looks like it was "just" the display issue. The new dashboard solution will really help to prevent this in the future.

#### People

Assignee:
Russell Owen
Reporter:
Holger Drass
Reviewers:
Holger Drass
Watchers:
Holger Drass, Russell Owen, Te-Wei Tsai, Tiago Ribeiro