Hello,
I'm trying to create IOC for our XGS-600 vacuum gauge controller
(Agilent Technologies). It is connected via RS232 serial port and I know
the commands I'm going to use.
This is my first real IOC to built. I read Norum's tutorial how to
built Gpib and serial device IOCs and I have several questions:
Can we use the
http://www.aps.anl.gov/epics/modules/soft/asyn/R4-9/HowToDoSerial/tutorial.html
tutorial as base for our own IOC? If it is possible than
1) if my device is connected via serial port, should I use the same
command as for gpib devices, i.e.
/base/asyn/bin/linux-x86/makeSupport.pl -t devGpib myDevice
2) If the commands of our device have the following format:
#0002UHFIG1,end the command ends with "\n". How can we define it in a
gpibCmd structure? In a Norum's
tutorial it is written as following:
{&DSET_LO, GPIBWRITE, IB_Q_LOW, NULL, "\377\377\033", 10, 10,
NULL, 0, 0, NULL, NULL, "\033"},
3) In the above mentioned command to what must be changed
GPIBWRITE/GPIBREAD in case of RS232 connection?
If anybody had already written an IOC for this controller I'll be very
thankful to get advices.
Thank you in advance,
Regards,
Vahe
- Replies:
- Re: Gauge controller with R232 serial port Ralph Lange
- Navigate by Date:
- Prev:
streamdevice Sebastian Matkovich
- Next:
RE: asynPrint to print asyn port name ulrik.pedersen
- 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: streamdevice Dirk Zimoch
- Next:
Re: Gauge controller with R232 serial port 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
|