From 2fb2a0972f04bc68e6314fa436620bc15a88d42a Mon Sep 17 00:00:00 2001 From: chrishoder Date: Sat, 2 Feb 2013 04:21:54 +0000 Subject: [PATCH 1/1] changes to communication file for rtr sweep git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1444 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETMCPCANCommunication.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/GoodFETMCPCANCommunication.py b/client/GoodFETMCPCANCommunication.py index b2d579f..3ab84b2 100644 --- a/client/GoodFETMCPCANCommunication.py +++ b/client/GoodFETMCPCANCommunication.py @@ -442,7 +442,7 @@ class GoodFETMCPCANCommunication: # id for a given amount duration. This will be repeated the number of attempts time #at the moment this is set to switch to the next id once a message is identified - def rtrSweep(self,freq,lowID,highID, attempts = 2,duration = 1, verbose = True): + def rtrSweep(self,freq,lowID,highID, attempts = 1,duration = 1, verbose = True): #set up file now = datetime.datetime.now() datestr = now.strftime("%Y%m%d") @@ -453,9 +453,10 @@ class GoodFETMCPCANCommunication: dataWriter.writerow(['# Time Error Bytes 1-13']); dataWriter.writerow(['#' + "rtr sweep from " + lowID + " to" + highID]) print "started" - self.client.serInit() - self.spitSetup(freq) + #self.client.serInit() + #self.spitSetup(freq) for i in range(lowID,highID+1, 1): + self.client.serInit() self.spitSetup(freq) standardid = [i, i, i, i] #set filters -- 2.20.1