ISIS Logo
ECLAB
An EPICS support module to export potentiostat values as process variables
st.cmd
Go to the documentation of this file.
1 #!../../bin/windows-x64-debug/ECLabTest
2 
3 ## You may have to change ECLabTest to something else
4 ## everywhere it appears in this file
5 
6 # Increase this if you get <<TRUNCATED>> or discarded messages warnings in your errlog output
7 errlogInit2(65536, 256)
8 
9 < envPaths
10 
11 cd ${TOP}
12 
13 ## Register all support components
14 dbLoadDatabase "dbd/ECLabTest.dbd"
15 ECLabTest_registerRecordDeviceDriver pdbbase
16 
17 
18 #ECLabConfigure("chan0", 130.246.36.213)
19 # pass "SIM" as ip address for simulation mode
20 ECLabConfigure("chan0", "SIM")
21 
22 ## Load our record instances
23 dbLoadRecords("db/ECLab.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
24 dbLoadRecords("db/ECLabIntegerParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
25 dbLoadRecords("db/ECLabBooleanParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
26 dbLoadRecords("db/ECLabSingleParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
27 dbLoadRecords("db/ECLabIntegerArrayParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
28 dbLoadRecords("db/ECLabBooleanArrayParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
29 dbLoadRecords("db/ECLabSingleArrayParams.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
30 
31 cd ${TOP}/iocBoot/${IOC}
33 
errlogInit2(65536, 256)
You may have to change ECLabTest to something else ; everywhere it appears in this file ;...
int ECLabConfigure(const char *portName, const char *ip)
The function is registered via EClabRegister().
dbLoadRecords("db/ECLab.db","P=$(MYPVPREFIX),Q=ECLAB,PORT=chan0,CHAN=0")
Load our record instances ;.
cd TOP
Definition: st.cmd:8
cd
Definition: st.cmd:31
ECLabTest_registerRecordDeviceDriver pdbbase
Definition: st.cmd:15
iocInit
Definition: st.cmd:32
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5