完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
“Fix,Russell”写道:>每次操作员按下测试按钮时,我都希望将时间写入我的连续测试日志文件。
我看到这些数据是从午夜格式开始的>秒。 我需要将其转换为易读的东西并以这种方式编写。 我知道,使用字母数字显示器,我可以更改>格式,但不允许输出数据。 任何>建议。 谢谢To To File格式化IO可以按照你在字母数字显示中看到的相同方式进行格式化。只需要选择'时间戳'格式,因为格式化不适用于字符串,所以格式化“time:”+ now()不会 做你想要的东西,因为格式化到你的价值它已经是一个字符串。 你可以使用两个交易,也可以使用多个值,例如“time:”,now()^注意commaregardsStan -------------------------- ------------------------------------------------ Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@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”。 以上来自于谷歌翻译 以下为原文 "Fix, Russell" wrote: > Every time that the operator presses the test button I would like that time to > be written to my continual test log file. I see that this data is in the > seconds from midnight format. I need to convert that into something legible > and written that way. I know that with an alphanumeric display I can change > the format however that does not allow for the data to be output. Any > suggestions. Thanks The To File formatted IO can format times the same way you see in the alphanumeric display. Just choose 'time stamp' format only thing to watch for is that formatting does NOT apply to strings, so formatting "time:"+now() won't do what you want since by the time formatting gets to your value it is already a string. instead you can use two transactions or one with multiple values such as "time:",now() ^ note the comma regards Stan -------------------------------------------------------------------------- Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@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". |
|
相关推荐
1个回答
|
|
每次操作员按下测试按钮时,我都希望将该时间写入我的连续测试日志文件中。
我看到这个数据是从午夜格式开始的。 我需要将其转换为清晰易读的内容。 我知道使用字母数字显示器我可以更改格式,但不允许输出数据。 有什么建议么。 ThanksRussell ------------------------------------------------- -----------------------------------------------这条消息是 仅适用于指定的收件人,并且可以包含特权,专有或其他私人信息。 如果您错误地收到了它,请立即通知发件人并删除原件。 禁止未经授权使用此电子邮件.------------------------------------------ -------------------------------------------------- -------您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件 请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Every time that the operator presses the test button I would like that time to be written to my continual test log file. I see that this data is in the seconds from midnight format. I need to convert that into something legible and written that way. I know that with an alphanumeric display I can change the format however that does not allow for the data to be output. Any suggestions. Thanks Russell ------------------------------------------------------------------------------------------------ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any unauthorized use of this email is prohibited. ------------------------------------------------------------------------------------------------ --- 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". |
|
|
|
只有小组成员才能发言,加入小组>>
1294 浏览 0 评论
2377 浏览 1 评论
2199 浏览 1 评论
2068 浏览 5 评论
2955 浏览 3 评论
1131浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
759浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
939浏览 0评论
1296浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 01:12 , Processed in 1.354004 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号