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)