是德科技
直播中

李秀云

7年用户 815经验值
私信 关注
[问答]

vrf文件传输通过GPIB作为READ BINARY直到EOF

Re:[vrf]文件传输通过GPIB ==> *作为READ BINARY直到EOF不可能????对于文件I / O事务,单击“Size:”按钮,它将变为“To End”(
和数量为“*”)。
对于GPIB I / O事务,EOF没有定义(不是我所知),所以同样的技巧不起作用.----- Message d'origine ----- De:hermann.ruckerbauer@infineon。
com [mailto:hermann.ruckerbauer@infineon.com]日期:13 janvier 2003 08:19我已经尝试过Phil发送的程序(非常感谢,请看下面的邮件),但我的VEE(v6)报告错误,
它在binarydata流中检测到#符号。
所以我尝试了纯二进制传输。这个工作正常,如果我知道,传输了多少数据,因为我可以给出我将要传输的1dim数组的大小。不幸的是我不知道文件有多大我
我想看一下高级编程指南,在第526页上说a *会在EOF之前读取二进制文件。
但是当试图将一个starin写入直接IO对象的相应“NumElements”字段时,VEE报告语法错误,当按下OK接受命令时!这是一个错误或手册中的错误还是我只是愚蠢的
正确???? ----- Ursprngliche Nachricht ----- Von:Phil McRevis [mailto:philmcrevis@hotmail.com] Gesendet am:Dienstag,10。Dezember 2002 15:48也许这会有所帮助,但请原谅我
如果这种附件不合适。
尽管我的代码开发时代已基本结束,但我不能偶尔不去看这个组。
这个组是否类似于破解?
也许。
得到修复!无论如何,我曾经使用这个程序通过gpib传输范围图像。
虽然我现在没有可供使用的VEE许可副本来验证这个附件(我想我可以在记事本中查看它),我记得使用abinblock传输来完成这项任务。显然,一些定制将需要基于
您个人范围的潜在命令,但这应该是一个简单的调查。
首先在I / O事务对象中发出命令以发送范围图像,然后执行字节数组格式的binblock读取。我还记得更喜欢这个简单的小程序,因为我没有依赖于IntuiLink。
嘿,如果我能用一个或两个简单的VEE对象完成工作,为什么要用IntuiLink让自己陷入困境?>来自:“Jay Nemeth-Johannes”| jayj@ventureconsult.com >>回复:“Jay Nemeth-Johannes”
|jayj@ventureconsult.com >>>我认为你需要更加具体才能得到答案。>范围的IntuiLink使用一组记录的范围命令来>传输位图屏幕图像。
频谱分析仪对打印机转储使用类似的>功能,然后解释pcl代码以重新创建>图像。
在这两种情况下,获取屏幕图像的命令都存在于仪器中。>>如果您对非安捷伦仪器需要相同的操作,则必须阅读编程手册并查看是否存在该功能。
如果>它没有,通常就是这种情况,你唯一的选择是拉动跟踪>数据并用外部图形>包手动创建屏幕的其余部分,然后重新导入。>>> ----
- 原始消息----->来自:Dale Hauck [mailto:dhauck@Anadigics.com]>发送日期:2002年12月4日星期三下午1:32 >>特别是图像文件,从仪器中捕获屏幕。>安捷伦使用
Intuilink克服了这一点。
我们可以为非安捷伦>仪器做些什么?
我无法获得Intuilinks屏幕截图的源代码。>任何人?>关键似乎是编辑标题信息以反映>适当的文件格式.---您目前订阅了vrf:r***@soco.agilent
.com订阅时发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。发送消息
在此邮件列表中,请发送电子邮件至“vrf@it.lists.it.agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  Re: [vrf] File transfer over GPIB ==> * as READ BINARY until EOF not possible ????With a file I/O transaction, you click on the "Size:" button and it changes to "To End" (and the quantity to "*").  With a GPIB I/O transaction, the EOF is not defined (not to my knowledge), so the same trick does not work.-----Message d'origine-----De: hermann.ruckerbauer@infineon.com [mailto:hermann.ruckerbauer@infineon.com]Date: 13 janvier 2003 08:19I have tried the program send by Phil (thanks a lot, see his mail below),but my VEE (v6) is reporting an error, when it detects a # sign in the binarydata flow. So I tried the pure binary transfer.This works fine, if I do know, how much data is transfered, as I can givethe size of the 1dim array I'm going to transfer.unfortinally I do not know how big the file is I would like to transfer.Therefore I took a look to the advanced programming guide which says on page526 that a * will do a read binary until EOF. But when trying to write a starinto the corresponding "NumElements" field of the direct IO object VEE isreporting a syntax error, when pressing OK to accept the command!Is this a bug OR something wrong in the handbook OR am I just to stupid douse it correct ????-----Ursprngliche Nachricht-----Von: Phil McRevis [mailto:philmcrevis@hotmail.com]Gesendet am: Dienstag, 10. Dezember 2002 15:48Perhaps this will help, but PLEASE excuse me if this attachment is notappropriate.  Even though my days of code development are largely over, Ican't break away from looking at this group every now and then.  Is thisgroup similar to crack?  Maybe.  Gotta get a fix!Anyway, I used to use this program to transfer scope images via gpib.  WhileI don't have a licensed copy of VEE at my disposal right now to verify thisattachment (I suppose I could look at it in notepad), I recall using abinblock transfer to accomplish this task.Obviously, some customization will be necessary based on the potentialunique commands of your individual scope(s), but that should be a simpleinvestigation.  First issue the command in an I/O transaction object to sendthe scope image, then perform a binblock read of byte array format.I also recall preferring this simple little program because I didn't likethe dependence of IntuiLink.  Hey, if I can get the job done with one or twosimple VEE objects, why bog myself down with IntuiLink?>From: "Jay Nemeth-Johannes" [email=%7Cjayj@ventureconsult.com]|jayj@ventureconsult.com[/email]>>Reply-To: "Jay Nemeth-Johannes" [email=%7Cjayj@ventureconsult.com]|jayj@ventureconsult.com[/email]>>>I think you will need to be more specific in order to get an answer.>IntuiLink for the scope uses a set of documented scope commands for>transferring a bitmap screen image.  The spectrum analyzers use a similar>capability for a printer dump and then interpret the pcl codes to recreate>the image.  In both cases, the commands to get the screen image exist in>the instrument.>>If you want the same thing for a non-Agilent instrument, you are going to>have to read the programming manual and see if the capability exists.  If>it doesn't, which is often the case, your only option is to pull the trace>data and manually create the rest of the screen with an external graphics>pack and then re-import.>>>-----Original Message----->From: Dale Hauck [mailto:dhauck@Anadigics.com]>Sent: Wednesday, December 04, 2002 1:32 PM>> Specifically image files, screen capture from an instrument.>Agilent uses Intuilink to overcome this. What can we do for non- Agilent>instruments? I am unable to get source code for Intuilinks screen capture.>Anyone?> The key seems to be in editing the header information to reflect the>appropriate file format.---You are currently subscribed to vrf as: r***@soco.agilent.comTo subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".  

回帖(1)

李秀云

2018-9-6 10:40:22
Hello all,

I have tried the program send by Phil (thanks a lot, see his mail below),
but my VEE (v6) is reporting
an error, when it detects a # sign in the binary data flow. So I tried the
pure binary transfer.
This works fine, if I do know, how much data is transfered, as I can give
the size of
the 1dim array I'm going to transfer.
unfortinally I do not know how big the file is I would like to transfer.

Therefore I took a look to the advanced programming guide which says on page
526 that a * will
do a read binary until EOF. But when trying to write a star into the
corresponding "NumElements"
field of the direct IO object VEE is reporting a syntax error, when pressing
OK to accept
the command!


Is this a bug OR something wrong in the handbook OR am I just to stupid do
use it correct ????

thx

Hermann

Infineon Technologies
Hermann Ruckerbauer
MP TI PD DES 5 / MchB / Room 3448
Balanstrasse 73
D-81541 Munich
Germany
Phone:          +49 (89) 234 25041
Fax.:            +49 (89) 234 715757
e-mail:          Hermann.Ruckerbauer@infineon.com



-----Ursprngliche Nachricht-----
Von: Phil McRevis [mailto:philmcrevis@hotmail.com]
Gesendet am: Dienstag, 10. Dezember 2002 15:48
An: VEE vrf
Betreff: [vrf] RE: File transfer over GPIB

Perhaps this will help, but PLEASE excuse me if this attachment is not
appropriate.  Even though my days of code development are largely over, I
can't break away from looking at this group every now and then.  Is this
group similar to crack?  Maybe.  Gotta get a fix!

Anyway, I used to use this program to transfer scope images via gpib.  While
I don't have a licensed copy of VEE at my disposal right now to verify this
attachment (I suppose I could look at it in notepad), I recall using a
binblock transfer to accomplish this task.

Obviously, some customization will be necessary based on the potential
unique commands of your individual scope(s), but that should be a simple
investigation.  First issue the command in an I/O transaction object to send
the scope image, then perform a binblock read of byte array format.

I also recall preferring this simple little program because I didn't like
the dependence of IntuiLink.  Hey, if I can get the job done with one or two
simple VEE objects, why bog myself down with IntuiLink?

Good luck...Phil.




>From: "Jay Nemeth-Johannes"
>Reply-To: "Jay Nemeth-Johannes"
>To: "VEE vrf"
>Subject: [vrf] RE: File transfer over GPIB
>Date: Fri, 6 Dec 2002 08:46:41 -0700
>
>Hi Dale,
>
>I think you will need to be more specific in order to get an answer.
>IntuiLink for the scope uses a set of documented scope commands for
>transferring a bitmap screen image.  The spectrum analyzers use a similar
>capability for a printer dump and then interpret the pcl codes to recreate
>the image.  In both cases, the commands to get the screen image exist in
>the
>instrument.
>
>If you want the same thing for a non-Agilent instrument, you are going to
>have to read the programming manual and see if the capability exists.  If
>it
>doesn't, which is often the case, your only option is to pull the trace
>data
>and manually create the rest of the screen with an external graphics pack
>and then re-import.
>
>   Best regards,
>       Jay Nemeth-Johannes
>       Complete Test
>       720 SW 14th Street
>       Loveland, Colorado 80537
>       (970) 663-0006
>       www.completetest.com
>
>-----Original Message-----
>From: Dale Hauck [mailto:dhauck@Anadigics.com]
>Sent: Wednesday, December 04, 2002 1:32 PM
>To: VEE vrf
>Subject: [vrf] File transfer over GPIB
>
>
>         Specifically image files, screen capture from an instrument.
>Agilent
>uses Intuilink to overcome this. What can we do for non- Agilent
>instruments? I am unable to get source code for Intuilinks screen capture.
>Anyone?
>         The key seems to be in editing the header information to reflect
>the
>appropriate file format.
>Regards,
>Dale
>
>---
>You are currently subscribed to vrf as: jayj@ventureconsult.com
>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
>To send messages to this mailing list,  email
>"vrf@it.lists.it.agilent.com".
>If you need help with the mailing list send a message to
>"owner-vrf@it.lists.it.agilent.com".
>
>
>
>---
>You are currently subscribed to vrf as: philmcrevis@hotmail.com
>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
>To send messages to this mailing list,  email
>"vrf@it.lists.it.agilent.com".
>If you need help with the mailing list send a message to
>"owner-vrf@it.lists.it.agilent.com".


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分