Experimental Physics and Industrial Control System
hi,
I want to use streamdevice to send an array of bytes to power supply controller, for example, 1024 bytes data.
so I use one soft waveform record (PS:T1) to prepare the array data, if a client such as caput or a python script write data to PS:T1, it will trigger PS:T2 in streamdevice to output data to power supply.
In PS:T2's protocol file, the out value is coming from PS:T1.
But it can't work, would you please give me some advice?
record(waveform, "PS:T1")
{
field(SCAN, "Passive")
field(DTYP, "Soft Channel")
field(NELM, "1024")
field(FTVL, "UCHAR")
field(FLNK, "$(USER):T2")
}
record(waveform, "PS:T2")
{
field(SCAN, "Passive")
field(DTYP, "stream")
field(NELM, "1024")
# field(FTVL, "UCHAR")
field(INP, "@ps.proto set_waveform $(terminal)")
}
protocol file is like following:
set_waveform {
out "%(\PS:T1)r";
# in "\?" $1 0x00 0x00 0x00 0x00;
}
Best wishes
Geyang 2015-07-07
- Navigate by Date:
- Prev:
Re: EPICS TCP server Andrew Johnson
- Next:
Re: setting NTP time sync interval on vxWorks Ralph Lange
- 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: EPICS TCP server Andrew Johnson
- Next:
Job Opening at the Australian Synchrotron Paul Martin
- 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