make examples executable from (Linux) command line
This commit is contained in:
9
streamApp/simple.cmd
Normal file → Executable file
9
streamApp/simple.cmd
Normal file → Executable file
@ -1,18 +1,19 @@
|
||||
#!/bin/sh
|
||||
exec O.$EPICS_HOST_ARCH/streamApp $0
|
||||
dbLoadDatabase "O.Common/streamApp.dbd"
|
||||
streamApp_registerRecordDeviceDriver
|
||||
|
||||
#where can protocols be located?
|
||||
epicsEnvSet "STREAM_PROTOCOL_PATH", ".:protocols:../protocols/"
|
||||
|
||||
#setup the busses
|
||||
#setup the hardware
|
||||
|
||||
#drvAsynIPPortConfigure "L0", "localhost:40000"
|
||||
vxi11Configure "L0","gpib-dz-1",0,0.0,"gpib0",0,0
|
||||
drvAsynIPPortConfigure "L0", "localhost:40000"
|
||||
#vxi11Configure "L0","gpib-hostname-or-ip",0,0.0,"gpib0"
|
||||
|
||||
#load the records
|
||||
dbLoadRecords "simple.db","P=DZ,BUS=L0 28"
|
||||
|
||||
var streamDebug 1
|
||||
iocInit
|
||||
|
||||
#enable debug output
|
||||
|
Reference in New Issue
Block a user