Difference between revisions of "UserControl"

From Ug11bm
Jump to navigationJump to search
(Created page with 'UserControl Icon')
 
Line 1: Line 1:
[[image:usercontrolicon_large.png|UserControl Icon]]
UserControl is launched from the UserToolBar by clicking on the icon [[image:usercontrolicon_large.png|UserControl Icon]]
 
 
== Tasks  ==
 
=== ''Command'' Functions ===
 
def SetUserControlTemp(device):   
    if device == 0:
        devicename = "Custom User Value" # returns whatever is in the 11bmb:userHolder5.VAL PV field
    if device == 1:
        devicename = "Ambient"
    if device == 2:
        devicename = "N2 Cryostream (static)"
    if device == 3:
        devicename = "N2 cryostream (autoload)"
    if device == 4:
        devicename = "Hot Air Blower"
    if device == 5:
        devicename = "Helium Cryostat"
    if device == 6:
        devicename = "Omega Thermocouple Meter"

Revision as of 14:57, 7 July 2011

UserControl is launched from the UserToolBar by clicking on the icon UserControl Icon


Tasks

Command Functions

def SetUserControlTemp(device):    
   if device == 0:
       devicename = "Custom User Value" # returns whatever is in the 11bmb:userHolder5.VAL PV field
   if device == 1:
       devicename = "Ambient"
   if device == 2:
       devicename = "N2 Cryostream (static)"
   if device == 3:
       devicename = "N2 cryostream (autoload)"
   if device == 4:
       devicename = "Hot Air Blower"
   if device == 5:
       devicename = "Helium Cryostat"
   if device == 6:
       devicename = "Omega Thermocouple Meter"