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

Subject: RE: Tech-talk Digest, Vol 9, Issue 397
From: Mark Rivers <[email protected]>
To: mujin park <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 28 Dec 2015 01:28:23 +0000
> How can i see the problem with communication with the device
> if these text are added, where can i see?

You will see them at the IOC prompt.

> 2, 9  number what is mean?

They are explained in the documentation for asyn:
http://www.aps.anl.gov/epics/modules/soft/asyn/R4-28/asynDriver.html


#define ASYN_TRACE_ERROR     0x0001
#define ASYN_TRACEIO_DEVICE  0x0002
#define ASYN_TRACEIO_FILTER  0x0004
#define ASYN_TRACEIO_DRIVER  0x0008
#define ASYN_TRACE_FLOW      0x0010
#define ASYN_TRACE_WARNING   0x0020

/* traceIO mask definitions*/
#define ASYN_TRACEIO_NODATA 0x0000
#define ASYN_TRACEIO_ASCII  0x0001
#define ASYN_TRACEIO_ESCAPE 0x0002
#define ASYN_TRACEIO_HEX    0x0004

So 2 means ASYN_TRACEIO_ESCAPE, which prints ASCII where possible and escape sequences where not.

9 means ASYN_TRACE_ERROR (1) |  ASYN_TRACEIO_DRIVER (8), which will print error messages and all of the input and output from the asyn port driver.

Mark



________________________________
From: [email protected] [[email protected]] on behalf of mujin park [[email protected]]
Sent: Sunday, December 27, 2015 7:07 PM
To: [email protected]
Subject: Re: Tech-talk Digest, Vol 9, Issue 397

Re:  Problem: nozzle exchanger Local/Remote pv value is not
      received (???)

Thank for your help

but i don't know How to detect some problem....

How can i see the problem with communication with the device

if these text are added, where can i see?

2, 9  number what is mean?


>You should enable asynTrace on the $(PORT) and $(A) to see what is actually happening with communication with the device.

>asynSetTraceIOMask($(PORT), $(A), 2)
>asynSetTraceMask($(PORT), $(A), 9)

>Mark






---------- Forwarded message ----------
From: <[email protected]<mailto:[email protected]>>
Date: 2015-12-25 3:00 GMT+09:00
Subject: Tech-talk Digest, Vol 9, Issue 397
To: [email protected]<mailto:[email protected]>


Send Tech-talk mailing list submissions to
        [email protected]<mailto:[email protected]>

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.aps.anl.gov/mailman/listinfo/tech-talk
or, via email, send a message with subject or body 'help' to
        [email protected]<mailto:[email protected]>

You can reach the person managing the list at
        [email protected]<mailto:[email protected]>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tech-talk digest..."


Today's Topics:

   1. Re: EPICS synApps installation ERROR. Please, Help me.
      (Pete Jemian)
   2. Re: EPICS synApps installation ERROR. Please, Help me.
      (Mark Engbretson)
   3. Problem: nozzle exchanger Local/Remote pv value is not
      received (???)
   4. Re: Problem: nozzle exchanger Local/Remote pv value is not
      received (Mark Rivers)
   5. APS Shutdown and Network Maintenance (Johnson, Andrew N.)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Dec 2015 12:00:21 -0600
From: Pete Jemian <[email protected]<mailto:[email protected]>>
To: <[email protected]<mailto:[email protected]>>
Subject: Re: EPICS synApps installation ERROR. Please, Help me.
Message-ID: <[email protected]<[email protected]">mailto:[email protected]>>
Content-Type: text/plain; charset="utf-8"; format=flowed

The synApps has a different build structure than the EPICS extensions.

If synApps is installed in the extensions/src directory, it is not
likely to be built at all.

