EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: GPIB: To FLNK or Not to FLNK
From: Ned Arnold <[email protected]>
To: [email protected], [email protected]
Date: Tue, 13 Feb 2001 07:58:02 -0600 (CST)
 
> Fold 2:
> I want the functionality to turn on or off LNK's. I believe this could
> be implemented with the SELM = MASK field in the sequence record.
> 
> 
> Any hints on how to implement this?
> Much obliged.
> 
> -Mathew Rippa
> 	~Joint Astronomy Centre


Here is my "standard" approach. (I sometimes use a calc record instead of the
mbbo record if other PVs are involved in determining which links I want 
processed) ...

# The following record controls how the xxx:SelectCamC sequence records work
# If VMUX only, xxx:SelectCamC only changes the video muxes
# If VMUX+Actuator, xxx:SelectCamC removes all actuators, inserts the
# desired one, turns on the camera, and selects the video muxes
        record(mbbo,"LI:SelectCamModeC") {
                field(PINI,"YES")
                field(DTYP,"Raw Soft Channel")
                field(DOL,"0")
                field(ZRVL,"0xf")
                field(ONVL,"0xff")
                field(ZRST,"VMUX only")
                field(ONST,"VMUX+Actuator")
        }
        record(seq,"LI:FL:FS1:CID:SelectCamC";) {
                field(DESC,"LI Screen #1")
                field(SELM,"Mask")
                field(SELL,"LI:SelectCamModeC.RVAL NPP NMS")
                field(DLY1,"0")
                field(DOL1,"0")
                field(LNK1,"LI:VD1:MUX:mcr1SelectGrp1C.VAL PP NMS")
                field(DLY2,"0")
                field(DOL2,"0")
                field(LNK2,"LI:VD1:MUX:mv20SelectGrp1C.VAL PP NMS")
                field(DLY5,"0")
                field(DOL5,"0")
                field(LNK5,"LI:upstreamScreensOutSQ.VAL PP NMS")
                field(DLY6,"1.0")
                field(DOL6,"1")
                field(LNK6,"LI:FL:FS1:Act1InC.VAL PP NMS")
                field(DLY7,"0")
                field(DOL7,"1")
                field(LNK7,"LI:FL:FS1:CameraOnC.VAL PP NMS")
        }



Hope this helps ...

	Ned
	



Navigate by Date:
Prev: GPIB: To FLNK or Not to FLNK Mathew Rippa
Next: dm won't load gif Ian Smith
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025 
Navigate by Thread:
Prev: GPIB: To FLNK or Not to FLNK Mathew Rippa
Next: dm won't load gif Ian Smith
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025