From 8c33e6af5562d702cbe477aa359f1c238bdaae24 Mon Sep 17 00:00:00 2001 From: e11218 Date: Thu, 23 Apr 2015 10:45:55 +0200 Subject: [PATCH] Script execution --- script/tomography-scan.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/tomography-scan.py b/script/tomography-scan.py index 195e123..06109ac 100644 --- a/script/tomography-scan.py +++ b/script/tomography-scan.py @@ -2150,15 +2150,15 @@ while (1): # Wrap it in an ElementTree instance, and save as XML tree=ET.ElementTree(sample) tree.write(databaseFile) - chCCDCAM_FILENAME.putWait(filePrefix + "\0",req_type=ca.DBF_CHAR) - chCCDCAM_FILEPATH.putWait(folderName,req_type=ca.DBF_CHAR) + chCCDCAM_FILENAME.putWait(str(filePrefix) + "\0",req_type=ca.DBF_CHAR) + chCCDCAM_FILEPATH.putWait(str(folderName),req_type=ca.DBF_CHAR) filepathSevr=chCCDCAM_FILEPATHSEVR.getw() filepathStat=chCCDCAM_FILEPATHSTAT.getw() while filepathSevr!=0 or filepathStat!=0: print "I am setting the filepath again" print filepathSevr print filepathStat - chCCDCAM_FILEPATH.putWait(folderName,req_type=ca.DBF_CHAR) + chCCDCAM_FILEPATH.putWait(str(folderName),req_type=ca.DBF_CHAR) filepathSevr=chCCDCAM_FILEPATHSEVR.getw() filepathStat=chCCDCAM_FILEPATHSTAT.getw()