Since INJ_TRANS guardian failed to perform an injection the other day (alog 51682), we decided to do it manually using awgstream. I followed instructions by Adam.
Start time: 2019/Sep/04 19:50 UTC (that's when injection was enabled).
Actual start of the injection was tGPS~1251661857.6.
Injected waveform was prepared by Reed and committed to SVN by Adam as ${svncommon}/InjSVN/hwinj/Details/detchar/detchar-hwinj-schedule_LIGO-T1900555-PROPOSED_H1_INJECTIONS-1251586818-390.txt
What I did to enable injection and then inject:
caput H1:CAL-INJ_TRANSIENT_GAIN 1; caput H1:CAL-INJ_TINJ_TYPE 3 ; caput H1:CAL-INJ_TINJ_STATE 2
awgstream H1:CAL-INJ_TRANSIENT_EXC 16384 /ligo/svncommon/InjSVN/hwinj/Details/detchar/detchar-hwinj-schedule_LIGO-T1900555-PROPOSED_H1_INJECTIONS-1251586818-390.txt 1.0
CAL-INJ_TINJ_TYPE==[1, 2, 3, 4] means [CBC, burst, detchar, stochastic]. In this case it was already 3 but I did set to 3 anyway.
CAL_INJ_TINJ_STATE==[-1, 0, 1, 2, 3] means [stopped, idle, pending, streaming, completed]. It was 0 (idle) probably because INJ_TRANS guardian was and is in FAILURE_DURING_ACTIVE_INJECT state since the aforementioned failure, and I set it to 2 (streaming).
Adam told me that if I wanted to start injection at a specific time I could have done
awgstream H1:CAL-INJ_TRANSIENT_EXC 16384 /ligo/svncommon/InjSVN/hwinj/Details/detchar/detchar-hwinj-schedule_LIGO-T1900555-PROPOSED_H1_INJECTIONS-1251586818-390.txt 1.0 gpstime
instead.
After the injection was done, I did
caput H1:CAL-INJ_TINJ_STATE 1; caput H1:CAL-INJ_TINJ_TYPE 1; caput H1:CAL-INJ_TRANSIENT_GAIN 0
as per Adam's instructions.
It appears that the injections began 30 seconds after 19:50:00 UTC 4 Sep 2019 (1251661818), with the waveform file instead starting at 1251661848 and the first injection at 1251661858. The attached figure shows the excitation channel during this time and the first injection occuring 40 sec after the expected start time (instead of just 10). GraceDb entries have been created for these injections, available here https://gracedb.ligo.org/search/?query=Test+INJ+gpstime%3A+1251661848+..+1251662248+instruments%3A+%22H1%22&query_type=E&results_format=S These have been updated to reflect the fact that the injections were successful (HWINJOK label applied). I've also attached a CSV file containing the expected parameters of the injections. **Please note**, safety analyses should first confirm that their trigger generators detect the injections in H1:GDS-CALIB_STRAIN with the expected parameters (ie, time and frequency coincidence) before processing the auxiliary trigger set.OK, finer resolution description of what happened when.
(1251661818-1251661820)
awgstream H1:CAL-INJ_TRANSIENT_EXC 16384 /ligo/svncommon/InjSVN/hwinj/Details/detchar/detchar-hwinj-schedule_LIGO-T1900555-PROPOSED_H1_INJECTIONS-1251586818-390.txt 1.0
(Note that I didn't specify the gps time because I wanted to inject as soon as possible.)
Channel = H1:CAL-INJ_TRANSIENT_EXC
File = /ligo/svncommon/InjSVN/hwinj/Details/detchar/detchar-hwinj-schedule_LIGO-T1900555-PROPOSED_H1_INJECTIONS-1251586818-390.txt
Scale = 1.000000
Start = 1251661848.000000
(But it didn't inject anything until 1251661857.6)
I executed awgstream command at t=1251661819+-1 sec, awgstream displayed "Start = 1251661848.000000", and the actual injection didn't start until ~1251661857.6. Don't know why.