#!../../bin/linux-x86/omegaDP470 < envPaths cd ${TOP} dbLoadDatabase("dbd/omegaDP470.dbd") omegaDP470_registerRecordDeviceDriver(pdbbase) epicsEnvSet("STREAM_PROTOCOL_PATH",".") #commands for serial port communication: drvAsynSerialPortConfigure("Omega1","/dev/ttyUSB0") asynSetOption("Omega1",0,"baud","9600") asynSetOption("Omega1",0,"bits","8") asynSetOption("Omega1",0,"parity","none") asynSetOption("Omega1",0,"stop","1") #asynSetOption("Omega1",0,"clocal","Y") #do not use local clock #asynSetOption("Omega1",0,"crtscts","N") #? dbLoadRecords("db/omegaDP470_chassis.db","IOC=test") dbLoadRecords("db/omegaDP470_channel.db","IOC=test,CHAN=1") dbLoadRecords("db/omegaDP470_channel.db","IOC=test,CHAN=2") dbLoadRecords("db/omegaDP470_channel.db","IOC=test,CHAN=3") #asSetFilename("ca_security.txt") cd ${TOP}/iocBoot/iocomegaDP470 iocInit