1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
>是否有格式化函数或>某种方式我可以这样做?查看To String对象。
这是VEE最灵活的格式化doodad。 您可以定义字段宽度,填充字符,左对齐或右对齐,数字格式等。-SHAWN ----如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com” 订阅邮件正文中的单词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 > Is there a format function or > some way I can do this? Look at the To String object. It's the most flexible formatting doodad VEE has. You can define field widths, fill chars, left or right justification, number format.. on and on. -SHAWN- --- To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
相关推荐
10个回答
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
嗨Gregg,我不相信为RS-232和RS-485创建的数据之间有任何区别,差异似乎与硬件相关而不是实际发送的数据。但问题的答案是,我是
使用VEE本身来翻译要发送的数据。 我只是以(头字节)(地址字节)(命令字节)(参数字节)(endbyte)(校验字节)的形式发出消息,并将VEE指向我正在使用的RS-485卡。对Shawn Fessenden: 感谢您的见解! 你对处理driverfailure有什么想法吗? 并且它们是否可能在程序运行的每个实例中都失败?-----原始消息-----来自:Gregg Levine [mailto:gregg.drwho8@gmail.com]发送日期:2006年2月20日,星期一 13:33 To:VRFSubject:Re:[vrf]在直接I / OHello崩溃!Sean,脑海中浮现出一个问题:你用什么来创建RS485数据? 用于VEE的IOLIB确实创建了RS232数据,并且它们确实创建了GPIB / HPIB数据,但就是这样.-- Gregg C Levine gregg.drwho8@gmail.com“这个签名曾经被发现在莫斯科地铁中发布了英文的粗鲁信息。 “你可能还想向我们提供更多信息,以便添加到这个问题。在2月20日,Sean Watson写道:>大家好,>>我有一个VEE Pro程序,我在其中查询一个中等大的>数字(10 -20)通过RS-485通信线路的不同单元。 >在这些单元之间有两个或三个不同的I / O对象具有>多种设置(8位字,无奇偶校验; 7位字,无奇偶校验和> 7位字,偶校验)。 为了发送到这些单元,我创建了一个>所有要发送的单元的数组,并使用循环来循环遍历所有单元。>>我发现这将会工作一段时间,> 12之间的任何地方 48小时但不可避免地会导致VEE冻结在Direct I / O对象上。 冻结之后,VEE必须完全>关闭,并且在重新启动计算机之前,任何时候使用Direct I / O>对象都会以相同的方式锁定。>>我想知道是否有人遇到类似的事情 >过去或有任何想法为什么这种情况不断发生。 任何帮助>非常感谢。> --->您目前订阅了vrf:gregg.drwho8@gmail.com要>订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。 >要取消订阅,请发送一封空白电子邮件至>“leave-vrf@it.lists.it.agilent.com”。>要发送邮件到此邮件列表,请发送电子邮件至“vrf@agilent.com”。>如果您需要帮助 邮件列表发送邮件至>“owner-vrf@it.lists.it.agilent.com”。>在“www.oswegosw.com/vrf_archive /”上搜索“非官方vrf档案”.---您目前订阅 to vrf as:sean.watson@cmp.cpii.com Tosubscribe向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists”。 it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.--- 您目前订阅vrf为:r***@soco.agilent.com要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf @ it。 lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Hi Gregg, I don't believe that there is any difference between the data created for RS-232 and RS-485, the difference seems to be hardware related rather than in the actual data sent. The answer to your question, however is that I am using VEE itself to translate the data for sending. I just have a message in the form of (header byte)(address byte)(command byte)(parameter byte)(end byte)(check byte) and am pointing VEE to the RS-485 card I am using. To Shawn Fessenden: Thankyou for your insight! Do you have any ideas for dealing with driver failure? And is it likely for them to fail in every instance of the program running? -----Original Message----- From: Gregg Levine [mailto:gregg.drwho8@gmail.com] Sent: Monday, February 20, 2006 13:33 To: VRF Subject: Re: [vrf] Crash at Direct I/O Hello! Sean, one question comes to mind: What are you using to create the RS485 data? The IOLIBs for VEE do create RS232 data, and they do of course create GPIB/HPIB data, but that's all. -- Gregg C Levine gregg.drwho8@gmail.com "This signature was once found posting rude messages in English in the Moscow subway." You might also want to supply us with more information to add to this issue. On 2/20/06, Sean Watson wrote: > Hi Everyone, > > I have a VEE Pro program in which I query a moderately large > number(10-20) of different units over an RS-485 communications line. > Between these units there are two or three different I/O objects with > varied settings (8-bit word, no parity; 7-bit word, no parity and > 7-bit word, even parity). To send to these units, I create an array of > all the units to send to and use a loop to cycle through all of them repeatedly. > > What I am finding is that this will work for some amount of time, > anywhere between 12 and 48 hours but will inevitably cause VEE to > freeze at a Direct I/O object. After this freeze, VEE must be totally > shut down and will lock up in the same way any other time a Direct I/O > object is used until the computer has been restarted. > > I was wondering if anyone has encountered something similar in the > past or have any ideas as to why this keeps happening. Any help is > greatly appreciated. > --- > You are currently subscribed to vrf as: gregg.drwho8@gmail.com To > subscribe send a blank email request to "join-vrf@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@agilent.com". > If you need help with the mailing list send a message to > "owner-vrf@it.lists.it.agilent.com". > Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: sean.watson@cmp.cpii.com To subscribe send a blank email request to "join-vrf@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@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email request to "join-vrf@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@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
嗨Gregg,我不相信为RS-232和RS-485创建的数据之间有任何区别,差异似乎与硬件相关而不是实际发送的数据。但问题的答案是,我是
使用VEE本身来翻译要发送的数据。 我只是以(头字节)(地址字节)(命令字节)(参数字节)(endbyte)(校验字节)的形式发出消息,并将VEE指向我正在使用的RS-485卡。对Shawn Fessenden: 感谢您的见解! 你对处理driverfailure有什么想法吗? 并且它们是否可能在程序运行的每个例子中失败?-----原始消息-----来自:Gregg Levine [mailto:gregg.drwho8@gmail.com]发送:2006年2月20日,星期一 13:33 To:VRFSubject:Re:[vrf]在直接I / OHello崩溃!Sean,脑海中浮现出一个问题:你用什么来创建RS485数据? 用于VEE的IOLIB确实创建了RS232数据,并且它们确实创建了GPIB / HPIB数据,但就是这样.-- Gregg C Levine gregg.drwho8@gmail.com“这个签名曾经被发现在莫斯科地铁中发布了英文的粗鲁信息。 “你可能还想向我们提供更多信息,以便添加到这个问题。在2月20日,Sean Watson写道:>大家好,>>我有一个VEE Pro程序,我在其中查询一个中等大的>数字(10 -20)通过RS-485通信线路的不同单元。 >在这些单元之间有两个或三个不同的I / O对象具有>多种设置(8位字,无奇偶校验; 7位字,无奇偶校验和> 7位字,偶校验)。 为了发送到这些单元,我创建了一个>所有要发送的单元的数组,并使用循环来循环遍历所有单元。>>我发现这将会工作一段时间,> 12之间的任何地方 48小时但不可避免地会导致VEE冻结在Direct I / O对象上。 冻结之后,VEE必须完全>关闭,并且在重新启动计算机之前,任何时候使用Direct I / O>对象都会以相同的方式锁定。>>我想知道是否有人遇到类似的事情 >过去或有任何想法为什么这种情况不断发生。 任何帮助>非常感谢。> --->您目前订阅了vrf:gregg.drwho8@gmail.com要>订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。 >要取消订阅,请发送一封空白电子邮件至>“leave-vrf@it.lists.it.agilent.com”。>要发送邮件到此邮件列表,请发送电子邮件至“vrf@agilent.com”。>如果您需要帮助 邮件列表发送邮件至>“owner-vrf@it.lists.it.agilent.com”。>在“www.oswegosw.com/vrf_archive /”上搜索“非官方vrf档案”.---您目前订阅 to vrf as:sean.watson@cmp.cpii.com Tosubscribe向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists”。 it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.--- 您目前订阅vrf为:r***@soco.agilent.com要订阅,请向“join-vrf@lists.it.agilent.com”发送空白电子邮件请求。要取消订阅,请发送空白电子邮件至“leave-vrf @ it。 lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Hi Gregg, I don't believe that there is any difference between the data created for RS-232 and RS-485, the difference seems to be hardware related rather than in the actual data sent. The answer to your question, however is that I am using VEE itself to translate the data for sending. I just have a message in the form of (header byte)(address byte)(command byte)(parameter byte)(end byte)(check byte) and am pointing VEE to the RS-485 card I am using. To Shawn Fessenden: Thankyou for your insight! Do you have any ideas for dealing with driver failure? And is it likely for them to fail in every instance of the program running? -----Original Message----- From: Gregg Levine [mailto:gregg.drwho8@gmail.com] Sent: Monday, February 20, 2006 13:33 To: VRF Subject: Re: [vrf] Crash at Direct I/O Hello! Sean, one question comes to mind: What are you using to create the RS485 data? The IOLIBs for VEE do create RS232 data, and they do of course create GPIB/HPIB data, but that's all. -- Gregg C Levine gregg.drwho8@gmail.com "This signature was once found posting rude messages in English in the Moscow subway." You might also want to supply us with more information to add to this issue. On 2/20/06, Sean Watson wrote: > Hi Everyone, > > I have a VEE Pro program in which I query a moderately large > number(10-20) of different units over an RS-485 communications line. > Between these units there are two or three different I/O objects with > varied settings (8-bit word, no parity; 7-bit word, no parity and > 7-bit word, even parity). To send to these units, I create an array of > all the units to send to and use a loop to cycle through all of them repeatedly. > > What I am finding is that this will work for some amount of time, > anywhere between 12 and 48 hours but will inevitably cause VEE to > freeze at a Direct I/O object. After this freeze, VEE must be totally > shut down and will lock up in the same way any other time a Direct I/O > object is used until the computer has been restarted. > > I was wondering if anyone has encountered something similar in the > past or have any ideas as to why this keeps happening. Any help is > greatly appreciated. > --- > You are currently subscribed to vrf as: gregg.drwho8@gmail.com To > subscribe send a blank email request to "join-vrf@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@agilent.com". > If you need help with the mailing list send a message to > "owner-vrf@it.lists.it.agilent.com". > Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: sean.watson@cmp.cpii.com To subscribe send a blank email request to "join-vrf@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@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email request to "join-vrf@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@agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。
以上来自于谷歌翻译 以下为原文 Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。
以上来自于谷歌翻译 以下为原文 Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1283 浏览 0 评论
2371 浏览 1 评论
2188 浏览 1 评论
2062 浏览 5 评论
2946 浏览 3 评论
1103浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
750浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
921浏览 0评论
1283浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 11:04 , Processed in 1.933227 second(s), Total 114, Slave 98 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号