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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: measComp 2-1 and TC32 |
From: | Mark Rivers <[email protected]> |
To: | 'John Dobbins' <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 19 Sep 2018 20:27:49 +0000 |
Hi John, Ø
Is the TC32 supported by PROD_IOC_LINUX measCompApp ? Yes, but as the R2-0 release notes say, it has not been tested on Linux yet (because I don’t own one). Ø
The TC32 is connected via ethernet and configured to be Board# 1 I assume you mean it was configured as Board #1 with InstaCal? On Linux the InstaCal assignment of board numbers is not used. Rather you need to add a cbAddBoard() command to your startup script before the call to MultiFunctionConfig(). Here is the difference between st.cmd and st.cmd.linux in iocBoot/iocETC for the E-TC thermocouple module. corvette:measComp/iocBoot/iocETC>diff st.cmd st.cmd.linux 9a10,11 > cbAddBoard("E-TC", "164.54.160.218") > You should add this line to your st.cmd file where xxx.xxx.xxx.xxx is the IP address of the device. cbAddBoard("E-TC32", "xxx.xxx.xxx.xxx") The first cbAddBoard command will define board #0, the second will define board #1, etc. So you will use board=0 in MultiFunctionConfig(). Let me know if this works for you. Mark From: [email protected] <[email protected]>
On Behalf Of John Dobbins I am confused about the status of support for Measurement Computing TC32 on linux. In measComp-R2-1/measCompApp/src the Makefile includes the lines: PROD_IOC_WIN32 += testTC32 testTC32_SRCS += testTC32.c ifeq (win32-x86, $(findstring win32-x86, $(T_A))) testTC32_LIBS += cbw32 else ifeq (windows-x64, $(findstring windows-x64, $(T_A))) testTC32_LIBS += cbw64 endif but there is not a testTC32 IOC for linux. Is the TC32 supported by PROD_IOC_LINUX measCompApp ? I tried running measCompApp with a single thermocouple. The TC32 is connected via ethernet and configured to be Board# 1 Here is the IOC console on start-up: jad22@erp201 $ ../../bin/linux-x86_64/measCompApp st.cmd < envPaths epicsEnvSet("IOC","iocTC32") epicsEnvSet("TOP","/nfs/erl/online/epics/R3.15.5/support/measComp-R2-1") epicsEnvSet("SUPPORT","/nfs/erl/online/epics/R3.15.5/support") epicsEnvSet("ASYN","/nfs/erl/online/epics/R3.15.5/support/asyn4-33") epicsEnvSet("CALC","/nfs/erl/online/epics/R3.15.5/support/calc-R3-7-1") epicsEnvSet("STD","/nfs/erl/online/epics/R3.15.5/support/std-R3-4-1") epicsEnvSet("MCA","/nfs/erl/online/epics/R3.15.5/support/mca-R7-7") epicsEnvSet("BUSY","/nfs/erl/online/epics/R3.15.5/support/busy-R1-7") epicsEnvSet("SSCAN","/nfs/erl/online/epics/R3.15.5/support/sscan-R2-11") epicsEnvSet("AUTOSAVE","/nfs/erl/online/epics/R3.15.5/support/autosave-R5-9") epicsEnvSet("SNCSEQ","/nfs/erl/online/epics/R3.15.5/support/seq-2.2.5") epicsEnvSet("MEASCOMP","/nfs/erl/online/epics/R3.15.5/support/measComp-R2-1") epicsEnvSet("EPICS_BASE","/nfs/erl/online/epics/R3.15.5/support/base-3.15.5") ## Register all support components dbLoadDatabase "../../dbd/measCompApp.dbd" measCompApp_registerRecordDeviceDriver pdbbase # Configure port driver # MultiFunctionConfig(portName, # The name to give to this asyn port driver # boardNum, # The number of this board assigned by the Measurement Computing Instacal program # maxInputPoints, # Maximum number of input points for waveform digitizer # maxOutputPoints) # Maximum number of output points for waveform generator #MultiFunctionConfig("TC32_1", 0, 1048576, 1048576) MultiFunctionConfig("TC32_1", 1, 0, 0) 2018/09/19 15:13:53.411 MultiFunction::MultiFunction error, unknown board type=0 dbLoadTemplate("TC32.substitutions") asynSetTraceIOMask TC32_1 -1 2 #asynSetTraceMask TC32_1 -1 255 #< save_restore.cmd iocInit Starting iocInit ############################################################################ ## EPICS R3.15.5 ## EPICS Base built Sep 19 2018 ############################################################################ 2018/09/19 15:13:53.916 MultiFunction:writeInt32, port TC32_1, function=14, ERROR writing 1 to address 1, status=1 2018/09/19 15:13:53.916 TC32:Ti0TCType devAsynInt32::processCallbackOutput process error iocRun: All initialization complete #create_monitor_set("auto_settings.req",30,"P=TC32:") epics> dbl TC32:Ti0Scale TC32:Ti0TCType TC32:Ti0Filter TC32:Ti0 epics> dbpr TC32:Ti0 ASG: DESC: DISA: 0 DISP: 0 DISV: 1 NAME: TC32:Ti0 RVAL: 0 SEVR: NO_ALARM STAT: NO_ALARM SVAL: 0 TPRO: 0 VAL: 0 epics> InstaCall reports a reasonable temperature. I am completely new to this device and to Measurement Computing support. Any help appreciated. John Dobbins Cornell Univesity |