Skip to content
Snippets Groups Projects
Commit 2e3a8c6c authored by Lorenzo Pivetta's avatar Lorenzo Pivetta
Browse files

First import

parent 0f7d391d
Branches master
No related tags found
No related merge requests found
Showing with 1915 additions and 0 deletions
#
# Description: Set $device/$attribute with a waveform of $num_sequences steps
# Author: Sequencer Library
# Date: 02/02/2020
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
#
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(10);timeouterror=goto(10)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = read(this/Value1)) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(10)
step4;write($device/$attribute) = read(this/NewValue) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(10)
#
step6;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(7) : goto(6);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(10);timeouterror=goto(10)
step7;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+read(this/Value1))) && goto(8) : (write(this/NewValue) = read(this/Value2)) && goto(8);Calculating new value;Error calculating new value;-1;tangoerror=goto(10)
step8;write($device/$attribute) = read(this/NewValue) && goto(9);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(10)
#
#
step9;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(11) : goto(9);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(10);timeouterror=goto(10)
#
step10;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
#
step11;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(12);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;lbool;0
attr;ScalingFactor;double;0
attr;Value1;double;0
attr;Value2;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
$device=sl/piezo/hera_sl.02
$attribute=Position
$allowed_state=ON
$sleep_monitor=0.1
$settling_timeout=10
\ No newline at end of file
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 1 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(6);timeouterror=goto(6)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(6)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(6)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(7) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(6);timeouterror=goto(6)
step6;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step7;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(8);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 10 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(33)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(33)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(34) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(33);timeouterror=goto(33)
step33;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step34;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(35);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
This diff is collapsed.
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 11 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(36)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(36)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(37) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(36);timeouterror=goto(36)
step36;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step37;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(38);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 12 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(39)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(39)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(40) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(39);timeouterror=goto(39)
step39;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step40;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(41);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 13 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(42)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(42)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(43) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(42);timeouterror=goto(42)
step42;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step43;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(44);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 14 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(45)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(45)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(46) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(45);timeouterror=goto(45)
step45;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step46;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(47);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 15 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(48)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(48)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(49) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(48);timeouterror=goto(48)
step48;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step49;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(50);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 16 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(51)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(51)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(52) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(51);timeouterror=goto(51)
step51;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step52;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(53);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 17 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(54)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(54)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(55) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(54);timeouterror=goto(54)
step54;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step55;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(56);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 18 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(57)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(57)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(58) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(57);timeouterror=goto(57)
step57;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step58;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(59);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 19 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(60)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(60)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(61) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(60);timeouterror=goto(60)
step60;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step61;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(62);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 2 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(9);timeouterror=goto(9)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(9)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(9)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(9);timeouterror=goto(9)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(9)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(9)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(10) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(9);timeouterror=goto(9)
step9;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step10;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(11);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 20 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(63)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(63)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(64) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(63);timeouterror=goto(63)
step63;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step64;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(65);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 21 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(63) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step63;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value21)*read(this/ScalingFactor))) && goto(64) : (write(this/NewValue) = (read(this/Value21)*read(this/ScalingFactor))) && goto(64);Calculating new value;Error calculating new value;-1;tangoerror=goto(66)
step64;(write($device/$attribute) = read(this/NewValue)) && goto(65);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(66)
step65;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(67) : goto(65);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(66);timeouterror=goto(66)
step66;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step67;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(68);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;Value21;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 22 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(63) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step63;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value21)*read(this/ScalingFactor))) && goto(64) : (write(this/NewValue) = (read(this/Value21)*read(this/ScalingFactor))) && goto(64);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step64;(write($device/$attribute) = read(this/NewValue)) && goto(65);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step65;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(66) : goto(65);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step66;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value22)*read(this/ScalingFactor))) && goto(67) : (write(this/NewValue) = (read(this/Value22)*read(this/ScalingFactor))) && goto(67);Calculating new value;Error calculating new value;-1;tangoerror=goto(69)
step67;(write($device/$attribute) = read(this/NewValue)) && goto(68);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(69)
step68;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(70) : goto(68);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(69);timeouterror=goto(69)
step69;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step70;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(71);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;Value21;double;0
attr;Value22;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 23 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(63) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step63;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value21)*read(this/ScalingFactor))) && goto(64) : (write(this/NewValue) = (read(this/Value21)*read(this/ScalingFactor))) && goto(64);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step64;(write($device/$attribute) = read(this/NewValue)) && goto(65);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step65;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(66) : goto(65);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step66;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value22)*read(this/ScalingFactor))) && goto(67) : (write(this/NewValue) = (read(this/Value22)*read(this/ScalingFactor))) && goto(67);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step67;(write($device/$attribute) = read(this/NewValue)) && goto(68);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step68;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(69) : goto(68);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step69;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value23)*read(this/ScalingFactor))) && goto(70) : (write(this/NewValue) = (read(this/Value23)*read(this/ScalingFactor))) && goto(70);Calculating new value;Error calculating new value;-1;tangoerror=goto(72)
step70;(write($device/$attribute) = read(this/NewValue)) && goto(71);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(72)
step71;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(73) : goto(71);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(72);timeouterror=goto(72)
step72;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step73;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(74);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;Value21;double;0
attr;Value22;double;0
attr;Value23;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 24 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(63) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step63;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value21)*read(this/ScalingFactor))) && goto(64) : (write(this/NewValue) = (read(this/Value21)*read(this/ScalingFactor))) && goto(64);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step64;(write($device/$attribute) = read(this/NewValue)) && goto(65);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step65;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(66) : goto(65);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step66;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value22)*read(this/ScalingFactor))) && goto(67) : (write(this/NewValue) = (read(this/Value22)*read(this/ScalingFactor))) && goto(67);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step67;(write($device/$attribute) = read(this/NewValue)) && goto(68);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step68;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(69) : goto(68);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step69;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value23)*read(this/ScalingFactor))) && goto(70) : (write(this/NewValue) = (read(this/Value23)*read(this/ScalingFactor))) && goto(70);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step70;(write($device/$attribute) = read(this/NewValue)) && goto(71);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step71;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(72) : goto(71);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step72;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value24)*read(this/ScalingFactor))) && goto(73) : (write(this/NewValue) = (read(this/Value24)*read(this/ScalingFactor))) && goto(73);Calculating new value;Error calculating new value;-1;tangoerror=goto(75)
step73;(write($device/$attribute) = read(this/NewValue)) && goto(74);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(75)
step74;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(76) : goto(74);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(75);timeouterror=goto(75)
step75;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step76;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(77);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;Value21;double;0
attr;Value22;double;0
attr;Value23;double;0
attr;Value24;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
#
# Description: $description
# Author: Sequencer Library
# Date: 2020/02/05
#
# This sequence generates a waveform of 25 samples
#
step1;(write(this/StartValue) = read($device/$attribute)) && (write(this/NewValue) = read(this/StartValue)) && goto(2);Saving $device/$attribute starting value;Error saving $device/$attribute starting value;-1
step2;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(3) : goto(2);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step3;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value1)*read(this/ScalingFactor))) && goto(4) : (write(this/NewValue) = (read(this/Value1)*read(this/ScalingFactor))) && goto(4);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step4;(write($device/$attribute) = read(this/NewValue)) && goto(5);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step5;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(6) : goto(5);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step6;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value2)*read(this/ScalingFactor))) && goto(7) : (write(this/NewValue) = (read(this/Value2)*read(this/ScalingFactor))) && goto(7);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step7;(write($device/$attribute) = read(this/NewValue)) && goto(8);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step8;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(9) : goto(8);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step9;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value3)*read(this/ScalingFactor))) && goto(10) : (write(this/NewValue) = (read(this/Value3)*read(this/ScalingFactor))) && goto(10);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step10;(write($device/$attribute) = read(this/NewValue)) && goto(11);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step11;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(12) : goto(11);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step12;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value4)*read(this/ScalingFactor))) && goto(13) : (write(this/NewValue) = (read(this/Value4)*read(this/ScalingFactor))) && goto(13);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step13;(write($device/$attribute) = read(this/NewValue)) && goto(14);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step14;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(15) : goto(14);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step15;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value5)*read(this/ScalingFactor))) && goto(16) : (write(this/NewValue) = (read(this/Value5)*read(this/ScalingFactor))) && goto(16);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step16;(write($device/$attribute) = read(this/NewValue)) && goto(17);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step17;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(18) : goto(17);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step18;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value6)*read(this/ScalingFactor))) && goto(19) : (write(this/NewValue) = (read(this/Value6)*read(this/ScalingFactor))) && goto(19);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step19;(write($device/$attribute) = read(this/NewValue)) && goto(20);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step20;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(21) : goto(20);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step21;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value7)*read(this/ScalingFactor))) && goto(22) : (write(this/NewValue) = (read(this/Value7)*read(this/ScalingFactor))) && goto(22);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step22;(write($device/$attribute) = read(this/NewValue)) && goto(23);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step23;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(24) : goto(23);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step24;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value8)*read(this/ScalingFactor))) && goto(25) : (write(this/NewValue) = (read(this/Value8)*read(this/ScalingFactor))) && goto(25);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step25;(write($device/$attribute) = read(this/NewValue)) && goto(26);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step26;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(27) : goto(26);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step27;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value9)*read(this/ScalingFactor))) && goto(28) : (write(this/NewValue) = (read(this/Value9)*read(this/ScalingFactor))) && goto(28);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step28;(write($device/$attribute) = read(this/NewValue)) && goto(29);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step29;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(30) : goto(29);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step30;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value10)*read(this/ScalingFactor))) && goto(31) : (write(this/NewValue) = (read(this/Value10)*read(this/ScalingFactor))) && goto(31);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step31;(write($device/$attribute) = read(this/NewValue)) && goto(32);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step32;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(33) : goto(32);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step33;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value11)*read(this/ScalingFactor))) && goto(34) : (write(this/NewValue) = (read(this/Value11)*read(this/ScalingFactor))) && goto(34);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step34;(write($device/$attribute) = read(this/NewValue)) && goto(35);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step35;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(36) : goto(35);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step36;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value12)*read(this/ScalingFactor))) && goto(37) : (write(this/NewValue) = (read(this/Value12)*read(this/ScalingFactor))) && goto(37);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step37;(write($device/$attribute) = read(this/NewValue)) && goto(38);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step38;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(39) : goto(38);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step39;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value13)*read(this/ScalingFactor))) && goto(40) : (write(this/NewValue) = (read(this/Value13)*read(this/ScalingFactor))) && goto(40);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step40;(write($device/$attribute) = read(this/NewValue)) && goto(41);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step41;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(42) : goto(41);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step42;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value14)*read(this/ScalingFactor))) && goto(43) : (write(this/NewValue) = (read(this/Value14)*read(this/ScalingFactor))) && goto(43);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step43;(write($device/$attribute) = read(this/NewValue)) && goto(44);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step44;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(45) : goto(44);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step45;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value15)*read(this/ScalingFactor))) && goto(46) : (write(this/NewValue) = (read(this/Value15)*read(this/ScalingFactor))) && goto(46);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step46;(write($device/$attribute) = read(this/NewValue)) && goto(47);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step47;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(48) : goto(47);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step48;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value16)*read(this/ScalingFactor))) && goto(49) : (write(this/NewValue) = (read(this/Value16)*read(this/ScalingFactor))) && goto(49);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step49;(write($device/$attribute) = read(this/NewValue)) && goto(50);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step50;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(51) : goto(50);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step51;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value17)*read(this/ScalingFactor))) && goto(52) : (write(this/NewValue) = (read(this/Value17)*read(this/ScalingFactor))) && goto(52);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step52;(write($device/$attribute) = read(this/NewValue)) && goto(53);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step53;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(54) : goto(53);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step54;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value18)*read(this/ScalingFactor))) && goto(55) : (write(this/NewValue) = (read(this/Value18)*read(this/ScalingFactor))) && goto(55);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step55;(write($device/$attribute) = read(this/NewValue)) && goto(56);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step56;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(57) : goto(56);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step57;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value19)*read(this/ScalingFactor))) && goto(58) : (write(this/NewValue) = (read(this/Value19)*read(this/ScalingFactor))) && goto(58);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step58;(write($device/$attribute) = read(this/NewValue)) && goto(59);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step59;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(60) : goto(59);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step60;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value20)*read(this/ScalingFactor))) && goto(61) : (write(this/NewValue) = (read(this/Value20)*read(this/ScalingFactor))) && goto(61);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step61;(write($device/$attribute) = read(this/NewValue)) && goto(62);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step62;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(63) : goto(62);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step63;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value21)*read(this/ScalingFactor))) && goto(64) : (write(this/NewValue) = (read(this/Value21)*read(this/ScalingFactor))) && goto(64);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step64;(write($device/$attribute) = read(this/NewValue)) && goto(65);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step65;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(66) : goto(65);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step66;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value22)*read(this/ScalingFactor))) && goto(67) : (write(this/NewValue) = (read(this/Value22)*read(this/ScalingFactor))) && goto(67);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step67;(write($device/$attribute) = read(this/NewValue)) && goto(68);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step68;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(69) : goto(68);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step69;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value23)*read(this/ScalingFactor))) && goto(70) : (write(this/NewValue) = (read(this/Value23)*read(this/ScalingFactor))) && goto(70);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step70;(write($device/$attribute) = read(this/NewValue)) && goto(71);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step71;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(72) : goto(71);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step72;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value24)*read(this/ScalingFactor))) && goto(73) : (write(this/NewValue) = (read(this/Value24)*read(this/ScalingFactor))) && goto(73);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step73;(write($device/$attribute) = read(this/NewValue)) && goto(74);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step74;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(75) : goto(74);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step75;read(this/AbsMode) == 0 ? (write(this/NewValue) = (read(this/StartValue)+(read(this/Value25)*read(this/ScalingFactor))) && goto(76) : (write(this/NewValue) = (read(this/Value25)*read(this/ScalingFactor))) && goto(76);Calculating new value;Error calculating new value;-1;tangoerror=goto(78)
step76;(write($device/$attribute) = read(this/NewValue)) && goto(77);Setting $device/$attribute;Error setting $device/$attribute;-1;tangoerror=goto(78)
step77;sleep($sleep_monitor) && ((read($device/State) == $allowed_state) && (abs(read(this/NewValue) - read($device/$attribute)) < read(this/ErrorThrehold))) ? goto(79) : goto(77);Waiting settling time;Error waiting settling time;$settling_timeout000;tangoerror=goto(78);timeouterror=goto(78)
step78;(write($device/$attribute) = read(this/StartValue)) && goto(-1);Error, restoring StartValue and exit;Error restoring StartValue;-1
step79;(write(this/NumCycles) = (read(this/NumCycles)+1)) && ((read(this/InfiniteLoop) == 1) || (read(this/NumCycles) < read(this/MaxNumCycles))) ? goto(3) : goto(80);Checking NumCycles;Error checking NumCycles;-1
attr;AbsMode;bool;0
attr;MaxNumCycles;long;1
attr;InfiniteLoop;bool;0
attr;ScalingFactor;double;1
attr;Value1;double;0
attr;Value2;double;0
attr;Value3;double;0
attr;Value4;double;0
attr;Value5;double;0
attr;Value6;double;0
attr;Value7;double;0
attr;Value8;double;0
attr;Value9;double;0
attr;Value10;double;0
attr;Value11;double;0
attr;Value12;double;0
attr;Value13;double;0
attr;Value14;double;0
attr;Value15;double;0
attr;Value16;double;0
attr;Value17;double;0
attr;Value18;double;0
attr;Value19;double;0
attr;Value20;double;0
attr;Value21;double;0
attr;Value22;double;0
attr;Value23;double;0
attr;Value24;double;0
attr;Value25;double;0
attr;NumCycles;long;0
attr;StartValue;double;0
attr;NewValue;double;0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment