#!/bin/bash

# should be copied to task dir as golem.profile

source /golem/database/operation/tasks/default.profile

turn_on DAS/0311TektronixDPO3014
turn_off DAS/0314Papouch_Ja
turn_off DAS/1113Papouch_Ko
turn_off 0416RigolDS1074a
turn_off DAS/1114NIoctopus
turn_off DAS/1011NIbasic


turn_off DAS/0513NIturbo_RT
turn_off DAS/0311NIturbo
turn_off DAS/0712Papouch_Za
turn_off DAS/1011Papouch_St
turn_off DAS/0415Papouch_Ji
turn_off diagnostics/Radiation/0211FastCamera
turn_off diagnostics/Radiation/1111Spectrometer
turn_off diagnostics/Microwaves/0315Interferometer_LM
turn_on diagnostics/Microwaves/0712Interferometer
turn_off diagnostics/Radiation/1215Fluke451P
turn_on devices/IPcameraTokamakRoom

echo "
[Tektronix3014]
datapath = DAS/0311TektronixDPO3014.ON/tektronix3014
xlabel = Time [s]
ylabel = Voltage [V]
name = Tektronix 3014
status = 0
tek_ch1 = 0
tek_ch2 = 1
tek_ch3 = 2
tek_ch4 = 3

[NIstandard]
datapath = DAS/0512NIstandard.ONN/Nidatap_6133
xlabel = Time [s]
ylabel = Voltage [V]
name = NIstandard 6133
status = 1
uloop = 0
btor  = 1
irog  = 2
photo  = 6
haphoto = 7

[NIstandard6132]
datapath = DAS/0512NIstandard.ONN/Nidatap_6132
xlabel = Time [s]
ylabel = Voltage [V]
name = NIstandard 6132
status = 1


[Papouch_Ja]
datapath = DAS/0314Papouch_Za.ON/Papouch_All
xlabel = Time [s]
ylabel = Voltage [V]
name = Papouch_Ja DAS
status = 0
PapJa_ch1 = 0
PapJa_ch2 = 1
PapJa_ch3 = 2
PapJa_ch4 = 3

[Papouch_Ko]
datapath = DAS/1113Papouch_Ko.ON/Papouch_All
xlabel = Time [s]
ylabel = Voltage [V]
name = Papouch_Ja DAS
status = 0
PapKo_ch1 = 0
PapKo_ch2 = 1
PapKo_ch3 = 2
PapKo_ch4 = 3
" > /golem/includes/das_configuration.cfg
