Write option id into driver implementation section when saving the sics_config.ini

This commit is contained in:
Ferdi Franceschini
2014-07-02 14:40:22 +10:00
parent a439601d7d
commit 7a4ce1f234
2 changed files with 62 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
[12tmagnet_oxford]
desc = "12 Tesla Oxford Magnet"
driver = "oxford_labview"
id = 1
imptype = magnetic_field
ip = 10.157.205.3
port = 55001
@@ -10,11 +11,12 @@ desc = "som will be redefined as the magnet sample insert rotation. Sample stage
imptype = motion_axis
[12tmagnet_setup]
cascade = B1:12tmagnet_oxford,sample_stage:12tmagnet_sample_insert,T1:mercury_scpi
cascade = B1:12tmagnet_oxford,sample_stage:12tmagnet_sample_insert,T1:mercury_scpi_01
enabled = False
[B1]
enabled = False
id = 1
implementation = 12tmagnet_oxford
name = magnet1
optype = magnetic_field
@@ -40,6 +42,7 @@ enabled = True
[I1]
datype = I
enabled = False
id = 1
implementation = protek_01
name = curr1
optype = multimeter
@@ -47,39 +50,45 @@ optype = multimeter
[I2]
datype = I
enabled = False
id = 2
implementation = protek_02
name = curr2
optype = multimeter
[T1]
enabled = False
implementation = mercury_scpi
id = 1
implementation = mercury_scpi_01
name = tc1
optype = temperature
[T2]
enabled = False
implementation = ls336_02
id = 2
implementation = ls340_01
name = tc2
optype = temperature
[T3]
enabled = False
implementation = ls336_04
id = 3
implementation = ls340_02
name = tc3
optype = temperature
[V1]
datype = V
enabled = False
implementation = protek_01
id = 1
implementation = none
name = volts1
optype = multimeter
[V2]
datype = V
enabled = False
implementation = protek_02
id = 2
implementation = none
name = volts2
optype = multimeter
@@ -150,6 +159,7 @@ tol2 = 1.0
[ls340_01]
desc = "tc7: Lakeshore 340 temperature controller"
driver = "lakeshore_340"
id = 2
imptype = temperature
ip = 137.157.201.86
port = 4001
@@ -160,6 +170,7 @@ tol2 = 1.0
[ls340_02]
desc = "tc8: Lakeshore 340 temperature controller"
driver = "lakeshore_340"
id = 3
imptype = temperature
ip = 137.157.201.86
port = 4002
@@ -167,14 +178,28 @@ terminator = \r\n
tol1 = 1.0
tol2 = 1.0
[mercury_scpi]
desc = "tc9: Oxford Mercury temperature controller in Mercury mode"
[mercury_scpi_01]
desc = "Oxford Mercury temperature controller in Mercury mode"
driver = "mercury_scpi"
id = 1
imptype = temperature
ip = 10.157.205.5
permlink = LT
port = 7020
terminator = \r
tol = 2.0
terminator = \r\n
tol = 1.0
valve_tol = 2
[mercury_scpi_02]
desc = "Oxford Mercury temperature controller in Mercury mode"
driver = "mercury_scpi"
imptype = temperature
ip = 10.157.205.47
permlink = LT
port = 7020
terminator = \r\n
tol = 1.0
valve_tol = 2
[normal_sample_stage]
desc = "This is the default sample stage configuration with xy translation and phi and chi tilt stages"
@@ -183,6 +208,7 @@ imptype = motion_axis
[protek_01]
desc = "Protek Multimeter"
driver = "protek"
id = 1
imptype = multimeter
ip = 10.157.205.36
port = 4001
@@ -190,6 +216,7 @@ port = 4001
[protek_02]
desc = "Protek Multimeter"
driver = "protek"
id = 2
imptype = multimeter
ip = 10.157.205.37
port = 4001