First working version of the MasterMACS EPICS driver
Also added some test code
This commit is contained in:
19
testmmac/testmmacs.cmd
Executable file
19
testmmac/testmmacs.cmd
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/local/bin/iocsh
|
||||
|
||||
require sinq,koennecke
|
||||
|
||||
epicsEnvSet("TOP","/afs/psi.ch/project/sinqdev/sinqepicsapp/testmmac")
|
||||
|
||||
#drvAsynMMACSPortConfigure("macs1", "localhost:8080",0,0,0)
|
||||
#asynInterposeEosConfig("macs1", 0, 0, 0)
|
||||
#dbLoadRecords("$(TOP)/db/asynRecord.db","P=KM36:,R=macs1,PORT=macs1,ADDR=0,OMAX=80,IMAX=80")
|
||||
#asynSetTraceMask("macs1", 0, 255)
|
||||
|
||||
drvAsynIPPortConfigure("macs1", "localhost:8080",0,0,0)
|
||||
#asynSetTraceMask("macs1", 0, 255)
|
||||
MasterMACSCreateController("mota","macs1",7)
|
||||
MasterMACSCreateAxis("mota",5)
|
||||
MasterMACSCreateAxis("mota",6)
|
||||
|
||||
dbLoadTemplate "mmacs2.sub"
|
||||
|
Reference in New Issue
Block a user