The README file at the base of the synApps directory structure
(https://github.com/EPICS-synApps/support/blob/master/README) has build
instructions.

Which synApps version are you installing?
Did you get it from a .tar.gz file or from a source code repository?
Can you send the complete output from your gmake command?

Pete

On 12/22/2015 8:06 PM, [email protected]<mailto:[email protected]> wrote:
> hello.
>
> Pleas, Help me.
>
> I have some questions about EPICS installation.
>
> I use "fedora 20" with "Cinnamon desktop". User name is "cha"
>
> I installed the synApp in extensions directory and everything is fine
> (no any error come out from gmake).
>
> But when i check the file in extensions directory, The gmake did not
> build the "lib" directory.
>
> I am not sure why is happened, If you a a time and have some
> suggestions please would you let  me know???
>
> The extensions folder contains: bin, configure, html, Makefile,  README,
> and src
> But, no have "lib".
>
> I totally 10 time format and install again. again again.
>
> what's problems? please, help me
>
> Thanks.
>
> Cha
>

--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                <[email protected]<mailto:[email protected]>>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source,   Argonne National Laboratory
Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
    Education is the one thing for which people
       are willing to pay yet not receive.
-----------------------------------------------------------




------------------------------

Message: 2
Date: Wed, 23 Dec 2015 14:41:33 -0600
From: Mark Engbretson <[email protected]<mailto:[email protected]>>
To: Pete Jemian <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: EPICS synApps installation ERROR. Please, Help me.
Message-ID: <[email protected]<[email protected]">mailto:[email protected]>>
Content-Type: text/plain;       charset=us-ascii

Synapps is also NOT a single product. It is a grouping of different modules so any bin and lib files would be under the actual product directory, not in any sort of master bin, include, or lib files. This is because versions of everything change a lot, so would be harder to know exactly what you are building against if you had multiple versions.






On Dec 23, 2015, at 12:00, Pete Jemian <[email protected]<mailto:[email protected]>> wrote:

The synApps has a different build structure than the EPICS extensions.

If synApps is installed in the extensions/src directory, it is not likely to be built at all.

The README file at the base of the synApps directory structure (https://github.com/EPICS-synApps/support/blob/master/README) has build instructions.

Which synApps version are you installing?
Did you get it from a .tar.gz file or from a source code repository?
Can you send the complete output from your gmake command?

Pete

> On 12/22/2015 8:06 PM, [email protected]<mailto:[email protected]> wrote:
> hello.
>
> Pleas, Help me.
>
> I have some questions about EPICS installation.
>
> I use "fedora 20" with "Cinnamon desktop". User name is "cha"
>
> I installed the synApp in extensions directory and everything is fine
> (no any error come out from gmake).
>
> But when i check the file in extensions directory, The gmake did not
> build the "lib" directory.
>
> I am not sure why is happened, If you a a time and have some
> suggestions please would you let  me know???
>
> The extensions folder contains: bin, configure, html, Makefile,  README,
> and src
> But, no have "lib".
>
> I totally 10 time format and install again. again again.
>
> what's problems? please, help me
>
> Thanks.
>
> Cha

--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                <[email protected]<mailto:[email protected]>>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source,   Argonne National Laboratory
Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
  Education is the one thing for which people
     are willing to pay yet not receive.
-----------------------------------------------------------





------------------------------

Message: 3
Date: Thu, 24 Dec 2015 14:14:27 +0900 (KST)
From: ??? <[email protected]<mailto:[email protected]>>
To: [email protected]<mailto:[email protected]>
Subject: Problem: nozzle exchanger Local/Remote pv value is not
        received
Message-ID: <[email protected]<[email protected]">mailto:[email protected]>>
Content-Type: text/plain; charset="utf-8"

 Hello..

i'm reparing the ioc of Nozzle Exchanger.

Now, pv value (Local/Remote) is viewing in medm... but this is decoy... i think it is default value.
when i switch Remote/Local S/W in Nozzle Exchanger, pv value in medm is not changed.

this pv value is a valuable data?
 i know "st.cmd" deamon is ioc deamon. so i stoped "st.cmd" deamon.
and i see all of pv value in medm is blanked. and i started "st.cmd" so, i see all of py value is displayed (but these value is not correct)

and i updated .db of device and i restart ioc deamon
i add the pv object in medm. and i see the  default value of added pv in medm

is this situation correct?

somthing is missed..

-----------------------------------------------------------------
devNozzleExchange.db
-------------------------------------------------------------------
record(bi, "$(P)$(D):GetRemoteSta")
{
    field(DESC, "Local/Remote Status")
    field(DTYP, "stream")
    field(INP,  "@devNozzleExchange.proto GetRemoteSta $(PORT) $(A)")
    field(ZNAM, "Local")
    field(ONAM, "Remote")
    field(SCAN, ".2 second")
    field(FLNK, "$(P)$(D):GetCryoSolSta")
}
...
-----------------------------------------------------------------------
-----------------------------------------------------------------------
devNozzleExchage.proto
-----------------------------------------------------------------------
@writetimeout { disconnect; }
@replytimeout { disconnect; }
@readtimeout  { disconnect; }
@mismatch     { disconnect; }

ReplyTimeout = 1200;
InTerminator = "\r\n";
OutTerminator = "\r\n";

#
# Measure current
#
GetRemoteSta {
    out "!50SWS";
    in "?50%1d";
    ExtraInput = Ignore;
}
GetCryoSolSta {
    out "!51SOL";
    in "?51%1d%*2d";
    ExtraInput = Ignore;
}
.....-----------------------------------------------------------------------------this is code...



???????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20151224/e72423b4/attachment.html>

------------------------------

Message: 4
Date: Thu, 24 Dec 2015 15:06:15 +0000
From: Mark Rivers <[email protected]<mailto:[email protected]>>
To: ??? <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: Problem: nozzle exchanger Local/Remote pv value is not
        received
Message-ID: <[email protected]<[email protected]">mailto:[email protected]>>
Content-Type: text/plain; charset="ks_c_5601-1987"

You should enable asynTrace on the $(PORT) and $(A) to see what is actually happening with communication with the device.

asynSetTraceIOMask($(PORT), $(A), 2)
asynSetTraceMask($(PORT), $(A), 9)

Mark


Sent from my iPhone







On Dec 24, 2015, at 3:13 AM, ??? <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote:


Hello..



i'm reparing the ioc of Nozzle Exchanger.



Now, pv value (Local/Remote) is viewing in medm... but this is decoy... i think it is default value.

when i switch Remote/Local S/W in Nozzle Exchanger, pv value in medm is not changed.



this pv value is a valuable data?

 i know "st.cmd" deamon is ioc deamon. so i stoped "st.cmd" deamon.

and i see all of pv value in medm is blanked. and i started "st.cmd" so, i see all of py value is displayed (but these value is not correct)



and i updated .db of device and i restart ioc deamon

i add the pv object in medm. and i see the  default value of added pv in medm



is this situation correct?



somthing is missed..



-----------------------------------------------------------------

devNozzleExchange.db

-------------------------------------------------------------------

record(bi, "$(P)$(D):GetRemoteSta")

{

    field(DESC, "Local/Remote Status")

    field(DTYP, "stream")

    field(INP,  "@devNozzleExchange.proto GetRemoteSta $(PORT) $(A)")

    field(ZNAM, "Local")

    field(ONAM, "Remote")

    field(SCAN, ".2 second")

    field(FLNK, "$(P)$(D):GetCryoSolSta")

}

...

-----------------------------------------------------------------------

-----------------------------------------------------------------------

devNozzleExchage.proto

-----------------------------------------------------------------------

@writetimeout { disconnect; }

@replytimeout { disconnect; }

@readtimeout  { disconnect; }

@mismatch     { disconnect; }



ReplyTimeout = 1200;

InTerminator = "\r\n";

OutTerminator = "\r\n";



#

# Measure current

#

GetRemoteSta {

    out "!50SWS";

    in "?50%1d";

    ExtraInput = Ignore;

}

GetCryoSolSta {

    out "!51SOL";

    in "?51%1d%*2d";

    ExtraInput = Ignore;

}

.....
-----------------------------------------------------------------------------

this is code...







?????

[???]<http://blog.naver.com/pmjzzang78.do>      ??<http://blog.naver.com/pmjzzang78.do>
<http://blog.naver.com/pmjzzang78.do>
[http://mail.naver.com/readReceipt/notify/?img=bdRCDNG8WBgZhAn%2FFr%2B5FzJSM4K9MouXFzuZKrpCKqgwFzkvKxi4p6FCazEdpvIo%2BrkSKoU5W4d5W4C5bX0q%2BzkR74FTWx%2Fs%2Bzko1V9dM6wOtzJmbZlCW4m5prer.gif]


-----------------------------------------------------------------------------


------------------------------

Message: 5
Date: Thu, 24 Dec 2015 16:49:38 +0000
From: "Johnson, Andrew N." <[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: APS Shutdown and Network Maintenance
Message-ID: <[email protected]<[email protected]">mailto:[email protected]>>
Content-Type: text/plain; charset="us-ascii"

Users of tech-talk and the EPICS website are warned that this mailing list and the website are likely to be affected by the maintenance work that our IT group will be performing on the APS network and servers over the next week or two after Christmas. Email sent to tech-talk while the servers are down should be queued up for eventual delivery, so please don't re-send any messages that don't appear to get through unless you get a final notice from the postmaster that your message cannot be delivered. Things should be mostly back to normal by January 4th when Argonne re-opens, although short-term outages could still occur after that date.

Wishing everyone an enjoyable holiday season.

- Andrew

--
Sent from my iPad


------------------------------

_______________________________________________
Tech-talk mailing list [email protected]<mailto:[email protected]>
https://mailman.aps.anl.gov/mailman/listinfo/tech-talk


End of Tech-talk Digest, Vol 9, Issue 397
*****************************************



References:
Re: Tech-talk Digest, Vol 9, Issue 397 mujin park

Navigate by Date:
Prev: Re: Tech-talk Digest, Vol 9, Issue 397 mujin park
Next: Nozzle Exchange Command Error... mujin park
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Tech-talk Digest, Vol 9, Issue 397 mujin park
Next: Nozzle Exchange Command Error... mujin park
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 28 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·