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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | EPICS TCP server |
From: | yann stephen <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Mon, 6 Jul 2015 18:27:38 +0000 (UTC) |
Attachment:
Makefile
Description: Binary data
Attachment:
RELEASE
Description: Binary data
#!../../bin/linux-x86/myexample ## You may have to change myexample to something else ## everywhere it appears in this file ############################################################################### # Set up environment < envPaths epicsEnvSet "STREAM_PROTOCOL_PATH" "$(TOP)/db" epicsEnvSet "P" "$(P=testIPServer)" cd ${TOP} ## Register all support components dbLoadDatabase "dbd/myexample.dbd" myexample_registerRecordDeviceDriver pdbbase ################################################################################ # Set up ASYN ports #The following command starts a server on port 5001 drvAsynIPServerPortConfigure("P5001","localhost:5001",2,0,0,0) drvAsynIPServerPortConfigure("P5002","localhost:5002",1,0,0,0) ################################################################################## ## Load record instances #dbLoadTemplate "db/userHost.substitutions" dbLoadRecords "db/testIPServer.db", "P=$(P)" ## Set this to see messages from mySub #var mySubDebug 1 ## Run this to trace the stages of iocInit #traceIocInit cd ${TOP}/iocBoot/${IOC} iocInit ## Start any sequence programs #seq sncExample, "user=yannHost" #ipEchoServer("P5001") seq("ipSNCServer", "P=testIPServer:, PORT=P5002")