From b4ad78e001e4801e2b2121c2570c98bea05993f8 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Fri, 30 Aug 2024 14:47:14 -0500 Subject: [PATCH] modified: make_scpi_ioc --- bin/make_scpi_ioc | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/bin/make_scpi_ioc b/bin/make_scpi_ioc index d8f9dc9..fa2b615 100755 --- a/bin/make_scpi_ioc +++ b/bin/make_scpi_ioc @@ -119,20 +119,24 @@ ${NAME}_registerRecordDeviceDriver pdbbase vxi11Configure ("L0","10.10.241.61",1,1000,"inst0",0) +# If vxi11 isn't fully supported just use TCP: +#drvAsynIPPortConfigure ("L0", "10.10.241.78:9221") + +# Serial port config +#drvAsynSerialPortConfigure ("L0","/dev/ttyUSB2") +#asynSetOption ("L0", 0, "baud", "9600") +#asynSetOption ("L0", 0, "bits", "8") +#asynSetOption ("L0", 0, "parity", "none") +#asynSetOption ("L0", 0, "stop", "1") +#asynSetOption ("L0", 0, "clocal", "Y") +#asynSetOption ("L0", 0, "crtscts", "N") +#asynSetTraceMask("L0", 0, 6) +#asynSetTraceIOMask("L0", 0, 6) ## Load record instances -#dbLoadRecords("db/dev${NAME}.db","P=\$(P),R=\$(R),PORT=L0,A=0") -drvAsynSerialPortConfigure ("L2","/dev/ttyUSB2") -asynSetOption ("L2", 0, "baud", "9600") -asynSetOption ("L2", 0, "bits", "8") -asynSetOption ("L2", 0, "parity", "none") -asynSetOption ("L2", 0, "stop", "1") -asynSetOption ("L2", 0, "clocal", "Y") -asynSetOption ("L2", 0, "crtscts", "N") -#asynSetTraceMask("L2", 0, 6) -#asynSetTraceIOMask("L2", 0, 6) ## Load record instances -dbLoadRecords("db/devBK1688B.db","dev=$(dev),num=$(num),PORT=L2,A=0") +#dbLoadRecords("db/dev${NAME}.db","P=\$(P),R=\$(R),PORT=L0,A=0") + cd "\${TOP}/iocBoot/\${IOC}" iocInit -- GitLab