Skip to content

Commit

Permalink
Update st.cmd
Browse files Browse the repository at this point in the history
revert to original based on MR recommendations
  • Loading branch information
sliakat authored Jul 6, 2023
1 parent 2a22bb5 commit cb172ed
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions iocs/PICamIOC/iocBoot/iocPICam/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ errlogInit(20000)

< envPaths
#epicsThreadSleep(20)
dbLoadDatabase("/home/towa/EPICS/support/areaDetector/ADPICam/iocs/PICamIOC/dbd/PICamApp.dbd")
dbLoadDatabase("$(TOP)/dbd/PICamApp.dbd")
PICamApp_registerRecordDeviceDriver(pdbbase)

epicsEnvSet("PREFIX", "13PICAM1:")
Expand All @@ -12,8 +12,6 @@ epicsEnvSet("XSIZE", "2048")
epicsEnvSet("YSIZE", "2048")
epicsEnvSet("NCHANS", "2048")
# The search path for database files
epicsEnvSet("ADCORE", "/home/towa/EPICS/support/areaDetector/ADCore")
epicsEnvSet("ADPICAM","/home/towa/EPICS/support/areaDetector/ADPICam")
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db")

# Create a PICam driver
Expand All @@ -31,11 +29,7 @@ asynSetTraceIOMask($(PORT), 0, 2)
dbLoadRecords("$(ADCORE)/db/ADBase.template", "P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
dbLoadRecords("$(ADPICAM)/db/PICam.template","P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")

# Create a standard arrays plugin, set it to get dae_path not found.
#asynSetTraceMask($(PORT),0,0x09)
iocInit()
Starting iocInit
ta from Driver.
# Create a standard arrays plugin, set it to get data from Driver.
NDStdArraysConfigure("Image1", 3, 0, "$(PORT)", 0)
dbLoadRecords("$(ADCORE)/db/NDPluginBase.template","P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0")
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,SIZE=16,FTVL=SHORT,NELEMENTS=20000000")
Expand Down

0 comments on commit cb172ed

Please sign in to comment.