Experimental Physics and
| |||||||||||||||||
|
Thanks, But after adding drvLinuxGpib.dbd The IOC compilation gives below error perl -CSD /opt/epics/base-7.0.1.1/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/opt/epics/support/asyn4-33/dbd -I/opt/epics/support/stream-2-6a//dbd -I/opt/epics/base-7.0.1.1/dbd -o ls218.dbd base.dbd asyn.dbd stream.dbd xxxSupport.dbd dbSubExample.dbd devls218Version.dbd ls218Hello.dbd initTrace.dbd drvLinuxGpib.dbd PVAServerRegister.dbd qsrv.dbd dbdExpand.pl: Can't find file 'drvLinuxGpib.dbd' while reading 'drvLinuxGpib.dbd' to create 'ls218.dbd' Your Makefile may need this dependency rule: $(COMMON_DIR)/ls218.dbd: $(COMMON_DIR)/drvLinuxGpib.dbd dbdExpand.pl: Exiting due to errors /opt/epics/base-7.0.1.1/configure/RULES.Db:402: recipe for target '../O.Common/ls218.dbd' failed make[3]: *** [../O.Common/ls218.dbd] Error 255 make[3]: Leaving directory '/home/vishnu/epicsDev/ls218/ls218App/src/O.linux-x86_64' This may be because of drvLinuxGpib.dbd doesn't appear in my asyn4-33/dbd even after setting LINUX_GPIB=YES in asyn4-33/configure/RELEASE SUPPORT=$(TOP)/../ -include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH) LINUX_GPIB=YES # IPAC is only necessary if support for Greensprings IP488 is required # IPAC release V2-7 or later is required. IPAC=$(SUPPORT)/ipac-2-13 # SEQ is required for testIPServer SNCSEQ=$(SUPPORT)/seq-2.2.5 # EPICS_BASE 3.14.6 or later is required EPICS_BASE=$(TOP)/../../base-7.0.1.1 -include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH) asyn4-33/dbd$ ls asyn.dbd devAsynRecord.dbd testAsynPortDriver.dbd asynRecord.dbd devAsynUInt32Digital.dbd testConnect.dbd devAsynFloat32Array.dbd devEpics.dbd test.dbd devAsynFloat64Array.dbd devGpib.dbd testEpics.dbd devAsynFloat64.dbd devTestBlock.dbd testErrors.dbd devAsynFloat64TimeSeries.dbd devTestGpib.dbd testGpib.dbd devAsynInt16Array.dbd drvAsynIPPort.dbd testGpibSerial.dbd devAsynInt32Array.dbd drvAsynSerialPort.dbd testIPServer.dbd devAsynInt32.dbd drvGsIP488.dbd testManager.dbd devAsynInt32TimeSeries.dbd drvNi1014.dbd testOutputCallback.dbd devAsynInt8Array.dbd drvVxi11.dbd testOutputReadback.dbd devAsynOctet.dbd testArrayRingBuffer.dbd May be still i am missing something. Thank you Vishnu From: Mark Rivers <[email protected]> Sent: Mon, 09 Apr 2018 17:21:27 To: Vishnu Patel <[email protected]>, techtalk <[email protected]> Subject: Re: GpibBoardDriverConfig not found Hi Vishnu, I suspect that your application Makefile is missing a line like this: myIOCApplication_DBD += drvLinuxGpib.dbd Or, if you are using an applicationInclude.dbd file then it needs this include "drvLinuxGpib.dbd" Mark ________________________________ From: [email protected] <[email protected]> on behalf of Vishnu Patel <[email protected]> Sent: Monday, April 9, 2018 6:07 AM To: techtalk Subject: GpibBoardDriverConfig not found Hi, I am using linux-gpib-4.1.0 to access GPIB devices with Agilent 82357B GPIB-USB adaptor. With ibtest i can access GPIB instrument without any error. But making IOC as given in https://wiki-ext.aps.anl.gov/epics/index.php/How_to_use_GPIB_ports_with_linux-gpib_and_StreamDevice with LINUX_GPIB=YES in asyn4-33/configure/RELEASE considering https://epics.anl.gov/tech-talk/2007/msg01343.php https://epics.anl.gov/tech-talk/2008/msg00008.php The gpib library $ ls /lib/ apparmor/ klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so systemd/ brltty/ libgpib.so.0 sysvinit/ cpp linux-sound-base/ terminfo/ crda/ lsb/ udev/ but $ /sbin/ldconfig -p |grep gpib doesn't list any gpib library. But still i am getting and error ## 2 Configure your asynPorts # 2a GPIB: portname, autoConnect, boardId, timeout, 5th_arg GpibBoardDriverConfig("agi", "1", "0", "3", "0") st.cmd line 18: Command GpibBoardDriverConfig not found. ## Load record instances dbLoadTemplate "db/user.substitutions" i am using it on ubuntu 16 with 64 bit machine. Thanks Vishnu
| ||||||||||||||||
ANJ, 10 Apr 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |