Experimental Physics and Industrial Control System
|
I had a similar problem with exponential
inputs and read the value into a drvAsciii stringin record linked to a soft
analog input record. For the output problem (all of the devices we have
tried so far just ignore extra zeros) you could use a soft analog output record
linked to an sCalcout Record (String Calcout Record) or a genSub Record to
format the string, linked to a drvAscii stringOut Record.
Rodney Porter
Scientific Associate - Data Acquisition
Intense Pulsed Neutron Source Division
Argonne National Laboratory
-----Original Message-----
From: Lifang Zheng
[mailto:[email protected]]
Sent: Thursday, July
10, 2003 3:04 AM
To: EPICS tech-talk
Subject: the command formats in
RS232
We are developing 100MeV LINAC vacuum control system
through RS232 serial. The hardware has a VIPC616 carrier and an IP-Octal-232. The software
includes drvSerial,drvAscii,drvIpac,drvVipc616, tyGSOctal and devAscii. The
first test was successfully with the help of Allan Honey and Steven Hartman a
few month ago.
But we have one problem. Some of the commands
use the format d.ddde-dd, but the OUT field of AO have to be specified as %e
instead of %9.3e or %.3e. So the value of AO will be sent as
d.ddd000e-dd which doesn't meet our requirement.
Does somebody meet the same problem? Is there any
solution?
Any suggestion is welcome,
|
- Navigate by Date:
- Prev:
EPICS 3.14.2 Under Windows Cox, G (Graham)
- Next:
RE: EPICS 3.14.2 Under Windows Cox, G (Graham)
- 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: the command formats in RS232 Owens, PH (Peter)
- Next:
RE: the command formats in RS232 Geng, Xiaosong
- 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, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|