From bddaaf23fbfec15e655b5809ae6432e1581bd291 Mon Sep 17 00:00:00 2001
From: jmcchesn <jmcchesn@anl.gov>
Date: Wed, 31 Aug 2022 16:05:51 +0000
Subject: [PATCH] Update iexcode/instruments/cameras.py

---
 iexcode/instruments/cameras.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iexcode/instruments/cameras.py b/iexcode/instruments/cameras.py
index 579ca3e..c41d35c 100644
--- a/iexcode/instruments/cameras.py
+++ b/iexcode/instruments/cameras.py
@@ -33,7 +33,7 @@ def _enable_endstation_cameras(unused_off=True):
     unused_off=True turns off other cameras
 
     """
-    endstation=iex.BL.endstation
+    endstation=iex.BL.endstation_name
 
     #For new endstation modify here:
     cam_dict={'ARPES':[0,1,2],'Kappa':[3,4,6]}  # index of cam_list 
@@ -116,4 +116,4 @@ def cam_done(cam_num):
     """
     ADtype='TIFF'
     ADplugin = _pv_dictionary()[cam_num]+ADtype+":"
-    AD_Done(ADplugin,**kwargs)
\ No newline at end of file
+    AD_Done(ADplugin,**kwargs)
-- 
GitLab