Experimental Physics and
| |||||||||||||||
|
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] ===========================
| ||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |