@@ -508,10 +508,10 @@ private void singleChannelEveryEdge(double[] xData, double[] yData) {
508508 tempInput .add (new Entry (xaxis .get (i ), yaxis .get (i ) + 2 * currentChannel ));
509509 tempInput .add (new Entry (xaxis .get (i ), yaxis .get (i + 1 ) + 2 * currentChannel ));
510510 }
511- tempInput .add (new Entry (xaxis .get (xaxis .size () - 1 ), yaxis .get (xaxis .size () - 1 )));
512511 }
512+ tempInput .add (new Entry (xaxis .get (xaxis .size () - 1 ), yaxis .get (xaxis .size () - 1 ) + 2 * currentChannel ));
513513 } else {
514- tempInput .add (new Entry (xaxis .get (0 ), yaxis .get (0 )));
514+ tempInput .add (new Entry (xaxis .get (0 ), yaxis .get (0 ) + 2 * currentChannel ));
515515 }
516516
517517 setLineDataSet ();
@@ -801,7 +801,7 @@ protected Void doInBackground(String... params) {
801801 scienceLab .startOneChannelLA (params [0 ], digitalChannel .mode , params [0 ], 3 );
802802 delayThread (1000 );
803803 LinkedHashMap <String , Integer > data = scienceLab .getLAInitialStates ();
804- delayThread (500 );
804+ delayThread (1000 );
805805 holder = scienceLab .fetchLAChannel (channelNumber , data );
806806
807807 } catch (NullPointerException e ) {
@@ -926,9 +926,9 @@ protected final Void doInBackground(ArrayList<String>... arrayLists) {
926926 scienceLab .startTwoChannelLA (arrayLists [0 ], modes , 67 , null , null , null );
927927 delayThread (1000 );
928928 LinkedHashMap <String , Integer > data = scienceLab .getLAInitialStates ();
929- delayThread (500 );
929+ delayThread (1000 );
930930 holder1 = scienceLab .fetchLAChannel (channelNumber1 , data );
931- delayThread (500 );
931+ delayThread (1000 );
932932 holder2 = scienceLab .fetchLAChannel (channelNumber2 , data );
933933
934934 } catch (NullPointerException e ) {
@@ -1052,11 +1052,11 @@ protected final Void doInBackground(ArrayList<String>... arrayLists) {
10521052 scienceLab .startThreeChannelLA (modes , null , null );
10531053 delayThread (1000 );
10541054 LinkedHashMap <String , Integer > data = scienceLab .getLAInitialStates ();
1055- delayThread (500 );
1055+ delayThread (1000 );
10561056 holder1 = scienceLab .fetchLAChannel (channelNumber1 , data );
1057- delayThread (500 );
1057+ delayThread (1000 );
10581058 holder2 = scienceLab .fetchLAChannel (channelNumber2 , data );
1059- delayThread (500 );
1059+ delayThread (1000 );
10601060 holder3 = scienceLab .fetchLAChannel (channelNumber3 , data );
10611061
10621062 } catch (NullPointerException e ) {
@@ -1188,13 +1188,13 @@ protected Void doInBackground(ArrayList<String>... arrayLists) {
11881188 scienceLab .startFourChannelLA (null , null , modes , null , triggerChannel );
11891189 delayThread (1000 );
11901190 LinkedHashMap <String , Integer > data = scienceLab .getLAInitialStates ();
1191- delayThread (500 );
1191+ delayThread (1000 );
11921192 holder1 = scienceLab .fetchLAChannel (channelNumber1 , data );
1193- delayThread (500 );
1193+ delayThread (1000 );
11941194 holder2 = scienceLab .fetchLAChannel (channelNumber2 , data );
1195- delayThread (500 );
1195+ delayThread (1000 );
11961196 holder3 = scienceLab .fetchLAChannel (channelNumber3 , data );
1197- delayThread (500 );
1197+ delayThread (1000 );
11981198 holder4 = scienceLab .fetchLAChannel (channelNumber4 , data );
11991199
12001200 } catch (NullPointerException e ) {
0 commit comments