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  <20112012  2013  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Error vxi11 with Lecroy 760Zi
From: [email protected]
To: [email protected]
Date: Thu, 17 Feb 2011 09:17:37 +0100
Jean,
while using the LECROY SW, try a network sniffer (e.g. ethereal) and check for the commands sent to / read from the scope. I did that with our Lecroy WP960, and I found that I had to add some leading non-printable chars: (not documented in the manuals)
       
snipped from my devSupport for WP960:

command[0]=0x81;
command[1]=0x01;
command[2]=0x01;
command[3]=0x0;
*((unsigned long *) &command[4]) = htonl(5);

strncpy(command+8,"*IDN?",5);

len=strlen(command);

pasynOctet->writeRaw(asynOctetPvt,pdpvt->pasynUser,command,13,&i);
pasynOctet->setInputEos(asynOctetPvt,pdpvt->pasynUser,"\n",1);
pasynOctet->read(asynOctetPvt,pasynUser,rsp,RSPLEN2,&nread,&reason);


I'm quite sure about the port number, WP960 uses also 1861

I'm using epics R3.14.10 and asyn 4-10

HTH

Peter
===========================
Peter Müller
in
Physikalisch-Technische Bundesanstalt
O.E. 7.11 Röntgenradiometrie @ BESSY2
Abbestraße 2-12

D-10587 Berlin

Tel.: +49 30 6392 5092
Fax: +49 30 6392 5082

eMail: [email protected]
===========================

Navigate by Date:
Prev: RE: cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jeff Hill
Next: stream without asynPort emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE : Error vxi11 with Lecroy 760Zi DENIS Jean-françois
Next: no envPaths in application of base 3.14.11 Mi Qingru
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  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 ·