Experimental Physics and Industrial Control System
|
StreamDevice is locking only for the duration of one protocol. So If you have protocols which send only the commands and do not wait for a reply but read the replies with separate I/O Int records, locking would not apply.
StreamDevice has the %=... feature to compare incoming data with a given value. Thus if you have the unique ID in some record, you could do something like { in "%(unique_ID_record)=d %f"; } (assuming decimal ID) in the I/O Intr records
which should filter the reply with the matching ID.
I am not sure about performance though.
Dirk
Von: Tech-talk <tech-talk-bounces at aps.anl.gov>
Im Auftrag von Ralph Lange via Tech-talk
Gesendet: Montag, 26. Oktober 2020 18:03
An: EPICS Tech Talk <tech-talk at aps.anl.gov>
Betreff: Re: [EXTERNAL] Experiences using RS-485 Multi-Drop with StreamDevice?
Thanks a lot Matt,
That unique ID is in addition to the RS-485 address, like a transaction counter.
It looks like any single controller can cope with multiple commands being received at high speed, and will send the responses in some (any) order, using the unique ID from the respective command in the replies for the master to tell them
apart.
This "parallel" mode probably does not apply as StreamDevice/Asyn is serializing the protocols and waits for the response before sending the next request.
|
- References:
- Experiences using RS-485 Multi-Drop with StreamDevice? Ralph Lange via Tech-talk
- RE: [EXTERNAL] Experiences using RS-485 Multi-Drop with StreamDevice? Pearson, Matthew R. via Tech-talk
- Re: [EXTERNAL] Experiences using RS-485 Multi-Drop with StreamDevice? Ralph Lange via Tech-talk
- Navigate by Date:
- Prev:
Re: ADDexala build error John Dobbins via Tech-talk
- Next:
RE: AsynPortDriver separate thread causes Segmentation fault with "dbGetLinkValue" error message Mark Rivers via Tech-talk
- 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
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: [EXTERNAL] Experiences using RS-485 Multi-Drop with StreamDevice? Ralph Lange via Tech-talk
- Next:
Read PV value Attributes XML Douglas Araujo via Tech-talk
- 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
2018
2019
<2020>
2021
2022
2023
2024
|
ANJ, 03 Nov 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|