完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
有没有人使用VEE 5和USB-GPIB接口成功?
Ron PrattTest EngineerSymmetricom2300 Orchard PkwySan Jose CA 95131-1012(408)428 7872 |
|
相关推荐
10个回答
|
|
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。
以上来自于谷歌翻译 以下为原文 Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". |
|
|
|
Monty - VEE不会“按十进制计算”。
使用64或32位实数表示或32或16位整数表示来完成计算; 它们都以二进制形式完成。我认为你想要做的是将计算结果表示/显示为十六进制数。 不幸的是,VEE似乎假设十六进制数字总是整数。 正如其他人所指出的那样,这限制了你目前Int32的极限。 正如其他人也注意到的,你可以一次转换16位 - 但我认为这不适用于非整数值。 (事实上,我不相信如果它们在Int32范围之外它将永远适用于整数 - 但我暂时将它放在一边 - 我对那里的观点没有任何合理的论据,这只是我健康的怀疑论 因此,如果您的计算结果不是整数,那么您就会遇到问题。如果您可以获得Real64的64位表示的实际位,那么您有一个尾数和指数,它们是二进制数,并且 应该很容易转换为十六进制,因此您可以编写一个编译Real64的十六进制表示的例程。 您将不得不阅读64位数字的表示(某处有一个标准)。 而且你必须考虑是否值得付出努力 - 尽管它可能是一种讨厌的方式 - 我想我会自己去。我的方式我发现Windows计算器没有问题将十进制4294967295转换为 十六进制FFFFFFFF。 如果calc.exe公开任何类型的编程接口,那么您可以使用它。 或者你可以启动calc.exe并发送它的击键。 但是你仍然只限于整数值 - 计算器不会处理十六进制中的非整数数字。来自:monty a [mailto:monty1082@gmail.com]发送时间:2006年10月4日13:37转到:VRFS主题:[vrf] 将十进制转换为十六进制!! Hello Everyone,Iwant将一个巨大的十进制数转换为十六进制的4294967295。 我也尝试用十进制进行计算,然后将其转换为十六进制。 我试图使用To string转换它,但它给了我一个错误“无法转换REAL64到INTEGER ERROR NO:464”。 如何将这个巨大的数字转换为十六进制? 我附上了代码。 谢谢Monty .---您目前订阅了vrf:Warren.Pickles@tycoelectronics.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件中添加“subscribe”字样 身体。 要取消订阅,请发送一封空白电子邮件至“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要订阅,请发送电子邮件至:“vrf-request @ lists .it.agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf“ @ agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 Monty - VEE doesn't "do calculations in decimal" as such. Calculations are done using 64 or 32 bit representations of real numbers, or 32 or 16 bit representations of integers; they are all done in binary. I think what you want to do is represent / display the result of your calculations as a hex number. Unluckily for you, VEE seems to assume that hex numbers will always be integers. That limits you to the limits of Int32 at present, as others have noted. As others have also noted, you can convert 16 bits at a time - but I don't think that will work for non-integer values. (In fact I'm not convinced it will always work for whole numbers if they are outside Int32 range - but I'll leave that aside for now - I don't have any sound argument for my view there, it's just my healthy scepticism kicking in). So if the result of your calculations is not an integer you have a problem. If you can get at the actual bits of the 64 bit representation of your Real64, then you have a mantissa and exponent which are binary numbers, and should easily convert to hex, and hence you can write a routine that compiles a hex representation of a Real64. You would have to read up on representation of 64 bit numbers (there is a standard somewhere). And you would have to consider is it worth the effort - though it might be fun in a kind of nerdy way - hell I think I'll have a go myself. By the way I found that windows calculator has no problem converting decimal 4294967295 to hex FFFFFFFF. If calc.exe exposes any sort of programming interface then you might be able to use that. Or you could fire up calc.exe and send it keystrokes. But you are still limited to integer values - calculator will not handle non-integer numbers in hex. Cheers,Warren From: monty a [mailto:monty1082@gmail.com] Sent: 04 October 2006 13:37To: VRFSubject: [vrf] Converting decimal to hex!! Hello Everyone, I want to convert a huge decimal number which is 4294967295 to hexadecimal. I also need to do calculations in decimal and then convert that to hex. I tried to convert it using To string, but it gave me an error "UNABLE TO CONVERT REAL64 TO INTEGER ERROR NO:464". How do I convert this huge number to hex? I have attached the code. Thank you Monty.--- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com 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/".---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]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/". |
|
|
|
Matlab函数“dec2hex”可以帮助你。>> str = dec2hex(d)将十进制整数d转换为存储在MATLABstring中的十六进制表示。
>> d必须是非负整数,而不是2 ^ 52。>> str = dec2hex(d,n)产生一个十六进制表示,至少有n位数.CheersPaul F.“montya”| monty1082@gmail.com> Document Markedas未分类 “monty a”| monty1082@gmail.com> 04/10/2006 13:29请回复“monty a”| monty1082@gmail.com> ToVRF |vrf@agilent.com> ccSubject [vrf]将小数转换为十六进制! 大家好,我想转换一个巨大的十进制数,即4294967295.I还需要用十进制计算,然后将其转换为十六进制。我试图使用To string转换它,但它给了我一个错误“UNABLETO CONVERT REAL64 TO INTEGER ERROR NO:464“。 如何将这个巨大的数字转换为十六进制? 我已经附上了代码。谢谢你们.---您目前订阅了vrf:Paul.Fowler@raytheon.co.uk订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com” 单词订阅在邮件正文中。 要取消订阅,请将“blankemail”发送至“leave-vrf@it.lists.it.agilent.com”。 要向此邮件列表发送消息,请发送电子邮件至“vrf@agilent.com”。 如果您需要帮助邮件列表,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/".[attachment"Convert_To_Hex搜索”非官方vrf档案“。 .vee“由Paul Fowler / H9569 / RAYTHEONUK删除] ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:”vrf-request@lists.it.agilent.com“ 在邮件正文中单词subscribe。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 The Matlab function "dec2hex"may help you. >> str = dec2hex(d) converts thedecimal integer d to its hexadecimal representation stored in a MATLABstring. >> d must be a non-negative integersmaller than 2^52. >> str = dec2hex(d, n) producesa hexadecimal representation with at least n digits. Cheers Paul F. "montya" [email=%7Cmonty1082@gmail.com]|monty1082@gmail.com[/email]>Document Markedas Unclassified "monty a" [email=%7Cmonty1082@gmail.com]|monty1082@gmail.com[/email]>04/10/2006 13:29Please respond to "monty a" [email=%7Cmonty1082@gmail.com]|monty1082@gmail.com[/email]> ToVRF [email=%7Cvrf@agilent.com]|vrf@agilent.com[/email]>ccSubject[vrf] Converting decimal to hex!! Hello Everyone, I want to convert a huge decimal number which is 4294967295.I also need to do calculations in decimal and then convert that to hex.I tried to convert it using To string, but it gave me an error "UNABLETO CONVERT REAL64 TO INTEGER ERROR NO:464". How do I convert this huge number to hex? I have attachedthe code. Thank you Monty. --- You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.ukTo subscribe please send an email to: "vrf-request@lists.it.agilent.com"with the word subscribe in the message body. To unsubscribe send a blankemail to "leave-vrf@it.lists.it.agilent.com". To send messagesto this mailing list, email "vrf@agilent.com". If you need helpwith 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/".[attachment"Convert_To_Hex.vee" deleted by Paul Fowler/H9569/RAYTHEONUK] ---You are currently subscribed to vrf as: [email=r***@soco.agilent.comTo]r***@soco.agilent.comTo[/email] 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/". |
|
|
|
---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。
要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 --- 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/". |
|
|
|
程序正在寻找仪器PnP驱动程序,因为仪器管理器已分配PnP。
所有对此驱动程序的调用都已被删除,但选择是幻像,因此无法分配“未知”,因此删除了PnP赋值。我可以编辑脚本代码来支持这个问题吗? 用于驱动程序分配的仪器管理器脚本的内容和位置是什么?---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件正文中添加“subscribe”一词。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 Program is looking for an instrument PnP driver because instrument manager has a PnP assigned. All calls to this driver have been removed however, selection is ghosted so "unknown" cannot be assigned, thus removing the PnP assignment. Can I edit the scripted code to back-door this issue? What and where are the instrument manager scripts for driver assignments? Â --- 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/". |
|
|
|
要转换为十六进制,该数字将被转换为Â32,其最大值为(-2147483648至2147483647)。来自:monty a [mailto:monty1082@gmail.com]发送时间:2006年10月4日星期三上午8:37:VRFSubject
:[vrf]将十进制转换为十六进制!! Hello Everyone,Â我想将一个巨大的十进制数转换为十六进制,即4294967295。 我还需要用十进制进行计算,然后将其转换为十六进制。 我试图使用To string转换它,但它给了我一个错误“无法转换REAL64到INTEGER ERROR NO:464”。 如何将这个巨大的数字转换为十六进制? 我附上了代码。谢谢你.Monty .---您目前订阅了vrf:StanGunsolus@motorola.com要订阅,请发送电子邮件至:“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档案”.---如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件中添加“subscribe”字样 身体。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 to convert to hex the number is converted to Int32 which has a maximum value of (-2147483648 to 2147483647).    _____  From: monty a [mailto:monty1082@gmail.com] Sent: Wednesday, October 04, 2006 8:37 AM To: VRF Subject: [vrf] Converting decimal to hex!! Hello Everyone,  I want to convert a huge decimal number which is 4294967295 to hexadecimal. I also need to do calculations in decimal and then convert that to hex. I tried to convert it using To string, but it gave me an error "UNABLE TO CONVERT REAL64 TO INTEGER ERROR NO:464". How do I convert this huge number to hex? I have attached the code.  Thank you  Monty. --- You are currently subscribed to vrf as: StanGunsolus@motorola.com 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/". --- 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/". |
|
|
|
您需要一个32位无符号整数来包含该数字(或最多4294967296)。我不知道“to string”转换的限制,但您可以通过一次转换16或24位来绕过它
.-----消息来源----- De:monty a [mailto:monty1082@gmail.com]Envoyé:4 octobre 2006 08:37:VRFObjet:[vrf]将十进制转换为十六进制 !!大家好,Â我想将一个巨大的十进制数转换成十六进制的4294967295。 我还需要用十进制进行计算,然后将其转换为十六进制。 我试图使用To string转换它,但它给了我一个错误“无法转换REAL64到INTEGER ERROR NO:464”。 如何将这个巨大的数字转换为十六进制? 我已经附上了代码。谢谢你.Monty .---您目前订阅了vrf:BrunoBeliveau@solectron.com要订阅,请发送电子邮件至:“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档案”.---如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件中添加“subscribe”字样 身体。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 You need a 32 bit unsigned integer to contain that number (or up to 4294967296). I don't know about the limits of the "to string" conversion, but you can go around it by converting 16 or 24 bits at a time. -----Message d'origine----- De : monty a [mailto:monty1082@gmail.com] Envoyé : 4 octobre 2006 08:37 À : VRF Objet : [vrf] Converting decimal to hex!! Hello Everyone,  I want to convert a huge decimal number which is 4294967295 to hexadecimal. I also need to do calculations in decimal and then convert that to hex. I tried to convert it using To string, but it gave me an error "UNABLE TO CONVERT REAL64 TO INTEGER ERROR NO:464". How do I convert this huge number to hex? I have attached the code.  Thank you  Monty. --- You are currently subscribed to vrf as: BrunoBeliveau@solectron.com 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/". --- 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/". |
|
|
|
>我想转换一个巨大的十进制数,即4294967295.我还>需要以十进制计算,然后将其转换为十六进制.VEE不执行64位整数(它是32位代码),您的值是
对于32位整数来说太大了,所以你需要自己完成部分工作。 编写一个小算法,生成足够的最重要的十六进制数字,使余数减少到32位或更少,然后使用To String作为其余的.Stan ----------------- -------------------------------------------------- ------- Stan Bischof安捷伦科技公司707-577-3994 stan_bischof@agilent.com----------------------------- - - - - - - - - - - - - - - - - - - - - - - - - 认购 请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com” 。要发送邮件到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。 以上来自于谷歌翻译 以下为原文 >I want to convert a huge decimal number which is 4294967295. I also >need to do calculations in decimal and then convert that to hex. VEE doesn't do 64-bit integers ( it is 32-bit code) and your value is too big for 32-bit integers so you would need to do part of the work yourself. Write a small algorithm which generates enough of the most significant hex digits to get the remainder down to 32 bits or less, then use To String for the rest. Stan -------------------------------------------------------------------------- Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com -------------------------------------------------------------------------- --- 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/". |
|
|
|
Monty - VEE不会“按十进制计算”。计算使用64或32位实数表示,或32或16位整数表示;
它们都是用二进制完成的。我想你想要做的是用十六进制数表示/显示计算结果。不幸的是,VEE似乎假设十六进制数字总是整数。这限制了你 正如其他人已经指出的那样,目前Int32的限制。正如其他人也注意到的,你可以一次转换16位 - 但我认为这不适用于非整数值。(事实上我是 不相信如果它们在Int32范围之外它将永远适用于整数 - 但我现在暂时搁置一边 - 我没有任何合理的论据,我的观点就在那里,这只是我健康的怀疑论。)如果 你的计算结果不是你有问题的整数。如果你能得到Real64的64位表示的实际位,那么你有一个二进制数的尾数和指数,应该很容易转换成十六进制, 因此,您可以编写一个编译Real64的十六进制表示的例程。您将拥有 o读取64位数字的表示(某处有一个标准)。你必须考虑是否值得付出努力 - 尽管它可能是一种有趣的方式 - 我想我会有一个 去我自己。通过我发现Windows计算器将十进制4294967295转换为十六进制FFFFFFFF没有问题。如果calc.exe暴露任何类型的编程接口,那么你可能可以使用它。或者你可以启动calc.exe 然后发送它击键。但你仍然限于整数值 - 计算器将不会处理十六进制中的非整数数字。侍者,沃伦Â____从起点:monty a [mailto:monty1082@gmail.com]发送时间:2006年10月4日13: 37To:VRFSubject:[vrf]将十进制转换为十六进制!! Hello Everyone,Â我想将一个巨大的十进制数转换为十六进制的4294967295。 我还需要用十进制进行计算,然后将其转换为十六进制。 我试图使用To string转换它,但它给了我一个错误“无法转换REAL64到INTEGER ERROR NO:464”。 如何将这个巨大的数字转换为十六进制? 我附上了代码。谢谢你.Monty .---您目前订阅了vrf:Warren.Pickles@tycoelectronics.com要订阅,请发送电子邮件至:“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档案”.---如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,并在邮件中添加“subscribe”字样 身体。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。 以上来自于谷歌翻译 以下为原文 Monty - VEE doesn't "do calculations in decimal" as such. Calculations are done using 64 or 32 bit representations of real numbers, or 32 or 16 bit representations of integers; they are all done in binary.  I think what you want to do is represent / display the result of your calculations as a hex number. Unluckily for you, VEE seems to assume that hex numbers will always be integers. That limits you to the limits of Int32 at present, as others have noted. As others have also noted, you can convert 16 bits at a time - but I don't think that will work for non-integer values. (In fact I'm not convinced it will always work for whole numbers if they are outside Int32 range - but I'll leave that aside for now - I don't have any sound argument for my view there, it's just my healthy scepticism kicking in).  So if the result of your calculations is not an integer you have a problem.  If you can get at the actual bits of the 64 bit representation of your Real64, then you have a mantissa and exponent which are binary numbers, and should easily convert to hex, and hence you can write a routine that compiles a hex representation of a Real64. You would have to read up on representation of 64 bit numbers (there is a standard somewhere). And you would have to consider is it worth the effort - though it might be fun in a kind of nerdy way - hell I think I'll have a go myself.  By the way I found that windows calculator has no problem converting decimal 4294967295 to hex FFFFFFFF. If calc.exe exposes any sort of programming interface then you might be able to use that. Or you could fire up calc.exe and send it keystrokes. But you are still limited to integer values - calculator will not handle non-integer numbers in hex.  Cheers, Warren    _____  From: monty a [mailto:monty1082@gmail.com] Sent: 04 October 2006 13:37 To: VRF Subject: [vrf] Converting decimal to hex!! Hello Everyone,  I want to convert a huge decimal number which is 4294967295 to hexadecimal. I also need to do calculations in decimal and then convert that to hex. I tried to convert it using To string, but it gave me an error "UNABLE TO CONVERT REAL64 TO INTEGER ERROR NO:464". How do I convert this huge number to hex? I have attached the code.  Thank you  Monty. --- You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com 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/". --- 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/". |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
2091 浏览 1 评论
1850 浏览 1 评论
1707 浏览 5 评论
2577 浏览 3 评论
将设备连接到PC并通过asic格式读取数据然后我的网络分析仪挂起
1558 浏览 4 评论
497浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
355浏览 0评论
1405浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
268浏览 0评论
2254浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-20 23:43 , Processed in 1.072515 second(s), Total 78, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号