EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Tektronix 3014 IOC Errors
From: Mark Rivers <[email protected]>
To: Trevor Downer <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 30 Nov 2012 03:12:24 +0000
Hi Trevor,

I'm assuming 10.1.1.1. is the correct IP address?

Have you tried uncommenting the line:
#TDS3000Reboot $(ETHER)

The error is coming from this code in drvVxi11.c:

    clntStat = clnt_call(pvxiPort->rpcClient, create_link,
        (xdrproc_t)xdr_Create_LinkParms,(caddr_t)&crLinkP,
        (xdrproc_t)xdr_Create_LinkResp, (caddr_t)&crLinkR,
        pvxiPort->vxiRpcTimeout);
    if(clntStat != RPC_SUCCESS) {
        asynPrint(pasynUser,ASYN_TRACE_ERROR,
            "%s vxiCreateDeviceLink RPC error %s\n",
            devName,clnt_sperror(pvxiPort->rpcClient,""));
    } else if(crLinkR.error != VXI_OK) {
        asynPrint(pasynUser,ASYN_TRACE_ERROR,
            "%s vxiCreateDeviceLink error %s\n",
            devName,vxiError(crLinkR.error));



Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Trevor Downer [[email protected]]
Sent: Thursday, November 29, 2012 7:07 PM
To: [email protected]
Subject: Tektronix 3014 IOC Errors

Greetings and salutations!

I am new to this whole EPICS thing and am running into a problem while
trying to connect my EPICS server to the Tektronix 3014 Oscilloscope
using the ethernet port on the oscilloscope.

The specific setup is below:

computer (ethernet cable) > switch (ethernet cable) > oscilloscope

We decided to isolate our setup from our schools network by running
the ethernet cable through a simple switch.

By doing this we were able to ping the oscilloscope successfully.

I downloaded the software for the oscilloscope application from
http://www.aps.anl.gov/epics/modules/instrument/tds3000/index.html the
Module Version is R2-4. Everything in configure/RELEASE is correct to
my knowledge. However we keep getting lots of errors!

The first error that I noticed is "2012/11/29 17:51:39.058 inst0
vxiCreateDeviceLink error VXI: invalid address" and I have no idea
what that means!

The full output from the IOC is below:

scope.physics.isu.edu[155]# ./st.cmd
#!../../bin/linux-x86/scope
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocscope")
epicsEnvSet("TOP","/home/scope/oscope/tds3000-2.4")
epicsEnvSet("SNCSEQ","/usr/local/epics/extensions/src/synApps_5_6/support/seq-2-1-10")
epicsEnvSet("ASYN","/usr/local/epics/extensions/src/synApps_5_6/support/asyn-4-20")
epicsEnvSet("STREAM","/usr/local/epics/extensions/src/synApps_5_6/support/stream-2-5-1")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base-3.14.12.2")
< envParams
epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 100000
#
# Site-specific configuration
#
epicsEnvSet(FAMILY, "3000") # Choose scope family (3000 or 5000)
#epicsEnvSet(ETHER, "$(TDS_ETHERNET=10.0.0.1)") # Choose scope ethernet address
epicsEnvSet(ETHER, "10.1.1.1") # Choose scope ethernet address
epicsEnvSet(SCOPE, "scopeTest:") # Choose scope ethernet address
#
# Ensure that we can transfer a complete waveform
#
epicsEnvSet(EPICS_CA_MAX_ARRAY_BYTES, 100000)
## Register all support components
cd /home/scope/oscope/tds3000-2.4
dbLoadDatabase("dbd/scope.dbd")
scope_registerRecordDeviceDriver(pdbbase)
## Load diagnostic record instance
dbLoadRecords("db/asynRecord.db","P=scopeTest:,R=,PORT=L0,ADDR=3,OMAX=0,IMAX=0")
## Load oscilloscope db's if using Auto Print/Re-arm trig SNL program.
dbLoadRecords("db/scopeMessage.vdb","scope=scopeTest:,L=0,A=3,ASG=RF1CTL,rfsys=1")
## This is the main db.
dbLoadRecords("db/TDSxxxx.vdb","scope=scopeTest:,L=0,A=3,ASG=RF1CTL,Name=RF1-HV,FAMILY=3000")
# reboot scopes (Ethernet only)
#TDS3000Reboot 164.54.xxx.xxx
#TDS3000Reboot $(ETHER)
#epicsThreadSleep(60)
## Set up IOC/hardware links -- GPIB/LAN connection
#vxi11Configure("L0", "$(ETHER)", 0, 0.0, "hpib", 0)
## Set up IOC/hardware links -- Direct network connection
vxi11Configure("L0", "10.1.1.1", 0, 0.0, "inst0", 0)
2012/11/29 17:51:39.058 inst0 vxiCreateDeviceLink error VXI: invalid address
2012/11/29 17:51:39.096 inst0 vxiCreateDeviceLink error VXI: invalid address
2012/11/29 17:51:39.097 L0 -1 autoConnect could not connect
## Set up IOC/hardware links -- Remote serial port
## (link, host, priority, noAutoConnect, noEosProcessing)
#drvAsynIPPortConfigure("L0", "$(ETHER)", 0, 0, 0)
#asynOctetSetInputEos("L0",0,"\n")
#asynOctetSetOutputEos("L0",0,"\n")
## Set up IOC/hardware links -- Local serial port
## (link, ttyName, priority, noAutoConnect, noEosProcessing)
#drvAsynSerialPortConfigure("L0", "/dev/ttyS0", 0, 0, 0)
#asynOctetSetInputEos("L0",0,"\n")
#asynOctetSetOutputEos("L0",0,"\n")
#asynSetOption("L0", 0, "baud", "38400")
#asynSetOption("L0", 0, "bits", "8")
#asynSetOption("L0", 0, "parity", "none")
#asynSetOption("L0", 0, "stop", "1")
#asynSetOption("L0", 0, "clocal", "N")
#asynSetOption("L0", 0, "crtscts", "Y")
## Turn on all diagnostic messages to stdout
#asynSetTraceMask("L0", -1, 0x9)
#asynSetTraceIOMask("L0", -1, 0x2)
#asynSetTraceIOTruncateSize("L0", -1, 120)
## Start IOC
cd /home/scope/oscope/tds3000-2.4/iocBoot/iocscope
iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$
## EPICS Base built Nov 16 2012
############################################################################
2012/11/29 17:51:39.534 scopeTest:: queueRequest failed

2012/11/29 17:51:39.534 scopeTest:: queueRequest failed

2012/11/29 17:51:40.035 scopeTest:clearMenuBO queueRequest failed port
L0 not connected
2012/11/29 17:51:40.035 scopeTest:frontPanelLockBO queueRequest failed
port L0 not connected
2012/11/29 17:51:40.035 scopeTest:ethernetNameSI queueRequest failed
port L0 not connected
2012/11/29 17:51:40.036 scopeTest:initBO queueRequest failed port L0
not connected
iocRun: All initialization complete
## Start any sequence programs
#seq scopeAutoArmPrint,"scope=$(SCOPE)"
epics> 2012/11/29 17:51:40.535 scopeTest:scopeBusyBI queueRequest
failed port L0 not connected
2012/11/29 17:51:41.035 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:41.535 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:42.035 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:42.535 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:43.035 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:43.535 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:44.035 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:44.535 scopeTest:acquireStatBI queueRequest failed
port L0 not connected
2012/11/29 17:51:44.535 scopeTest:triggerStateMI queueRequest failed
port L0 not connected
2012/11/29 17:51:44.535 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1CoupleMI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2CoupleMI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3CoupleMI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4CoupleMI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1VdivMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2VdivMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3VdivMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4VdivMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:timeModeMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:timeRefAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:trigSourMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:trigSlopeMI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1_ImpedBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2_ImpedBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3_ImpedBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4_ImpedBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1VdivAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2VdivAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3VdivAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4VdivAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:trigLevAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:holdoffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:timeBaseAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:timeDelayAI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan1EnableBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan2EnableBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan3EnableBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.031 scopeTest:chan4EnableBI queueRequest failed
port L0 not connected
2012/11/29 17:51:45.036 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:45.536 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:46.036 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:46.536 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan1EnableBO queueRequest failed
port L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan2EnableBO queueRequest failed
port L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan3EnableBO queueRequest failed
port L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan4EnableBO queueRequest failed
port L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan1OffAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan1OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan2OffAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan2OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan3OffAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan3OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan4OffAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:chan4OffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigLevAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigLevAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:holdoffAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:holdoffAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:timeDelayAO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:timeDelayAI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigSlopeMI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigSlopeMO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigSourMI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:trigSourMO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:timeModeMI queueRequest failed port
L0 not connected
2012/11/29 17:51:47.027 scopeTest:timeModeMO queueRequest failed port
L0 not connected
2012/11/29 17:51:47.036 scopeTest:scopeBusyBI queueRequest failed port
L0 not connected



I would greatly appreciate any help in resolving this issue.


References:
Tektronix 3014 IOC Errors Trevor Downer

Navigate by Date:
Prev: Tektronix 3014 IOC Errors Trevor Downer
Next: CSS BOY left-mouse event Mogamad Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Tektronix 3014 IOC Errors Trevor Downer
Next: CSS BOY left-mouse event Mogamad Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·