Hello,
When upgrading an IOC application to the new MAXv model-3 driver, using motor-R6-8 , I got an error when
calling the initialization function omxMAXvConfig2() from an RTEMS IOC running Cexp.
> omsMAXvConfig2(2, "A16", 0xF000, 200, 5, "MAXv-01", 8, 0, 0, 100,
> 500, "AX LH PSO;") Cexp syntax error: Too many integer arguments
Mitch D'Ewart at SLAC discovered that the problem seemed to be a
a Cexp issue, which sets a limit of 10 arguments for function calls, and omsMAXvConfig2 uses 12.
However, when running this function inside iocsh() it works fine.
epics> omsMAXvConfig2(2, "A16", 0xF000, 200, 5, "MAXv-01", 8, 0, 0, 100,
epics> 1000, "BD00FF; AX LTH LMH PSM; AY LTH LMH PSE; AZ LTH LMH PSE
epics> ECA24,500000;")
Reading OMS Firmware Version:
(1) OMS Firmware Version is: /MAXv-8000 ver:1.44, s/n:001457, FPGA:B6:A7 BOOT:1.3 - Oregon Micro Systems
IOC Details:
motor-R6-8 motor module using OmsAsyn
asyn-R4-12
EPICS R4-14-12
RTEMS-4.9.4 for MVME6100 w/Cexp().
Similar tech talk but for VxWorks shell
http://www.aps.anl.gov/epics/tech-talk/2011/msg00709.php
- Regards,
Kristi
- Navigate by Date:
- Prev:
Re: Sequencer is not monitoring Pvs from another IOC Kasemir, Kay
- Next:
Building the Archive Engine Nicoletta Petrella
- 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: Question on Autosave Maren Purves
- Next:
Building the Archive Engine Nicoletta Petrella
- 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
|