Skip to content

Commit 2bb6bdd

Browse files
committed
New file
1 parent 058ffaa commit 2bb6bdd

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

iocBoot/iocUSBERB24/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
TOP = ../..
2+
include $(TOP)/configure/CONFIG
3+
ARCH = windows-x64-static
4+
#ARCH = linux-x86_64
5+
TARGETS = envPaths dllPath.bat
6+
include $(TOP)/configure/RULES.ioc
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
file "USBERB24_settings.req", P=$(P)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This file only exists so that "git clone" will create the autosave directory.
2+

iocBoot/iocUSBERB24/st.cmd

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
< envPaths
2+
3+
## Register all support components
4+
dbLoadDatabase "$(MEASCOMP)/dbd/measCompApp.dbd"
5+
measCompApp_registerRecordDeviceDriver pdbbase
6+
7+
epicsEnvSet("PREFIX", "USBERB24:")
8+
epicsEnvSet("PORT", "USBERB24_1")
9+
epicsEnvSet("UNIQUE_ID", "020D2606")
10+
11+
## Configure port driver
12+
# MultiFunctionConfig((portName, # The name to give to this asyn port driver
13+
# uniqueID, # For USB the serial number. For Ethernet the MAC address or IP address.
14+
# maxInputPoints, # Maximum number of input points for waveform digitizer
15+
# maxOutputPoints) # Maximum number of output points for waveform generator
16+
MultiFunctionConfig("$(PORT)", "$(UNIQUE_ID)", 1, 1)
17+
18+
#asynSetTraceMask($(PORT), -1, ERROR|FLOW|DRIVER)
19+
20+
dbLoadTemplate("$(MEASCOMP)/db/USBERB24.substitutions", "P=$(PREFIX),PORT=$(PORT)")
21+
22+
< ../save_restore.cmd
23+
24+
iocInit
25+
26+
create_monitor_set("auto_settings.req",30,"P=$(PREFIX)")

0 commit comments

Comments
 (0)