1 #!../../bin/windows-x64-debug/ECLabTest
3 ## You may have to change ECLabTest to something else
4 ## everywhere it appears in this file
6 # Increase this if you get <<TRUNCATED>> or discarded messages warnings in your errlog output
13 ## Register all support components
14 dbLoadDatabase
"dbd/ECLabTest.dbd"
15 ECLabTest_registerRecordDeviceDriver
pdbbase
18 #ECLabConfigure("chan0", 130.246.36.213)
19 # pass "SIM" as ip address for simulation mode
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")
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 ;.
ECLabTest_registerRecordDeviceDriver pdbbase