完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
>来自:Jaap Schuurmans>主题:Re:Vrf:将HPGL从讲话者读到文件中>>>>>我希望能够阅读HP8594E >>>>频谱分析仪(或其他任何产品)生成的HPGL
具有HPGL绘图的仪器>>>>>功能),并将结果存储到文件中。 我更喜欢使用Direct I / O的>>>>>解决方案。 刚刚触发。 花了一段时间。我用飞利浦的PM3382组合镜做同样的事情(至少我认为是一样的)。 我没有太多问题。直接I / O盒看起来像这样: - 写文字“HCOPY:DATA?” EOL;查询范围 - READ BIN dummy BYTE ARRAY:2;丢弃两个字节标头 - READ TEXT输出STR;实际输出 - EXECUTE CLEAR - EXECUTE LOCAL,直接I / O配置如下:READ TERMINATOR“”EOL SEQUENCE“ “这有什么帮助吗?亲切的问候,Johannes Mulder飞利浦电子光学大楼AAE-room 21 POB 218 5600 MD ACHT,荷兰电话:+31 40 2766947传真+31 40 2766820 以上来自于谷歌翻译 以下为原文 > From: Jaap Schuurmans > Subject: Re: Vrf: Reading HPGL from a talker into a file > > > > > I would like to be able te read the HPGL produced by my HP8594E > > > > > Spectrum Analyzer (or any other instrument with HPGL plotting > > > > > capabilities), and store the results to a file. I would prefer a > > > > > solution using Direct I/O. Just triggered. It took a while. I'm doing the same (at least I think it is the same) with a PM3382 combiscope from Philips. I didn't have much problem with it. The direct I/O box looks like this: - WRITE TEXT "HCOPY:DATA?" EOL ;query to scope - READ BIN dummy BYTE ARRAY:2 ;two byte header thrown away - READ TEXT output STR ;the actual output - EXECUTE CLEAR - EXECUTE LOCAL while the Direct I/O configuration looks like: READ TERMINATOR " " EOL SEQUENCE " " Is this of any help? With kind regards, Johannes Mulder Philips Electron Optics Building AAE-room 21 P.O.B. 218 5600 MD ACHT, the Netherlands tel +31 40 2766947 fax +31 40 2766820 |
|
相关推荐
4个回答
|
|
来自:Greg Goebel / HP-MXD gvg@lvld.hp.com / 970-679-2305 / FAX 970-679-5971to:Jaap Schuurmansdate:1996年6月4日星期二0901 MDT> Hello All,>>我曾希望有人会
由HPGL上的一些先前的消息触发,但没有人...... .... >>我希望能够读取HP8594E>频谱分析仪(或任何其他具有HPGL绘图的仪器)生成的HPGL >功能),并将结果存储到文件中。 我更喜欢使用Direct I / O的解决方案。 这应该很简单 - 只需做一个PLOT? 命令(或任何SA请求)然后将READ TEXT写回字符串数组。 到目前为止你尝试了什么?>谢谢> - > + ------------------------------------ ---------------------------------------- +> | Jaap Schuurmans飞利浦半导体公司|> | 电子邮件:schuurmn@sce.philips.nl PCALE |> | Seri:schuurmn @ nlsce1建筑BE445 |> | 电话:+ 31-40-27 22058 P.O. BOX 218 |> | 传真:+ 31-40-27 22764 5600 MD荷兰埃因霍温|> + -------------------------------- -------------------------------------------- +> 以上来自于谷歌翻译 以下为原文 from: Greg Goebel / HP-MXD gvg@lvld.hp.com / 970-679-2305 / FAX 970-679-5971 to: Jaap Schuurmans date: Tuesday, 04 June 1996 0901 MDT > Hello All, > > I had hoped someone would be triggered by some of the previous messages on HPGL > to ask, but no one was....: > > I would like to be able te read the HPGL produced by my HP8594E > Spectrum Analyzer (or any other instrument with HPGL plotting > capabilities), and store the results to a file. I would prefer a > solution using Direct I/O. That should be easy -- just do a PLOT? command (or whatever the SA requests) and then do a READ TEXT back into a string array. What have you tried so far? > thanks > -- > +----------------------------------------------------------------------------+ > | Jaap Schuurmans Philips Semiconductors B.V. | > | E-mail: schuurmn@sce.philips.nl PCALE | > | Seri: schuurmn@nlsce1 Building BE445 | > | Phone: +31-40-27 22058 P.O. BOX 218 | > | fax : +31-40-27 22764 5600 MD Eindhoven, The Netherlands | > +----------------------------------------------------------------------------+ > |
|
|
|
Jaap Schuurmans写道:>大家好,>>我曾希望有人会被以前的一些消息触发> HPGL>来询问,但没有人...... .... >>我希望能够阅读
由HP8594E>频谱分析仪(或任何其他具有HPGL绘图功能的仪器)生成的HPGL,并将结果存储到文件中。 我更喜欢使用Direct I / O的解决方案。 假设您可以向仪器发送命令,告诉它通过HPIB总线向您发送一个HPGL流(可能不太可能),使用DIO WRITE和READ,这是相对简单的。只需在HPGL中读取字符串数组并存储在 文件。 甚至可以按字符读取字符并存储在文件中。 您不需要解释HPGL-只需将其读入并将其写入文件即可。但是,我所知道的“HPGL”仪器一般不会将HPGL命令返回到总线,而是他们想要接受 “控制器”姿势并将它们直接发送给绘图仪。不知道你可以用8594做什么 - 检查它的编程手册.Stan Bischof -------------------- -------------------------------------------------- Stan Bischof Hewlett Packard Company 707-577-3994 stanb@sr.hp.com--------------------------------- ------------------------------------- 以上来自于谷歌翻译 以下为原文 Jaap Schuurmans wrote: > Hello All, > > I had hoped someone would be triggered by some of the previous messages on > HPGL > to ask, but no one was....: > > I would like to be able te read the HPGL produced by my HP8594E > Spectrum Analyzer (or any other instrument with HPGL plotting > capabilities), and store the results to a file. I would prefer a > solution using Direct I/O. Assuming that you can send a command to the instrument that tells it to send an HPGL stream to you via the HPIB buss (perhaps unlikely) then this is relatively trivial using DIO WRITE and READ. Simply read in the HPGL as a string array and store in a file. Or even read character by character and store in a file. You don't need to interpret the HPGL- simply read it in and write it to a file. However, The "HPGL capable" instruments that I am aware of do not return the HPGL commands to the bus in general but rather they want to take on a "controller" posture and send them directly to a plotter. No idea of what you can do with the 8594- check it's programming manual. Stan Bischof ---------------------------------------------------------------------- Stan Bischof Hewlett Packard Company 707-577-3994 stanb@sr.hp.com ---------------------------------------------------------------------- |
|
|
|
嗨Greg(和Stan),>>我希望能够读取HP8594E >>频谱分析仪(或任何其他具有HPGL绘图功能的仪器)生成的HPGL,并将结果存储到文件中。
我更喜欢使用Direct I / O的解决方案。 >>那应该很简单 - 只做一个PLOT? 命令(或任何SA请求)>然后将READ TEXT写回字符串数组。 你到目前为止尝试了什么?我曾经尝试过,(虽然它已经是一段时间了),但是Stan Bishop对我说了些什么:在我的专题文章中我提到了“说话者”,但我想我一直在试图让SA成为 控制器和地址绘图仪。 我将尝试找到命令来放置SA intalker模式i.s.o. 控制器,并让你发布结果。另一方面:我认为我至少有一个值得注意的“只能说话”的仪器(MAURY MICROWAVE MT 2075噪音分析仪)有没有办法解决这个问题? - + - -------------------------------------------------- ------------------------- + | Jaap Schuurmans飞利浦半导体公司|| 电子邮件:schuurmn@sce.philips.nl PCALE || Seri:schuurmn @ nlsce1建筑BE445 || 电话:+ 31-40-27 22058 P.O. 方框218 || 传真:+ 31-40-27 22764 5600 MD荷兰埃因霍温| + --------------------------------- ------------------------------------------- + 以上来自于谷歌翻译 以下为原文 Hi Greg (and Stan), > > I would like to be able te read the HPGL produced by my HP8594E > > Spectrum Analyzer (or any other instrument with HPGL plotting > > capabilities), and store the results to a file. I would prefer a > > solution using Direct I/O. > > That should be easy -- just do a PLOT? command (or whatever the SA requests) > and then do a READ TEXT back into a string array. What have you tried so far? I tried just that, (though it was a while ago), but Stan Bishop reminded me of something: In my subject line I mentioned 'talker', but I think I have always been trying to let the SA be controller and address the plotter. I'll try to find the commands to put the SA in talker mode i.s.o. controller, and keep you posted on the results. On the other hand: I think I have at least one intrument which is not able to 'talk only' (MAURY MICROWAVE MT 2075 Noise analyzer) Is there any way to handle that? -- +----------------------------------------------------------------------------+ | Jaap Schuurmans Philips Semiconductors B.V. | | E-mail: schuurmn@sce.philips.nl PCALE | | Seri: schuurmn@nlsce1 Building BE445 | | Phone: +31-40-27 22058 P.O. BOX 218 | | fax : +31-40-27 22764 5600 MD Eindhoven, The Netherlands | +----------------------------------------------------------------------------+ |
|
|
|
嗨格雷格,>>>>>>我希望能够读取HP8594E >>>频谱分析仪(或任何其他具有HPGL绘图功能> >>功能的仪器)生成的HPGL,并将结果存储到
文件。 我更喜欢使用直接I / O的>>>解决方案。 >>>我一直忘记VEE与其他类型的控制器不同,它不允许在EOI上终止>,这意味着它不知道数据流何时终止。 由于设备通常使用EOI终止其绘图输出,>在其他控制器中这很简单。我已经考虑从VEE调用另一个程序,他接受了HP-IB的控制,并在完成后保存HPGL或其他数据 ,并返回控制权toVEE。 这样的事情是可行的吗? >我此时唯一可以建议的是将数据读入字节数组>并在总线I / O监视器上观察>绘图的终止条件是什么。如果我这样做,则会发生超时,并且 没有创建输出容器。 即使错误输出终端处理错误条件。>另一件事(虽然我不知道它是否会起作用)是在一个循环中读取设备中的>字符串,一次读取一个字符串并保存> 它到一个文件或字符串数组,然后有一个超时引脚,它突破了最后一个字符串后的循环。 这里的问题是,每次你在这样的循环中读取时,直接I / O对象将重新寻址总线;>大多数(尽管不是全部)设备将破坏其命令输出并出现错误>当它们出现时 readdressed.This工作,但它很慢,因为readdressing需要时间。 我的情节量大约是2.5 kB,所以你理解....并且完成条件仍然是问题:我怀疑它是,我必须测试每个字节....占用更多时间....如果有人有建议 对于外部程序或不同的解决方法,我很感激。 (而格雷格,你的帮助沙发当然是非常受欢迎的)再见 - + --------------------------------- ------------------------------------------- + | Jaap Schuurmans飞利浦半导体公司|| 电子邮件:schuurmn@sce.philips.nl PCALE || Seri:schuurmn @ nlsce1建筑BE445 || 电话:+ 31-40-27 22058 P.O. 方框218 || 传真:+ 31-40-27 22764 5600 MD荷兰埃因霍温| + --------------------------------- ------------------------------------------- + 以上来自于谷歌翻译 以下为原文 Hi Greg, > > > > > > I would like to be able te read the HPGL produced by my HP8594E > > > > Spectrum Analyzer (or any other instrument with HPGL plotting > > > > capabilities), and store the results to a file. I would prefer a > > > > solution using Direct I/O. > > > I keep forgetting that VEE, unlike other types of controllers, does not allow > termination on EOI, meaning that it has no idea of when the data stream > terminates. As devices often do terminate their plot outputs with an EOI, > this is simple to do in other controllers. I have thought about calling another program from VEE, who takes contol of the HP-IB, and when finished, saves the HPGL or other data, and returns control to VEE. Is something like that feasable? > The only thing I can suggest at this time is to read data into a byte array > and observe on the Bus-I/O monitor what the termination conditions for the > plot are. If I do this, a time out occurs, and no output container is created. Even when the error condition is handled by a error output terminal. > Another thing to try (though I do not know if it will work) is to read the > strings from the device in a loop that reads one string at a time and saves > it to a file or string array, and then has a timeout pin that breaks out of > the loop after the last string. The problem here is that every time you do > a read in a loop like this, the Direct I/O object will re-address the bus; > most (though not all) devices will break their command outputs with an error > when they are readdressed. This works, but it is slow, because the readdressing takes time. My plot amounts to about 2.5 kB, so you understand....and the finishing condition still is a problem: I suspect it is , and I have to test each byte....takes up even more time.... If anyone has suggestions for an external program or a different work around, I'd appreciate it. (And Greg, your help sofar is of course also greatly appreciated) bye -- +----------------------------------------------------------------------------+ | Jaap Schuurmans Philips Semiconductors B.V. | | E-mail: schuurmn@sce.philips.nl PCALE | | Seri: schuurmn@nlsce1 Building BE445 | | Phone: +31-40-27 22058 P.O. BOX 218 | | fax : +31-40-27 22764 5600 MD Eindhoven, The Netherlands | +----------------------------------------------------------------------------+ |
|
|
|
只有小组成员才能发言,加入小组>>
2111 浏览 1 评论
1873 浏览 1 评论
1727 浏览 5 评论
2599 浏览 3 评论
将设备连接到PC并通过asic格式读取数据然后我的网络分析仪挂起
1571 浏览 4 评论
519浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
374浏览 0评论
1434浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
285浏览 0评论
2267浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-14 12:58 , Processed in 1.092227 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号