From c2bf1ea5d9d25270ed16a7b5fce4cc11fdc3912b Mon Sep 17 00:00:00 2001
From: jmcchesn <jmcchesn@aps.anl.gov>
Date: Thu, 6 Oct 2022 13:14:09 -0500
Subject: [PATCH] debug

---
 iexcode/instruments/diagnostics.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iexcode/instruments/diagnostics.py b/iexcode/instruments/diagnostics.py
index 692ed31..90c3ed0 100644
--- a/iexcode/instruments/diagnostics.py
+++ b/iexcode/instruments/diagnostics.py
@@ -96,7 +96,7 @@ def diagnostics_sp_read(diag_name,preset_name):
 def _diagnostics_sp_write(diag_name,preset_name,val):
     pv = _diagnostics_preset_pv(diag_name,preset_name)
     #need to make this an input question, are you sure?
-    print('caput(+'pv+'_Setpoint.VAL,'+str(val)+')'
+    print('caput('+pv+'_Setpoint.VAL,'+str(val)+')'
     
 
 ##############################################################################################################
-- 
GitLab