Oops, I neglected to mention the other lines that must be in the .sav file. (Don't include
---begin myData.sav--- or ---end myData.sav---)
---begin myData.sav---
# save/restore R5.0 Automatically generated - DO NOT MODIFY - 060720-154526
myWaveformPV @array@ { "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" }
<END>
---end 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 Mooney, Tim M. [[email protected]]
Sent: Monday, January 19, 2015 3:37 PM
To: Henrique Almeida; [email protected] Talk
Subject: RE: Waveform initialization
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).
- References:
- Waveform initialization Henrique Almeida
- RE: Waveform initialization Mooney, Tim M.
- Navigate by Date:
- Prev:
RE: Waveform initialization Mooney, Tim M.
- Next:
Re: sequencer release 2.1.18 Benjamin Franksen
- 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: Waveform initialization Mooney, Tim M.
- Next:
new MVME5500, device "gei0" not found tlauritsen
- 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
|