If you have autosave, you can tell it to write data from a .sav file to the waveform record.
Here's what the .sav file might look like for an 10-element array:
myWaveformPV @array@ { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" }
Here's the command that tells autosave to use the .sav file, which I'll call "myData.sav".
Put it in your st.cmd file before the iocInit command
set_pass1_restoreFile("myData.sav")
Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
________________________________________
From: [email protected] [[email protected]] on behalf of Henrique Almeida [[email protected]]
Sent: Monday, January 19, 2015 1:29 PM
To: [email protected] Talk
Subject: Waveform initialization
Hello, how can I initialize a waveform record with data ? I need to
initialize it before a sequencer starts (it is a temperature
controller PID program table).
- Replies:
- RE: Waveform initialization Mooney, Tim M.
- References:
- Waveform initialization Henrique Almeida
- Navigate by Date:
- Prev:
RE: new MVME5500, device "gei0" not found Mark Rivers
- Next:
RE: Waveform initialization Mooney, Tim M.
- 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:
Waveform initialization Henrique Almeida
- Next:
RE: Waveform initialization Mooney, Tim M.
- 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
|