Experimental Physics and
| |||||||||||||||||
|
Second, to summarize the results, I'm still unable to get things to work. The plan is now to replace this obsolete generator with a more modern piece of equipment. On Nov 3, 2006, at 6:26 AM, David Maden wrote: Eric Norum wrote:All my memories of GPIB horrors are returning. Thanks. I don't think that this is an ASYN/devGpib problem. I tried to issue commands through the web interface built in to the E5810A even then was unable to get the 8116A to communicate. I know that the 8116A is capable of GPIB communication because it works with the PCMCIA GPIB interface in a laptop. I know that the E5810A is capable of controlling devices because it can communicate with other devices on the bus.
I downloaded and built this. Here's what I get when I run it: 1) Try to read the complete settings from the 8116A: norume@worthy 366> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr CST device_read result = 15 (I/O time-out) Bytes read = 0 2) Try to read the frequency setting from the 8116A: norume@worthy 367> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr IFRQ device_read result = 15 (I/O time-out) Bytes read = 0 3) Try to read from another device -- it appears that the test program and E5810A really do work: norume@worthy 368> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,4 ./ gpib_test sr "*IDN?" ICS Electronics, 4823B, S/N 011255, Rev X0.10 Ver 99.11.24\n 4) Try the 8116A again -- this time with a newline at the end of the command: norume@worthy 369> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr "IFRQ\n" device_read result = 15 (I/O time-out) Bytes read = 0 norume@worthy 370> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr "CST\n" device_read result = 15 (I/O time-out) Bytes read = 0 5) And again -- this time with a carriage return at the end of the command: norume@worthy 371> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr "CST\r" device_read result = 15 (I/O time-out) Bytes read = 0 norume@worthy 372> GPIB_HOST=GPIB2GWDIAG1 GPIB_ADDR=gpib0,8 ./ gpib_test sr "IFRQ\r" device_read result = 15 (I/O time-out) Bytes read = 0 Looks to be completely unresponsive. :-( I could break out the GPIB bus analyzer and look into this further but time constraints make it easier to just buy a replacement signal generator. Oblibatory ASYN advertisement -- the asynRecord and associated MEDM screens provide similar diagnostics for checking out GPIB communication. -- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |