EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Attocube AMC100
From: "Lang, Keenan C. via Tech-talk" <tech-talk at aps.anl.gov>
To: Tech-talk <tech-talk at aps.anl.gov>, "Ivashkevych, Oksana" <oksana at bnl.gov>
Date: Wed, 12 Oct 2022 21:46:29 +0000
This is a known issue with the current master branch of lua



You can either use the latest tagged version instead, or define CXX11_SUPPORT=NO in CONFIG_SITE.local.Linux

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ivashkevych, Oksana via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, October 12, 2022 4:14 PM
To: Tech-talk <tech-talk at aps.anl.gov>
Subject: Attocube AMC100
 

Hello,

We have a new Attocube AMC 100 unit.

 

I found the following communication about support of the new AMC controllers

https://epics.anl.gov/tech-talk/2021/msg01321.php

 

I built lua, motorScriptMotor within motor, and found st.cmd.Attocube_AMC startup script.

 

I am getting nullptr error and the core dump.

 

I have tried using AMC100.lua script (as was suggested in the link above) instead of Attocube_AMC.lua; renamed the port, thinking that some characters could be the culprit, yet I have same error and the core dump.

When I use vmc.lua I do not have the core dump. Just errors.

 

Thanks

 

iocScriptMotor]$ ../../bin/linux-x86_64/scriptMotor st.cmd.Attocube_AMC

< envPaths

epicsEnvSet("IOC","iocScriptMotor")

epicsEnvSet("TOP","/epics/devel/support/motor/modules/motorScriptMotor/iocs/scriptMotorIOC")

epicsEnvSet("MOTOR","/epics/devel/support/motor")

epicsEnvSet("ASYN","/epics/devel/support/asyn")

epicsEnvSet("SNCSEQ","/epics/devel/support/seq")

epicsEnvSet("BUSY","/epics/devel/support/busy")

epicsEnvSet("IPAC","/epics/devel/support/ipac")

epicsEnvSet("EPICS_BASE","/epics/devel/epics-base")

epicsEnvSet("SUPPORT","/epics/devel/support")

epicsEnvSet("LUA","/epics/devel/support/lua")

< /epics/common/xf18idb-ioc1-netsetup.cmd

# BEGIN ANSIBLE MANAGED BLOCK

epicsEnvSet("EPICS_CA_AUTO_ADDR_LIST",         "NO")

epicsEnvSet("EPICS_CA_ADDR_LIST",              "10.66.139.255")

epicsEnvSet("EPICS_CAS_AUTO_BEACON_ADDR_LIST", "NO")

epicsEnvSet("EPICS_CAS_BEACON_ADDR_LIST",      "10.66.139.255")

epicsEnvSet("EPICS_CAS_INTF_ADDR_LIST",        "10.66.139.26")

# END ANSIBLE MANAGED BLOCK

dbLoadDatabase("/epics/devel/support/motor/modules/motorScriptMotor/iocs/scriptMotorIOC/dbd/scriptMotor.dbd")

scriptMotor_registerRecordDeviceDriver(pdbbase)

epicsEnvSet("LUA_SCRIPT_PATH", "./scripts")

#epicsEnvSet("IP_ADDRESS", "123.456.789.000")

epicsEnvSet("IP_ADDRESS", "10.66.138.144")

# Connect to virtual motor controller server

drvAsynIPPortConfigure("AMC","10.66.138.144:9090", 0, 0, 0)

#ScriptControllerConfig( "PORT_NAME", num_axes, "lua_script", "PARAMS=")

ScriptControllerConfig("AMC-1", 2, "Attocube_AMC.lua", "PORT=AMC")

scriptMotor: ../../../luaApp/src/luaaa/luaaa.hpp:979: luaaa::LuaClass< <template-parameter-1-1> >::LuaClass(lua_State*, const char*, const luaL_Reg*) [with TCLASS = _apdWrapper; lua_State = lua_State; luaL_Reg = luaL_Reg]: Assertion `klassName == nullptr' failed.

Aborted (core dumped)

 

 


Replies:
RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
References:
Attocube AMC100 Ivashkevych, Oksana via Tech-talk

Navigate by Date:
Prev: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
Next: RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
Next: RE: Attocube AMC100 Ivashkevych, Oksana via Tech-talk
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  <20222023  2024 
ANJ, 17 Oct 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·