完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Hello Hugo,如果协议有标头中的字节数(即数据包大小指示符),那么假设标题总是固定的字节数,那么首先要对标准数字进行二进制读取。
头文件的字节然后解析并计算要读取多少字节,然后对该字节数进行二进制读取和Voila'....我们有一个更复杂的协议来处理这里,DF1.Which没有数据包大小指示符 ,数据包以转义序列开始,以转义序列结束,因此我们必须一次读取一个字节,并且必须分析每个字节(真正的皇室痛苦 - 但PC今天非常快,所以它 不是很明显).Regards .... Rob“Hugo Renkema”于06/05/2003 06:33:38 AMPlease回应“Hugo Renkema”To:“VEE vrf”cc:Subject:[vrf] No read terminator 符号RS232 communicationHello everyone,这是我在vrf邮件列表中的第一篇文章。 如果没有,我希望我的问题得到很好解释; 随时可以询问更多信息。我正在使用HP-VEE 6.01通过RS232与设备通信。 通信发生的协议没有EOL符号。 message-bodydoes包含NoB(字节数),表示themessage的长度。当从PC向此设备发送命令时,这在HP-VEE中不是问题。 设备发回响应时会发生此问题。 此响应也没有EOL符号。 因此,HP-VEE不知道何时收到总消息。这导致响应显示在BUS I / O MONITOR中,但在DIRECT IO组件中没有读命令。这是由于 事实上,必须填写的读取终止符对于每个单独的响应是不同的。问题很简单(并且希望答案也是如此)。 如何读取从COM端口获取的astring,当主题的最后一个字节未知时使用HP-VEE。事先谢谢,Hugo RenkemaEmail:tkip@gastec.nl---您目前订阅的是vrf:ramarquardt @ ra.rockwell.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” .---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“离开” -vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Hugo, If the protocol has, as you say, the number of bytes in the header (viz A packet size indicator), then assuming the header is always a fixed number of bytes, you first do a binary read of the standard number of bytes for the header then parse that and compute how many more bytes to read, then do a binary read for that number of bytes and Voila'.... We have a bit more complex protocol to deal with here, DF1. Which has no packet size indicator, the packet starts with an escape sequence and ends with an escape sequence, so we have to read it one byte at a time and have to analyze each byte as it comes in (a real royal pain - but the PC's are pretty fast today so it is not very noticeable). Regards ....Rob "Hugo Renkema" on 06/05/2003 06:33:38 AM Please respond to "Hugo Renkema" To: "VEE vrf" cc: Subject: [vrf] No read terminator symbol RS232 communication Hello everyone, This is my first post in the vrf Mailing List. I hope my problem is explained well, if not; feel free to ask for more information. I am using HP-VEE 6.01 to communicate with a device via RS232. The protocol by which the communication takes place has no EOL-symbol. The message-body does contain a NoB (Number of Bytes) which indicates the length of the message. When sending commands from PC to this device, this is not a problem in HP-VEE. The problem occurs when the device sends back a response. This response also has no EOL-symbol. Therefore HP-VEE doesn't know when the total message is received. This results in the fact that the response is shown in the BUS I/O MONITOR, but not available with a read-command in a DIRECT IO component. This is due to the fact that the read terminator, which must be filled in, is different for every single response. The question is simple (and hopefully the answer too). How to read a string, obtained from a COM-port, using HP-VEE when the last byte of the message is unknown. Thanks in advance, Hugo Renkema Email: tkip@gastec.nl --- You are currently subscribed to vrf as: ramarquardt@ra.rockwell.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: r***@soco.agilent.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". |
|
相关推荐
8个回答
|
|
大家好...有人知道是否可以以编程方式传递VEE对象属性(例如背景颜色?)....我的程序要求对象的颜色根据文本输入(例如“red”,“red”)而变化
绿色“等ora价值1,2,3等.... sugestions非常感谢.RgdsGonzalo ---您目前订阅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”。 以上来自于谷歌翻译 以下为原文 Hello all... Does anybody know if it is possible to programatically pass a VEE object property (such as background color?)....my program requires that the color of an object change based on either text input such as "red", "green" etc or a value 1,2,3 etc....sugestions are greatly appreciated. Rgds Gonzalo --- 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". |
|
|
|
正如沃伦所说,你不能在运行时改变颜色。
除颜色外,您可以调用相同的不同UserFunction。 但是,我会质疑软件维护难以保持不同版本的同步,以便改变颜色的便利性。注意, - Bill OssmannPhilips Ultrasounde-mail:bill.ossmann@philips.com To:“VEE vrf”cc :( bcc:Bill Ossmann / ANR / MS / PHILIPS)主题:[vrf] RE:对象属性“Pickles,Warren”分类:06/03/2003 03:27请回复“Pickles,Warren”Gonzalo,你无法改变 VEE对象在运行时的背景颜色。您可以做的最好的事情是使用颜色警报; 这让你有三种不同的颜色(高颜色,中间颜色,低颜色) - 然后你有一个文本显示,你可以在运行时从三种颜色中选择一种颜色。希望有所帮助.Warren -----原创 消息-----来自:Gonzalo Urday [mailto:gurday@negenex.com]发送时间:2003年6月3日02:25To:VEE vrfSubject:[vrf] OBJECT PROPERTIESHello all ...有没有人知道是否有可能以编程方式通过 一个VEE对象属性(如背景颜色?)....我的程序要求对象的颜色根据文本输入改变,如“红色”,“绿色”等ora值1,2,3等.... 非常感谢sugstions.RgdsGonzalo ---您目前订阅了vrf:Warren.Pickles@tycoelectronics.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“.---您目前订阅了vrf:bill.ossmann@philips.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”.---您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 As Warren says, you can't change the color at run-time. You can call different UserFunctions that are identical except for the colors. However, I would question whether the software maintenance headaches to keep the different versions synchronized are worth the convenience of the changing colors. Regards, -- Bill Ossmann Philips Ultrasound e-mail: bill.ossmann@philips.com To: "VEE vrf" cc: (bcc: Bill Ossmann/ANR/MS/PHILIPS) Subject: [vrf] RE: OBJECT PROPERTIES "Pickles, Warren" Classification: 06/03/2003 03:27 Please respond to "Pickles, Warren" Gonzalo, You can't change a VEE object's background colour at run-time. The best you can do is use a color alarm; that lets you have three different colours (high color, mid color, low color) - then what you have is a text display where you can choose from one of three colours, at run-time. Hope that helps. Warren -----Original Message----- From: Gonzalo Urday [mailto:gurday@negenex.com] Sent: 03 June 2003 02:25 To: VEE vrf Subject: [vrf] OBJECT PROPERTIES Hello all... Does anybody know if it is possible to programatically pass a VEE object property (such as background color?)....my program requires that the color of an object change based on either text input such as "red", "green" etc or a value 1,2,3 etc....sugestions are greatly appreciated. Rgds Gonzalo --- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.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: bill.ossmann@philips.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: [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". |
|
|
|
Gonzalo - >我的程序要求对象的颜色>基于>文本输入(如“red”,“green”>等)或值1,2,3等更改等等。可能最简单的方法是转储
VEE对象并使用anActiveX控件代替。 他们中的大多数都有一个“背景”属性,用于设置背景的颜色。 不幸的是,窗口背景和textbackground是两个不同的东西,如果你没有访问TextBackground或DrawingMode属性,你有时可以使用不同的背景和文本背景颜色。你可以使用标准的Windows GDI调用做任何你想做的事情,但是 结果是高度(VEE)依赖,有时(取决于你使用的是什么电话)9x / NT依赖。我有一个VEE 5确认按钮的解决方案,设置:1)按钮字体。 2)按钮文字。 3)按钮文字颜色。 4)按钮背景颜色。不幸的是它不能传输到其他VEE对象。 如果这有助于我将其发送给您。-SHAWN ----您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 Gonzalo - > my program requires that the color > of an object change based on either > text input such as "red", "green" > etc or a value 1,2,3 etc Probably the easiest way to do this is to dump the VEE object and use an ActiveX control instead. Most of them have a "Background" property that sets the color of the background. Unfortunately window background and text background are two different things, and sometimes you can wind up with different background and text background colors if you don't have access to a TextBackground or DrawingMode property. You can of course do anything you want using standard Windows GDI calls, but the results are highly (VEE) versional dependent and sometimes (depending on what calls you use) 9x/NT dependent. I have a solution for confirmation buttons on VEE 5 that sets: 1) Button font. 2) Button text. 3) Button text color. 4) Button background color. Unfortunately it's not transportable to other VEE objects. If this helps I can send it to you. -SHAWN- --- 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". |
|
|
|
Gonzalo,您无法在运行时更改VEE对象的背景颜色。您可以做的最好是使用颜色警报;
这让你有三种不同的颜色(高颜色,中间颜色,低颜色) - 然后你有一个文本显示,你可以在运行时从三种颜色中选择一种颜色。希望有所帮助.Warren -----原创 消息-----来自:Gonzalo Urday [mailto:gurday@negenex.com]发送时间:2003年6月3日02:25To:VEE vrfSubject:[vrf] OBJECT PROPERTIESHello all ...有没有人知道是否有可能以编程方式通过 一个VEE对象属性(如背景颜色?)....我的程序要求对象的颜色根据文本输入改变,如“红色”,“绿色”等ora值1,2,3等.... 非常感谢sugstions.RgdsGonzalo ---您目前订阅了vrf:Warren.Pickles@tycoelectronics.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“.---您目前订阅了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”。 以上来自于谷歌翻译 以下为原文 Gonzalo, You can't change a VEE object's background colour at run-time. The best you can do is use a color alarm; that lets you have three different colours (high color, mid color, low color) - then what you have is a text display where you can choose from one of three colours, at run-time. Hope that helps. Warren -----Original Message----- From: Gonzalo Urday [mailto:gurday@negenex.com] Sent: 03 June 2003 02:25 To: VEE vrf Subject: [vrf] OBJECT PROPERTIES Hello all... Does anybody know if it is possible to programatically pass a VEE object property (such as background color?)....my program requires that the color of an object change based on either text input such as "red", "green" etc or a value 1,2,3 etc....sugestions are greatly appreciated. Rgds Gonzalo --- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.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: [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". |
|
|
|
Hello Bill ...感谢您的回复......问题正是您提到的......(相同用户功能的数量并将它们合并)...如果您看一下VEE作为示例的游戏,每个图形用户
功能被复制N次,这在我的情况下肯定是一场噩梦...我正在开发一个“闹钟图”并且闹钟的颜色非常重要......我需要大约400个不同的对象,它们会根据警报显示颜色...... 如果M特定警报,那么我将需要400 * M不同的用户功能!!!!我所做的是创建8个用户功能,每个用50个颜色的警报对象,(总共400 * 3 = 1200种不同的组合)问题 是这种方法只允许三种不同的颜色...它的工作原理,但它限制了用户可以看到的警报细节.RgdsGonzalo -----原始消息-----来自:bill.ossmann@philips.com [mailto: 发送时间:2003年6月3日星期二上午10:00致:VEE vrfSubject:[vrf] RE:对象物业Warren说,哟 你不能在运行时改变颜色。 除了颜色之外,您可以使用相同的UserFunction。 但是,我要问的是,保持不同版本同步的软件维护难题是否会改变颜色的便利性。注意, - Bill OssmannPhilips Ultrasounde-mail:bill.ossmann@philips.com To:“VEE vrf”cc:(bcc: BillOssmann / ANR / MS / PHILIPS)主题:[vrf] RE:对象属性“Pickles,Warren”分类:06/03/2003 03:27请回复“Pickles,Warren”Gonzalo,你不能改变VEE对象的 在运行时的背景颜色。你能做的最好的是使用颜色警报; 这让你有三种不同的颜色(高颜色,中间颜色,低颜色) - 然后你有一个文本显示,你可以在运行时从三种颜色中选择一种颜色。希望有所帮助.Warren -----原创 消息-----来自:Gonzalo Urday [mailto:gurday@negenex.com]发送时间:2003年6月3日02:25到:VEE vrfSubject:[vrf] OBJECT PROPERTIESHello all ...有没有人知道是否有可能以编程方式通过 一个VEE对象属性(如背景颜色?)....我的程序要求对象的颜色根据文本输入改变,如“红色”,“绿色”等ora值1,2,3等.... 非常感谢sugstions.RgdsGonzalo ---您目前订阅了vrf:Warren.Pickles@tycoelectronics.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“.---您目前订阅了vrf:bill.ossmann@philips.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”.---您目前订阅vrf为:gurday@negenex.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“.---您目前订阅了vrf:r*** @ soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 向t发送消息 他的邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Bill... Thanks for the reply...The problem is exactly what you mention...(the number of identical user functions and to sincronize them)...if you look at the games that VEE has as examples, every graphical user function is replicated N times, which certainly in my case is a nightmare...I am developing an "alarmogram" and alarm's colors are very important...I need somewhere around 400 diferent objects that would display a color based on an alarm...in case of M particular alarms then I would need 400*M diferent user functions!!!! What I have done is to create 8 user functions each with 50 color alarm objects, (for a total of 400*3 = 1200 diferent combinations) the problem is that this approach only allows for three different colors...it works but it limits the alarm detail that a user can see. Rgds Gonzalo -----Original Message----- From: bill.ossmann@philips.com [mailto:bill.ossmann@philips.com] Sent: Tuesday, June 03, 2003 10:00 AM To: VEE vrf Subject: [vrf] RE: OBJECT PROPERTIES As Warren says, you can't change the color at run-time. You can call different UserFunctions that are identical except for the colors. However, I would question whether the software maintenance headaches to keep the different versions synchronized are worth the convenience of the changing colors. Regards, -- Bill Ossmann Philips Ultrasound e-mail: bill.ossmann@philips.com To: "VEE vrf" cc: (bcc: Bill Ossmann/ANR/MS/PHILIPS) Subject: [vrf] RE: OBJECT PROPERTIES "Pickles, Warren" Classification: 06/03/2003 03:27 Please respond to "Pickles, Warren" Gonzalo, You can't change a VEE object's background colour at run-time. The best you can do is use a color alarm; that lets you have three different colours (high color, mid color, low color) - then what you have is a text display where you can choose from one of three colours, at run-time. Hope that helps. Warren -----Original Message----- From: Gonzalo Urday [mailto:gurday@negenex.com] Sent: 03 June 2003 02:25 To: VEE vrf Subject: [vrf] OBJECT PROPERTIES Hello all... Does anybody know if it is possible to programatically pass a VEE object property (such as background color?)....my program requires that the color of an object change based on either text input such as "red", "green" etc or a value 1,2,3 etc....sugestions are greatly appreciated. Rgds Gonzalo --- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.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: bill.ossmann@philips.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: gurday@negenex.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: [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". |
|
|
|
Hello Bill ...感谢您的回复......问题正是您提到的......(相同用户功能的数量并将它们合并)...如果您看一下VEE作为示例的游戏,每个图形用户
功能被复制N次,这在我的情况下肯定是一场噩梦...我正在开发一个“闹钟图”并且闹钟的颜色非常重要......我需要大约400个不同的对象,它们会根据警报显示颜色...... 如果M特定警报,那么我将需要400 * M不同的用户功能!!!!我所做的是创建8个用户功能,每个用50个颜色的警报对象,(总共400 * 3 = 1200种不同的组合)问题 是这种方法只允许三种不同的颜色...它的工作原理,但它限制了用户可以看到的警报细节.RgdsGonzalo -----原始消息-----来自:bill.ossmann@philips.com [mailto: 发送时间:2003年6月3日星期二上午10:00致:VEE vrfSubject:[vrf] RE:对象物业Warren说,哟 你不能在运行时改变颜色。 除了颜色之外,您可以使用相同的UserFunction。 但是,我要问的是,保持不同版本同步的软件维护难题是否会改变颜色的便利性。注意, - Bill OssmannPhilips Ultrasounde-mail:bill.ossmann@philips.com To:“VEE vrf”cc:(bcc: BillOssmann / ANR / MS / PHILIPS)主题:[vrf] RE:对象属性“Pickles,Warren”分类:06/03/2003 03:27请回复“Pickles,Warren”Gonzalo,你不能改变VEE对象的 在运行时的背景颜色。你能做的最好的是使用颜色警报; 这让你有三种不同的颜色(高颜色,中间颜色,低颜色) - 然后你有一个文本显示,你可以在运行时从三种颜色中选择一种颜色。希望有所帮助.Warren -----原创 消息-----来自:Gonzalo Urday [mailto:gurday@negenex.com]发送时间:2003年6月3日02:25To:VEE vrfSubject:[vrf] OBJECT PROPERTIESHello all ...有没有人知道是否有可能以编程方式通过 一个VEE对象属性(如背景颜色?)....我的程序要求对象的颜色根据文本输入改变,如“红色”,“绿色”等ora值1,2,3等.... 非常感谢sugstions.RgdsGonzalo ---您目前订阅了vrf:Warren.Pickles@tycoelectronics.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“.---您目前订阅了vrf:bill.ossmann@philips.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”.---您目前订阅vrf为:gurday@negenex.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“.---您目前订阅了vrf:r*** @ soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 向t发送消息 他的邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Bill... Thanks for the reply...The problem is exactly what you mention...(the number of identical user functions and to sincronize them)...if you look at the games that VEE has as examples, every graphical user function is replicated N times, which certainly in my case is a nightmare...I am developing an "alarmogram" and alarm's colors are very important...I need somewhere around 400 diferent objects that would display a color based on an alarm...in case of M particular alarms then I would need 400*M diferent user functions!!!! What I have done is to create 8 user functions each with 50 color alarm objects, (for a total of 400*3 = 1200 diferent combinations) the problem is that this approach only allows for three different colors...it works but it limits the alarm detail that a user can see. Rgds Gonzalo -----Original Message----- From: bill.ossmann@philips.com [mailto:bill.ossmann@philips.com] Sent: Tuesday, June 03, 2003 10:00 AM To: VEE vrf Subject: [vrf] RE: OBJECT PROPERTIES As Warren says, you can't change the color at run-time. You can call different UserFunctions that are identical except for the colors. However, I would question whether the software maintenance headaches to keep the different versions synchronized are worth the convenience of the changing colors. Regards, -- Bill Ossmann Philips Ultrasound e-mail: bill.ossmann@philips.com To: "VEE vrf" cc: (bcc: Bill Ossmann/ANR/MS/PHILIPS) Subject: [vrf] RE: OBJECT PROPERTIES "Pickles, Warren" Classification: 06/03/2003 03:27 Please respond to "Pickles, Warren" Gonzalo, You can't change a VEE object's background colour at run-time. The best you can do is use a color alarm; that lets you have three different colours (high color, mid color, low color) - then what you have is a text display where you can choose from one of three colours, at run-time. Hope that helps. Warren -----Original Message----- From: Gonzalo Urday [mailto:gurday@negenex.com] Sent: 03 June 2003 02:25 To: VEE vrf Subject: [vrf] OBJECT PROPERTIES Hello all... Does anybody know if it is possible to programatically pass a VEE object property (such as background color?)....my program requires that the color of an object change based on either text input such as "red", "green" etc or a value 1,2,3 etc....sugestions are greatly appreciated. Rgds Gonzalo --- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.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: bill.ossmann@philips.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: gurday@negenex.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: [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". |
|
|
|
|
|
|
|
你好再次Gonzalo,这个例子只使用一个VEE使用功能来创建400distinct警报为了使屏幕不那么繁忙,警报分为4个面板,可以通过显示屏底部的按钮选择。每次单击将调出下一个警报面板
。显示时,警报随机更新。如果在任何警报上单击“更多”,它将弹出一个扩展警报信息面板。警报数据全部存储在全局记录数组中,这将显示与数据分开, 允许将来更改显示而无需触摸alarmdata收集代码。通过添加指示是否显示警报的arecord项目并跟踪状态更改,可以轻松提高效率,因此仅在状态更改时显示警报.Best RegardsRob Marquardthttp ://personalpages.tds.net/~ramarquardt/marqeng.html---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it。 agilent.com” .T o取消订阅发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello again Gonzalo, This example uses only one VEE used function to create 400 distinct alarms To make the screen less busy, the alarms are divided into 4 panels which can be selected with the button on the bottom of the display. Each click will bring up the next alarm panel. While displayed, the alarms are randomly updated. If you click "More" on any alarm, it will pop up an extended alarm information panel. The alarm data is all stored in a global record array, this separates the display from the data, which allows future changes to the display without having to touch the alarm data collection code. This can easily be made more efficient by adding a record item which indicates whether the alarm is displayed and keeps track of state changes so the alarm is only redisplayed on a state change. Best Regards Rob Marquardt http://personalpages.tds.net/~ramarquardt/marqeng.html --- 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". |
|
|
|
只有小组成员才能发言,加入小组>>
2089 浏览 1 评论
1849 浏览 1 评论
1707 浏览 5 评论
2572 浏览 3 评论
将设备连接到PC并通过asic格式读取数据然后我的网络分析仪挂起
1553 浏览 4 评论
496浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
353浏览 0评论
1403浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
268浏览 0评论
2253浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-16 13:14 , Processed in 1.040381 second(s), Total 80, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号