diff --git a/bin/make_scpi_ioc b/bin/make_scpi_ioc index d8f9dc9ec4557b54a3f408aa2a1c2d233e35da95..fa2b6156774450db2e2cb41d51964589b50f4176 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