In order to standardize further the existing actuator steering servers they have been aligned to a common interface. Also several new features have been added (see also the attached screenshot):
- ActuatorEI can now also be used for the steering of stepper motors (MotorsUI is going to be decomissioned a.s.a.p)
- The state of the actuator‘s limit switches (if available) is shown
- A progress bar indicates the current advance of a requested movement
- For open-loop devices the zero position can be set, the prior value is stored at the database (history)
- Two different units are supported (default and custom)
- The last actuator position is now stored at the database, so that it is not lost when the server is restarted
- For the actuator selection now a description is used rather than just the ID
The following actuator SW packages have been installed:
ActuatorComm v0r5
ActuatorDrv v2r3
ActuatorSrv v0r24
ActuatorApp v0r20
The following LabView basic packages have been updated and installed:
LVCommon v4r4
LVTemplates v4r0
The following LabView UIs have been aligned with the new versions of the basic packages:
ActuatorEI v5r3
InjectionUI v5r0
SuspensionUI v2r0
DetectionUI v0r2
AlignmentUI v3r1 (incl. changes SPR#626)
The NAServer has been updated accordingly by R. De Rosa:
Na v1r4
Please report any strange behavior regarding the actuator steering to software support.
For precision, the actuator steering application has been tested by moving slightly the following types of actuators :
- picomotors (open and closed loop : M14v and M6v),
- translation stages (on EIB),
- piezo actuators (M16_axis_y)
After the update of the IB actuator steering applications and of the NA server, Rosario made a test concerning the Direct Beam Alignment and discovered that the "NA Beam Align x" and the "NA Beam Align y" processes cannot run anymore in parallel.
Consequently, I updated the DBA macro in order to manage the two process in series.
Moreover, since the test of the macro is not possible for the moment, meanwhile use the semi-automatic procedure in case a DBA is required (ie DBAstartup - manual action on M6 and BS - DBA restore).
The mentioned behaviour is not linked to the update performed in the actuator steering application but is an improvement at the level of NaServer to increase the reliability as confirmed by R. de Rosa.
A new version (v1r12) of the ScopeRead application has been installed on the injection supervisor.
The problem that showed up before, i.e the application stopping after a while, has been solved. It was linked to the periodical automatic reconfiguration that was not implemented in the main thread of the application. The program crashed when reading in the database, as the Db facility is not thread safe.
Now the automatic reconfiguration is carried out in the main thread and the application has become stable since then.
This morning at 8.30, the ScopeRead application could not get information from the oscilloscopes any more. A ping on the interfacing device called serialgw1 that allows the communication with these devices did not get any answer.
In the laser lab, the ethernet cable on the interfacing device was not correctly plugged. After having plugged it again in a correct way, a ping was successful but no information could be got from the oscilloscopes.
Finally, a reboot had to be done and afterwards the communication with both oscilloscopes was successful.
A new version v1r11 of ScopeRead is now available from the supervisor.
The problem that showed up in the previous version has been solved. Times to times the application stopped and the oscillospes remained stuck in the stop state. It was due to a segmentation fault that prevented the application to reset the oscilloscopes once they were triggered.
This morning some tests were performed on the last versions of the actuator servers aimed to steer picomotors, translation stages and piezos and of the suspension motor servers.
We could move both actuators and motors using new graphical interfaces updated to take in account new features and new cm message format when communicating with the server.
Nervertheless, we did not install the last version of the servers and associated graphical interfaces for two reasons :
- only translation stages could be moved today. Even if the low level part of the software dealing with hardware has not been changed, we would like in a next shift trying to move picomotors and piezos in agreement with an injection team member.
- the interface of the picomotor server has evolved, i.e the format of the cm messages it uses has changed which have an impact on NaServer that sends requests. An update of this server should be done before installing the last picomotor server version.
This morning some tests were performed on the Alp macro called IMC_Centering located in the AlpTstageCentering.cfg configuration file in th AlpISYS v1r2 package.
The goal of this macro is to carry out a centering of the IMC_QN and IMC_QF quadrants using the following error signals :
Bs_IMC_QN_DCh,
Bs_IMC_QN_DCv,
Bs_IMC_QF_DCh,
Bs_IMC_QF_DCv.
It runs during two hours, checking every 10 mn if some actions should be done on the actuators. The test was successful as all the error signals converged to 0 as it is shown in the attached plots.
This morning some tests were performed on the scoperead application to understand why both oscilloscopes remain stuck in the stop state after the application has been launched.
After some modifications, both devices could be configured and read successfully.
The next step is to let the application run a few days to check its stability, which means that the ScopeRead application under the supervisor should not be launched until the tests are complete.
A beta-version (v2r2) of the AlignmentUI has been made available for testing. It can be started from the mouse-click menu via Alignment->AlignmentUI (test). Included UIs: Linear Alignment Loops, Drift Control Loops, High-level UI with Alignment Steering UIs.
The ScopeRead application could not communicate with the second oscilloscope.
When performing the netstat command, one could see that a socket communication was established with the first oscilloscope but not with the second one.
A reboot of the ethernet serial port interfacing device has been carried out via the web server hosted by the interfacing device.
The reboot procedure is the following :
- Stop the ScopeRead application
- launch a web browser
- type http://serialgw1/index.asp
- click on reboot
- wait till the device home page turns back
- launch again the server ScopeRead
A new version v1r5 of ScopeRead which performs a readout of oscilloscopes in the laser lab when they are triggered is available from the ISYS supervisor.
The new feature is that from now an ethernet bridge is used for the communication to get more stability instead of a RS485 link . It will allow to make an assessment of this device in terms of stability and check if it fits our needs for the interfacing with serial port commucation based devices.
A short test was performed this morning to check if the picomotors position is reset when the server is turned off/on.
It turns out that the position goes back to zero in such a case even if the physical position of the actuator remains the same.
The actuator programs (for picomotors, piezos and translation stages) running under supervisor have been updated with the v0r12 version available under VirgoApp.
Servers have been relaunched successfully without changing anything in the position of actuators.
From supervisor, the v0r12 of ActuatorApp under VirgoDev is used for launching PiezoApp and PicoApp processes. For some unknown reason, ActuatorApp v0r12 was not available any more. I had to make a scvsCopy of it.
Afterwards, both servers could be relaunched successfully.
We performed some tests on the ScopeRead application that could not read data from one oscilloscope located in the laser lab.
We did not find out any problems. We just unplugged and plugged again the oscilloscope and afterwards the application could read data again.
The v0r12 version of the actuator (stages, picomotors and piezos) is now available from the supervisor.
Its main features are :
- an increased timeout of the communication with the ethernet interface
- position is not reset when a configure is performed.
- sending to the DAQ of the requested and effective position of the actuator (Bs_ActuatorName_Requested and Bs_ActuatorName_Displacement)
- the assessment of the position of the open loop picomotor relies from now on the number of pulses sent to it so that if a stop is performed, the given position should be closer to the real one.
- any change in the database will be taken in account only at startup.
The last version (v0r10p1) of the actuator steering application is now available from the supervisor.
Here are the new features :
- Position at the end of a motion sent to the Error logger
- Byte state sent to the EL
- Piezo actuator driven by voltage and not by position as the position feedback from the piezo sensors is not reliable.
Some tests were performed this morning to check that requests were correctly sent to the stages located on the suspended bench : L2z, m5z and m5x.
We followed up this procedure for each stage :
- Measurement of the reference position of the stage
- Driver switching off, operational stage replacement by the spare one and driver switching on.
- Spare stage moving
- Direction matching checking.
By reference position, we mean distance between the stage and its frame.
The results are the following :
Refence position L2z : north 13.78 mm
Spare (l2z)
ccw north
cw south
Refence position m5z : north 4.9 mm
spare (m5z)
ccw north
cw south
Refence position m5x east 9.59 mm
spare (m5x)
ccw east
cw west
We also measured the total range of the spare stage which happens to be 2326346 steps.
Some Tests were performed on the piezos server to check the following features :
- position at the end of a motion sent to the error logger
- test of the availability of a driver at initialization
This version of the server is not avaible yet from the injection supervisor.
An unusual behaviour was seen with the picomotors.
One could carry out a telnet session on the interface device but then when performing the DRT command to know the whole list of visible drivers, none was available.
It was necessary to perform a reset of all the drivers and interface set to go back to normal working condiftions.
This problem is happening for the second time, the first one being last friday.
Some instability was noticed on the M15_axis_x piezo actuator.
When having a look on the display of the associated driver, one could see that the position was always changing.
For the moment, we have switched off the driver and updated the ISYS/Actuator/PiezoSrvCfg Db structure so that only the M16 pair of piezos can be steered (version 1.11). To go back to the standard configuration, just make a commit of the 1.10 version and configure from the piezo client.
Only the M15 piezo actuators could be moved, not the M16 ones.
The problem was that M16 piezos db configuration (ISYS/Actuator/PiezoSrvCfg) was not correct as it was associating their driver to the wrong serial port.
After modification, both piezo pairs could be steered.
The picomotor M14h located on driver 12 could not be moved.
When making a telnet on the picomotor ethernet interface, one could see that only driver 1 to 7 were visible.
After making a reset of all of them, driver 1 to to 13 were available and M14h could be moved again.
The ctrl16 showed some instabilities and has rebooted itself couple of times over last weeks. Problems with piezo server yesterday evening seems due to this.
It has been decided then to sobstitute the machine with an identical one taken from the farmnXX set.
The replacement implied the installation of Icewm application, graphical setup and test of the serial connections
The Piezo steering server has ben restarted and succesfully configured. The needed client applications are running fine.
The machine need to be installed with a web browser (mozilla)
Former ctrl16 hardware will be investigated for finding source of problem.
Some quick tests have been performed on FFh translation stage that could not be moved.
Its velocity has been decreased but nothing changed.
While trying to move the device the behaviour was different from the tests done in the early afternoon with L2z, in reality almost no noise could be eared from the Translation stage.
Then the cables coming to the stages FFh and FFv were swapped and we observed no changes in the sense that still FFh could not move but FFv could. This was telling us that the problem could not be at TStage controller level.
Then the device attached to the traslation stages has been gently knocked to see if the device could be stuck (like it happen for pico in vacuum) but still the TStage could not move.
Then the 2 connectors were swapped back and then we realized that FFh could move.
Only very few motions have been performed as another activity was being carried out so the avaibility of this stage has still to be confirmed with other tries.
We had to reset the picomotor ethetnet interface.
As the last time, it is probably due to the shutdown of the ctrl16 machine on which the picomotors server is running that broke abruptly the communication.