From 66c107f65a3a9ca1e35c6341d5c4ed65c009ec77 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Fri, 14 Aug 2009 06:59:44 +0000
Subject: [PATCH] Bug #1230: Run write_diag_selftest directly using rspId list
 instead of via loop, to avoid unnecessary delays due to rspctl_write_sleep(),
 which speeds up multiple writes to different RSP in the same pps interval, as
 is now supported by the RSPDriver.

---
 StationTest/tc/serdes.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/StationTest/tc/serdes.py b/StationTest/tc/serdes.py
index 562ee2e5b79..6f22dc65e93 100644
--- a/StationTest/tc/serdes.py
+++ b/StationTest/tc/serdes.py
@@ -97,8 +97,7 @@ else:
       rsp.read_rsr(tc, msg, 'diag', [ri], 31)
 
     # Configure DIAG tst
-    for ri in rspId:
-      rsp.write_diag_selftest(tc, msg, selftest, ['rsp'], [ri], 99)
+    rsp.write_diag_selftest(tc, msg, selftest, ['rsp'], rspId, 99)
 
     tc.sleep(100)        # wait DIAG ack_period_done
 
-- 
GitLab