[admin@dt-imblin115 iocDAQmxBase]$ ../../bin/linux-x86_64/DAQmxBase digout.cmd
#!../../bin/linux-x86_64/DAQmxBase
cd ../../
# Load binaries on architectures that need to do so.
# VXWORKS_ONLY, LINUX_ONLY and RTEMS_ONLY are macros that resolve
# to a comment symbol on architectures that are not the current
# build architecture, so they can be used liberally to do architecture
# specific things. Alternatively, you can include an architecture
# specific file.
#$(VXWORKS_ONLY)ld < bin/$(ARCH)/DAQmxBase.munch
#ld < bin/linux-x86_64/DAQmxBase.munch
## Register all support components
dbLoadDatabase("dbd/DAQmxBase.dbd")
dbLoadDatabase("dbd/DAQmxBaseSupport.dbd")
DAQmxBase_registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/DAQmxBaseDigOut.vdb","DAQMX=XXX")
DAQmxBaseConfig("myport1", "Dev1/port2/line0", 0, "BO","N=1 F=0 m=0 M=5")
Setting daqMode on myport1 = BO
Option = N=1
Option = F=0
Option = m=0
Option = M=5
Created port "myport1" with devices: "Dev1/port2/line0"
asynSetTraceMask("myport1", 0,0x11)
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Sep 13 2016
############################################################################
2016/09/15 17:46:26.498 drvDaqMxBase::drvUserCreate, attempting to create cmd: DATA
2016/09/15 17:46:26.498 drvDaqMxBase::drvUserCreate, command created: DATA
2016/09/15 17:46:26.498 drvDaqMxBase::drvUserCreate, attempting to create cmd: DATA
2016/09/15 17:46:26.498 drvDaqMxBase::drvUserCreate, command created: DATA
2016/09/15 17:46:26.498 myport1 asynManager::queueLockPort locking port
2016/09/15 17:46:26.498 dmbRead: command = 0 (DATA), signal = 0
2016/09/15 17:46:26.498 myport1 queueUnlockPort
iocRun: All initialization complete
asynSetTraceMask("myport1", 0,0x01)
[epics@ipl]:~$ dbl
XXX:DATA
[epics@ipl]:~$ dbpf "XXX:DATA", "0"
DBR_USHORT: 0 0x0
[epics@ipl]:~$ 2016/09/15 17:46:44.554 ### DAQmx ERROR (StartTask): VISA Close in DAQmxBase Stop Task 92xx.vi:2540001->DAQmxBase Stop Task.vi:940001->DAQmxBaseStopTask.vi->DAQmxBaseStopTask.vi.ProxyCaller
I am not sure what this error means. Any help is appreciated.
Thank you
Best,
Ali