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  <20142015  2016  2017  2018  2019  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Sequencer is not monitoring Pvs from another IOC
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Fri, 7 Mar 2014 14:51:05 +0100
Hi Ganesh

On Thursday, March 06, 2014 23:10:03 Ganesh Jangir wrote:
>  Here is the output of seqChanShow and  epicsPrtEnvParams for both
> IOC( both running on single machine). No access/security is
> configured for PV. All are as per default.
>
>
> epics> seqChanShow
> No sequencer task specified.
> Program Name        Thread ID           Thread Name         SS Name
> ------------        ---------           -----------         -------
> c                   0x1962340           c
> ss1                0x7ff754036b50      c_1                 ss2
> 0x7ff754036db0      c_2                 ss3
>
> ______________________________________________________________________
> ____________
>
> epics> seqChanShow
> No sequencer task specified.
> Program Name        Thread ID           Thread Name         SS Name
> ------------        ---------           -----------         -------
> cmc                 0x205e7d0             cmc
> ss1                0x7f1914036d90      cmc_1               ss2
> 0x7f1914036ff0        cmc_2               ss3 epics>
> ______________________________________________________________________
> ____________
>

The idea was that you call seqChanShow with the thread id for the
program that does not get the event you think it should get. The above
table is printed when the thread id argument is absent (or not the
thread id of a running program instance); it is there to help you to
chose a correct thread id (second column).

The sequencer's shell commands (of which seqChanShow is one) are
documented at http://www-
csr.bessy.de/control/SoftDist/sequencer/Reference.html#shell-commands

Cheers
Ben

> epics> epicsPrtEnvParams
> EPICS_AR_PORT: 7002
> EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
> EPICS_CAS_BEACON_ADDR_LIST is undefined
> EPICS_CAS_BEACON_PERIOD is undefined
> EPICS_CAS_BEACON_PORT is undefined
> EPICS_CAS_IGNORE_ADDR_LIST is undefined
> EPICS_CAS_INTF_ADDR_LIST is undefined
> EPICS_CAS_SERVER_PORT is undefined
> EPICS_CA_ADDR_LIST: 192.168.8.5 192.168.8.4 192.168.8.3 192.168.8.2
> localhost EPICS_CA_AUTO_ADDR_LIST: NO
> EPICS_CA_BEACON_PERIOD: 15.0
> EPICS_CA_CONN_TMO: 30.0
> EPICS_CA_MAX_ARRAY_BYTES: 16665
> EPICS_CA_MAX_SEARCH_PERIOD: 300.0
> EPICS_CA_NAME_SERVERS is undefined
> EPICS_CA_REPEATER_PORT: 5065
> EPICS_CA_SERVER_PORT: 5064
> EPICS_CMD_PROTO_PORT is undefined
> EPICS_IOC_LOG_FILE_COMMAND is undefined
> EPICS_IOC_LOG_FILE_LIMIT: 1000000
> EPICS_IOC_LOG_FILE_NAME is undefined
> EPICS_IOC_LOG_INET is undefined
> EPICS_IOC_LOG_PORT: 7004
> EPICS_TIMEZONE: CUS::360:031302:110602
> EPICS_TS_NTP_INET is undefined
> IOCSH_HISTSIZE: 50
> IOCSH_PS1: epics>
> epics>
> ----------------------------------------------------------------------
> -------------
>
> epics> epicsPrtEnvParam
> Command epicsPrtEnvParam not found.
> epics> epicsPrtEnvParams
> EPICS_AR_PORT: 7002
> EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
> EPICS_CAS_BEACON_ADDR_LIST is undefined
> EPICS_CAS_BEACON_PERIOD is undefined
> EPICS_CAS_BEACON_PORT is undefined
> EPICS_CAS_IGNORE_ADDR_LIST is undefined
> EPICS_CAS_INTF_ADDR_LIST is undefined
> EPICS_CAS_SERVER_PORT is undefined
> EPICS_CA_ADDR_LIST: 192.168.8.5 192.168.8.4 192.168.8.3 192.168.8.2
> localhost EPICS_CA_AUTO_ADDR_LIST: NO
> EPICS_CA_BEACON_PERIOD: 15.0
> EPICS_CA_CONN_TMO: 30.0
> EPICS_CA_MAX_ARRAY_BYTES: 16665
> EPICS_CA_MAX_SEARCH_PERIOD: 300.0
> EPICS_CA_NAME_SERVERS is undefined
> EPICS_CA_REPEATER_PORT: 5065
> EPICS_CA_SERVER_PORT: 5064
> EPICS_CMD_PROTO_PORT is undefined
> EPICS_IOC_LOG_FILE_COMMAND is undefined
> EPICS_IOC_LOG_FILE_LIMIT: 1000000
> EPICS_IOC_LOG_FILE_NAME is undefined
> EPICS_IOC_LOG_INET is undefined
> EPICS_IOC_LOG_PORT: 7004
> EPICS_TIMEZONE: CUS::360:031302:110602
> EPICS_TS_NTP_INET is undefined
> IOCSH_HISTSIZE: 50
> IOCSH_PS1: epics>
> epics>
> ----------------------------------------------------------------------
> ---------------------------------
>
>
> Thanks and Regards
>
> Ganesh
>
>
>
> -----Mark Rivers  wrote: -----
> To: Ganesh Jangir <[email protected]>,
> "[email protected]"	<[email protected]>, "[email protected]"
> <[email protected]> From: Mark Rivers <[email protected]>
> Date: 03/06/2014 08:10PM
> Subject: RE: Sequencer is not monitoring Pvs from another IOC
>
> In each IOC can you send the output of the command  epicsPrtEnvParams
> Mark  ________________________________ From:
> [email protected] [[email protected]] on
> behalf of Ganesh Jangir [[email protected]] Sent: Thursday, March
> 06, 2014 8:37 AM To: [email protected]; [email protected] Subject:
> Re: Sequencer is not monitoring Pvs from another IOC   Hi Pierrick,
> Benjamin  Thanks for the mail. I made an clean ioc using
> makeBaseApp.pl -t ioc <name> , makeBaseApp.pl -i -t ioc <name> .
> Added Db files and Sequencer files followed by successful make.  I am
> using Epics base-3.14.12.3 Sequencer seq-2.1.16 OS: Linux Fedora 19
> 64bit  I am not using [X] procServ. Here is the environment
> variables.  #############declaring the EPICS environment
> LOCALLY############################# export [X]
> EPICS_ROOT=/home/[X]ganesh/epics export [X]
> EPICS_HOST_ARCH=[X]linux-x86_64 export [X]
> EPICS_BASE=$[X]EPICS_ROOT/[X]base-3.14.12.3 export [X]
> EPICS_EXTENSIONS=$[X]EPICS_ROOT/extensions export [X]
> EPICS_CA_ADDR_LIST="192.168.8.2 192.168.8.3 192.168.8.4 192.168.8.5"
> export [X] MOTIF_LIB=/[X]usr/[X]lib64/  export [X]
> SEQ=$[X]EPICS_ROOT/extensions/[X]seq-2.1.16  export
> PATH=/[X]sbin:/bin:/[X]usr/[X]sbin:/[X]usr/bin:$file:$[X]EPICS_ROOT/[
> X]base-3.14.12.3/bin/[X]linux-x86_64:/bin/[X]linux-x86_64 export [X]
> LD_LIBRARY_PATH=$[X]LD_LIBRARY_PATH:$[X]EPICS_BASE/lib/$[X]EPICS_HOST
> _ARCH:$[X]EPICS_EXTENSIONS/lib/$[X]EPICS_HOST_ARCH
> #####################################################################
> #######  -----[X]Pierrick [X] Hanlet wrote: ----- To: [X] Ganesh [X]
> Jangir <[email protected]> From: [X] Pierrick [X] Hanlet
> <[email protected]> Date: 03/06/2014 07:13PM Subject: Re: [X] Sequencer
> is not monitoring [X] Pvs from another [X] IOC  Hi [X] Ganesh, In
> order to get an answer from the experts, you will likely need to
> provide more information; namely, version number of the software, the
> hardware configurations of the [X] IOCs, operating system([X]s), etc.
>  For example, one [X] IOC may be in a [X] VME crate and another [X]
> IOC run from a [X]linux [X] pc; then you would have to be certain to
> set the environment variables correctly, particularly [X]
> EPICS_CA_ADDR_LIST.  Are you running these [X] IOCs from [X]
> procServ?  I'm asking because I have a similar issue. Cheers,
> [X]Pierrick   On 03/06/2014 01:23 PM, [X] Ganesh [X] Jangir wrote:
> Dear All,  [X]Sequencer in one [X] IOC, is not able to monitor, [X]
> PV from another [X] IOC on the same network. However these [X] PVs
> are accessible by [X] caget and [X] camonitor on both machines.
> [X]____Here is what I am
> doing.____________________________________________________  Machine
> 1, [X] IOC1.  [X]DB_1.db has  record(waveform, "[X]CMD_FIELD") {
> field([X]DESC, "command")     field([X]NELM, 16000)
> field([X]FTVL, CHAR)  }  [X]SEQ1.stt Updated above [X] PV
> successfully.
> -----------------------------------------------------------   Machine
> 2 [X] IOC2  [X]SEQ2.stt has  char [X] CMD_[16000]; assign [X] CMD to
> "[X]CMD_FIELD"; monitor [X] CMD; [X]evflag [X] cmdDFlag; sync [X] CMD
> [X] cmdDFlag;   But not able to access the [X] PV. It works only when
> I am creating this [X] PV in [X] IOC2.   Please help.   Thanks and
> Regards  [X]Ganesh  =====-----=====-----===== Notice: The information
> contained in this e-mail message and/or attachments to it may contain
> confidential or privileged information. If you are not the intended
> recipient, any dissemination, use, review, distribution, printing or
> copying of the information contained in this e-mail message and/or
> attachments to it are strictly prohibited. If you have received this
> communication in error, please notify us by reply e-mail or telephone
> and immediately and permanently delete the message and any
> attachments. Thank you  -- "Whether you think you can or think you
> can't, either way, you are correct" -- Henry Ford
> _______________________________________________________________
> [X]Pierrick [X] Hanlet [X]IIT/[X]Fermilab +44-(0)1235-44-5550
> ([X]RAL) +1-630-840-5555 ([X]FNAL) +1-312-567-5745 ([X]IIT)
> +1-630-697-8758/+44-(0)79-48-860-197 (US/UK mobile)
--
"Make it so they have to reboot after every typo." ― Scott Adams

Attachment: signature.asc
Description: This is a digitally signed message part.


References:
RE: Sequencer is not monitoring Pvs from another IOC Mark Rivers
Re: Sequencer is not monitoring Pvs from another IOC Ganesh Jangir
RE: Sequencer is not monitoring Pvs from another IOC Ganesh Jangir

Navigate by Date:
Prev: RE: MAXv model-3 driver - omsMAXvConfig problem Mark Rivers
Next: RE: MAXv model-3 driver - omsMAXvConfig problem austen.rose
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Sequencer is not monitoring Pvs from another IOC Kasemir, Kay
Next: Question on Autosave Westfall, Michael D
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·