#
and give a reasonable value to the 'user' macro:
dbLoadRecords("../../db/AB300.db","user=AB300")
var drvTermiosTtyGpibDebug 2
drvTermiosTtyGpibConfigure(0,"164.54.9.90:4002")
stty("--file=/dev/ttyS0","cs8","-parenb","-crtscts","clocal")
drvTermiosTtyGpibConfigure(0,"/dev/ttyS0")
ipacAddCarrier(&vipc616_01,"0x6000,B0000000")
tyGSOctalDrv 1
octalUart0 = tyGSOctalModuleInit("GSIP_OCTAL232", 0x80, 0, 0)
port0 = tyGSOctalDevCreate("/tyGS/0/0",octalUart0,0,1000,1000)
tyGSOctalConfig(port0,9600,'N',1,8,'N')
Once the serial port has been configured you
can invoke the drvTermiosTtyGpibConfigure command from either shell as:
drvTermiosTtyGpibConfigure(0,"/tyGS/0/0")
In all of the above examples the first argument of the
drvTermiosTtyGpibConfigure command is
the link number and must match the L value in the EPICS
database record INP and OUT fields.