Warning: Undefined variable $s in /var/www/public_html/osl/classes/DAO.php on line 959
NAOJ GW Elog Logbook
LOG-IN
Displaying report 1-1 of 1.
R&D (FilterCavity)
Print this report.
YuhangZhao - 16:34, Wednesday 21 October 2020 (2248)Get code to link to this report
The modification done for simulink file k1fds

Shoda and Yuhang

I found that the driving matrix of AA had large coupling last Friday. So I was thinking to make the driving matrix not seperate in pitch and yaw. It means to make the 2*2 matrix be a 2*4 matrix. For example, to control the yaw motion, there is not only signal coming from yaw but also from pitch.

Then I asked Shoda-san to modify the k1fds code. She helped me make the modification described as above.

But then, later on last Friday. By improving the driving matrix index with the separation of pitch and yaw, the pitch/yaw coupling becomes much better. So I decided by myself to modify it back.

However, after I modified it back. I found I couldn't make k1fds. The problem showed up as

gzip: stdout: Np space left on device.

make: ***[k1fds] Error 1

However, although this issue reased up, I was able to use control loops. So I didn't care about that.

Then, the day after, I found filters in foton disapeared. 

Comments related to this report
YuhangZhao - 20:24, Wednesday 21 October 2020 (2249)

It was figured out that there were two problems happened at the same time and caused this problem.

1. Instead of using 'make install-k1fds', I was using 'make install -k1fds'. By using correct command, the problem was solved.

2. One of the directory was full (/opt/rtcds/kamioka/k1/target/fb/log/old was as large as 18GB) . Then I couldn't make k1fds. By using 'sudo rm -r old', this problem was solved.

Tips:

To check if k1fds is running, command 'lsmod' could be used. After using it, if you see the name k1fds is listed on the left side in a certain column, it means k1fds is running.

To check the space used by different directory, 'du -h --max-depth=2 .' should be used.

YuhangZhao - 11:06, Thursday 22 October 2020 (2251)

Later on, I found that all the filters disappear in foton.

Eleonora checked that we have archive file in the directory '/opt/rtcds/kamioka/k1/chans/filter_archive/k1fds'. The file used in foton is '/opt/rtcds/kamioka/k1/chans/K1FDS.txt'.

Then Shoda-san helped to check them. 'ls /opt/rtcds/kamioka/k1/chans/filter_archive/k1fds -all' was used to check the date of these files. The latest archived file in that directory was found to be 'K1FDS_201021_164656.txt' However, it was also shown in the terminal that this latest file has size of 3075 (usual size is 107155). We opened the file and found that the latest archived file is actually empty. In the end, we found  'K1FDS_201017_210326.txt' should be the latest useable file.

By using 'cp /opt/rtcds/kamioka/k1/chans/filter_archive/k1fds/K1FDS_201017_210326.txt /opt/rtcds/kamioka/k1/chans/K1FDS.txt', the filters are copied to foton. Now filters also work well!