#!/bin/bash

# should be copied to task dir as golem.profile

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

turn_on DAS/0311TektronixDPO3014
turn_on DAS/1114NIoctopus
turn_off DAS/0416RigolDS1074a
turn_off DAS/0513NIturbo_RT
turn_off DAS/0311NIturbo

turn_off DAS/0314Papouch_Ja
turn_off DAS/1113Papouch_Ko
turn_off DAS/0712Papouch_Za
turn_on DAS/1011Papouch_St
turn_off DAS/0415Papouch_Ji

turn_on diagnostics/Radiation/0211FastCamera
turn_on diagnostics/Radiation/1111Spectrometer
turn_off diagnostics/Microwaves/0315Interferometer_LM
turn_on diagnostics/Microwaves/0712Interferometer
turn_on diagnostics/Radiation/0612HXR

turn_on devices/IPcameraTokamakRoom


echo "
[Tektronix3014]
datapath = DAS/0311TektronixDPO3014.ON/tektronix3014
xlabel = Time [s]
ylabel = Voltage [V]
name = Tektronix 3014
status = 0
interfdiodeoutput = 0
secondloopvoltage = 1
interframpsign = 2
hxr = 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_St]
datapath = DAS/1011Papouch_St.ON/Papouch_All
xlabel = Time [s]
ylabel = Voltage [V]
name = Papouch_St DAS
status = 0
mirnov_1 = 0
mirnov_5 = 1
mirnov_9 = 2
mirnov_13 = 3
mirnov_saddle = 4
old_quadrupole = 5
ThL_PhD_4420 = 7
ThL_PhD_4861 = 8
ThL_PhD_5877 = 10
ThL_PhD_6560 = 11

[Papouch_Za]
datapath = DAS/0712Papouch_Za.ON/Papouch_All
xlabel = Time [s]
ylabel = Voltage [V]
name = Papouch_Za DAS
status = 0
primary_coil_fluke = 2
toroidal_coil_fluke = 1
horizont_stabilization_coil_fluke = 3
vertic_stabilization_coil_fluke = 4

[NIoctopus]
datapath = DAS/1114NIoctopus.ON/NIdata
xlabel = Time [s]
ylabel = Voltage
name = NIoctopus
status = 1
ch1 = 1


" > /golem/includes/das_configuration.cfg
