Experimental Physics and Industrial Control System
|
Hi Ralph
The tool I am writing is a simple replacement for CWget and CWput in which I could not compile their sources against base 3.15.6. This tool is used in a specific
EDM client in which I have to stick with the current setup.
And yes exactly, we are moving towards EPICS Qt instead of CSS so PVTable won’t be used, we are using BURT for the machine but it has SDDS dependencies which
we don’t use, never heard of MASAR and for CASR I can’t recall but it might not have been compiled against 3.15.6. Saving and restoring PVs is very basic, no need for such complexities by tools such as BURT.
For my question,
ca_element_count(channel_id) Did the trick. I still could not figure out how to read the individual
elements…
Best Regards,
Abdalla.
From: Ralph Lange <[email protected]>
Sent: Thursday, January 23, 2020 2:49 PM
To: EPICS Tech Talk <[email protected]>
Cc: Abdalla Ahmad <[email protected]>
Subject: Re: Read/Write waveforms using Channel Access C API
You are aware that there are a number of existing tools for reading and writing sets of PVs (PVTable in CS-Studio, MASAR, CASR, BURT and others) and you have found them not being solutions to your problem.
Hi
I am working on a tool which reads a list of PVs (some of which are waveforms) and save those PVs values for later loading them. My problem is with the waveform record, is there
a way to know the waveform’s size and read each element? The way I am reading PVs is structured where each DBR type (double, long, enum and string for now) has a struct like this:
typedef struct {
chid channel;
int status;
struct dbr_ctrl_TYPE info;
struct dbr_sts_TYPE data;
}
Best Regards,
Abdalla.
|
- Replies:
- Re: Read/Write waveforms using Channel Access C API Ralph Lange via Tech-talk
- References:
- Read/Write waveforms using Channel Access C API Abdalla Ahmad via Tech-talk
- Re: Read/Write waveforms using Channel Access C API Ralph Lange via Tech-talk
- Navigate by Date:
- Prev:
Re: Read/Write waveforms using Channel Access C API Ralph Lange via Tech-talk
- Next:
XSPRESS3 hdf5 problems John Dobbins 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: Read/Write waveforms using Channel Access C API Ralph Lange via Tech-talk
- Next:
Re: Read/Write waveforms using Channel Access C API Ralph Lange 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, 23 Jan 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|