EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: CSS-Boy : trigger not firing for $(pv_name) at runtime (FIXED)
From: Amien Crombie <[email protected]>
To: "Kasemir, Kay" <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Tue, 7 Aug 2018 10:53:35 +0200

Hi Kay

I took your advice and the 'disconnected' $(mdev) reported its value as null, therefore not connecting.

Although I do change my passed macro to a valid PV, somehow the initial $(mdev) shows null.

In my 'linking' OPI, I added a local pv value of 0 to my macro

$mdev = $loc://mdev(0)

and now it works fine.

Thanks for all your valuable help.


Amien

TLABS : Cape Town (www.tlabs.ac.za)


On 08/06/18 22:54, Kasemir, Kay wrote:

>Now when I run the OPI it the WheelWidget works in my SUB, except that it displays "Disconnected" in the SUB for the macro $(mdev)

>What am I doing wrong ? If I remove the macro 'mdev' in my SUB it does not work.
No idea.

Right-click on the running wheel widget, open "Show Macros" to see if the macro indeed receives the text "Disconnected", or if the macro has an erroneous PV name, so then the widget cannot connect to that bad PV and thus shows Disconnected.

-Kay


References:
CSS-Boy : trigger not firing for $(pv_name) at runtime Amien Crombie

Navigate by Date:
Prev: Data browser web tool Vishnu Patel
Next: mrfioc2 Linux driver Steve Kinder - UKRI STFC
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CSS-Boy : trigger not firing for $(pv_name) at runtime Amien Crombie
Next: streamDevice 32-Bit ULONG endianess Martin L. Smith
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 07 Aug 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·