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.