Hey Steve,
for the Raspberry Pi I build a device support module to interact with
the I2C interface via Asyn and Stream.
https://github.com/ffeldbauer/drvAsynI2C
This package requires a little patch to streamdevice though to make
stream device aware of this asyndriver
Maybe this helps
Florian
Am 06.07.2021 um 17:48 schrieb Mark Rivers via Tech-talk:
Hi Steve,
This is a fine place to ask that question.
The I2C data could be put into a waveform record and then you can read it with caget.
Can you explain what type of device you are using with I2C and what information do you want to read or write? Sending binary data to an EPICS client like you describe is not the typical way that EPICS is used. The EPICS IOC typically converts that binary data from the device into a more human friendly format, like temperature values, etc.
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Steve Hu via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, July 6, 2021 3:34 AM
To: tech-talk at aps.anl.gov
Subject: Read I2C data with EPICS
Hello,
I started to use EPICS recently and currently I am learning to use it. I am a french student and I apologize in advance for my bad English.
I just have one question but I don't know if I am in the right place to ask so please tell me if that is the case.
For a project, my internship supervisor want me to use i2c through EPICS and my last problem is to read the data with EPICS IOC like 0x00 0x01 0x02... Is it possible to read these type of data with caget ?
I thank you in advanced for your help.
Sincerely,
Steve Hu.
--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum
Office: NB 2/134
Phone: (+49)234 / 32-23563
Fax: (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de
- References:
- Read I2C data with EPICS Steve Hu via Tech-talk
- Re: Read I2C data with EPICS Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: Read I2C data with EPICS Mark Rivers via Tech-talk
- Next:
WG: Read I2C data with EPICS Loeher, Bastian Dr. 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
2025
- Navigate by Thread:
- Prev:
Re: Read I2C data with EPICS Mark Rivers via Tech-talk
- Next:
WG: Read I2C data with EPICS Loeher, Bastian Dr. 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
2025
|