Mike, Have you checked to make sure the address is the same? Address 18 is hardcoded in your program. I know the 8566 is always at 18. I think 18 may be the default for the 859x series, but you may need to double check. I use the MKA?; command with the 8594, it should be common with the entire 859x series. You may have to turn the marker on before you can read it, the command is MKACT; and I always use the MKPK; command before reading the peak. You may need to put the instrument in the remote mode first. In my software (VB using National Instruments driver) it is the SetRWLS function. Don't know what it would be with HP Basic. Bob Richards, NCT.
Mike Hurley <mikehur...@meadtest.com> wrote: Here is a question for the older generationas a deviation from all these questions about standards. HP362 computer running HP BASIC I needed to knock together a routine to drive an oscillator and spectrum analyser and thought this would be a simple way to do things. Anyhow, I find that whilst I can write to and read from an HP8568 or an HP8566, I can only write to an HP8564E or an HP8591EM. The program hangs at the READ statement. As far as I can tell the command set is the same for all four analysers. The question is, is it a hardware incompatibility or is it a protocol problem? Example is: OUTPUT 718;"MKA?;" ENTER 718;Val Program hangs here with 8564E and 8591EM, but is Ok with 8568 and 8566 Any ideas appreciated. Mike ---------------------------------------------------------------- This message is from the IEEE Product Safety Engineering Society emc-pstc discussion list. Website: http://www.ieee-pses.org/ To post a message to the list, send your e-mail to emc-p...@ieee.org Instructions: http://listserv.ieee.org/listserv/request/user-guide.html List rules: http://www.ieee-pses.org/listrules.html For help, send mail to the list administrators: Ron Pickard: emc-p...@hypercom.com Scott Douglas emcp...@ptcnh.net For policy questions, send mail to: Richard Nute: ri...@ieee.org Jim Bacher: j.bac...@ieee.org All emc-pstc postings are archived and searchable on the web at: http://www.ieeecommunities.org/emc-pstc ---------------------------------------------------------------- This message is from the IEEE Product Safety Engineering Society emc-pstc discussion list. Website: http://www.ieee-pses.org/ To post a message to the list, send your e-mail to emc-p...@ieee.org Instructions: http://listserv.ieee.org/listserv/request/user-guide.html List rules: http://www.ieee-pses.org/listrules.html For help, send mail to the list administrators: Ron Pickard: emc-p...@hypercom.com Scott Douglas emcp...@ptcnh.net For policy questions, send mail to: Richard Nute: ri...@ieee.org Jim Bacher: j.bac...@ieee.org All emc-pstc postings are archived and searchable on the web at: http://www.ieeecommunities.org/emc-pstc