完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,全部:我正在使用VEE pro 9.3 npw,并且有一个任务需要调用BAT文件,然后将键盘编号(如1,2或3)发送到此CMD.exe(BAT)窗口。
我已经搜索了VRF主题,发现我应该导入“User32.dll”来做到这一点! 我有问题这样做,因为它需要“处理”功能将输入窗口从VEE更改为CMD windonw,然后使用“sendkey”函数来做到这一点! 我在这个问题上被吸了大约1个月。 有没有人能帮我一把,告诉我一些方法呢? 任何例子将不胜感激。 这里有一个例子可能是相对的。 谢谢~Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, all: I am using VEE pro 9.3 npw, and have a task that need to call a BAT file and then send keyboard number (like 1,2 or 3) to this CMD.exe (BAT) window. I have searched VRF topics about this and found I should import "User32.dll" to do that! I have issue to do this because it need "handle" function to change input window from VEE to CMD windonw, then use "sendkey" function to do that! I have been sucked in this question about 1 months. Does anyone could give me a hand and show me some way to do this? Any example will be appreciated. Here is one example might be relative as attached. Thank you ~ Ryan Lu 附件
|
|
相关推荐
10个回答
|
|
听起来很复杂!
了解您的应用程序会更有用,因为可能有更简单的方法来实现您的需求。 例如,您可以将数据作为传递给批处理文件的参数直接发送,也可以直接从VEE调用可执行文件(通过命令行,如果需要)直接进行控制。 以上来自于谷歌翻译 以下为原文 Sounds complex! It would be useful to know a little more about your application as there might be an easier way to achieve your requirement. For instance, you might be able to send your data directly as a parameter passed to your batch file, or maybe do the control direct from VEE calling executables ( via a command line if need be ) directly. |
|
|
|
bgvywerq 发表于 2018-12-24 12:57 嗨,迈克:感谢您的关心,我在互联网上搜索示例。 我已经成功实现了我想要的功能。 这是~Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, Mike: Thank you for the care, after I search example on internet. I have sucessfully impelement the function I want. Here it is ~ Ryan Lu 附件
|
|
|
|
为什么不在执行框中使用IPCONFIG? 所有没有sendkeys。 或者写一个正在做你想要的批处理文件。 看看帮助并搜索exe以获取更多细节.... 以上来自于谷歌翻译 以下为原文 Why not just using IPCONFIG in the execute Box? All without sendkeys. Or write a batch file which is doing what you want. Have a look in help and search for exe for some more details .... |
|
|
|
嗨,dBdetlef:因为这个BAT包含不同的芯片组控制设置(由固件人员完成),我们曾经手动输入我们想要测试的内容。 现在我正在尝试使用VEE进行自动测试控制,以便增加测试运行一夜。 当结果不好时(增加/减少增益,伏特输出或某些事情),这些设定值也可能会改变。 所以固件人员不可能为我修改(更新)每个BAT。 总之,我要做的就是替换重复并手动键入以进行测试。 到目前为止,我的VEE工作还不错,这为我节省了很多时间。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, dBdetlef : Because this BAT contain different chipset control setting (done by firmware guys), we used to manually type in for what we want to test. Now I am trying to use VEE for auomation testing control, in order to increase testing run over night. And also these setting values might change when results are not good (increase/decrease gain, volt output or somethings). So firmware guys are not possible to modify (update) each individual BAT for me. In summary, what I to do is just replace duplicate and manually key in for testing. So far my VEE work not bad, which save lots time for me. Ryan Lu |
|
|
|
嗨,dBdetlef:因为这个BAT包含不同的芯片组控制设置(由固件人员完成),我们曾经手动输入我们想要测试的内容。 现在我正在尝试使用VEE进行自动测试控制,以便增加测试运行一夜。 当结果不好时(增加/减少增益,伏特输出或某些事情),这些设定值也可能会改变。 所以固件人员不可能为我修改(更新)每个BAT。 总之,我要做的就是替换重复并手动键入以进行测试。 到目前为止,我的VEE工作还不错,这为我节省了很多时间。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, dBdetlef : Because this BAT contain different chipset control setting (done by firmware guys), we used to manually type in for what we want to test. Now I am trying to use VEE for auomation testing control, in order to increase testing run over night. And also these setting values might change when results are not good (increase/decrease gain, volt output or somethings). So firmware guys are not possible to modify (update) each individual BAT for me. In summary, what I to do is just replace duplicate and manually key in for testing. So far my VEE work not bad, which save lots time for me. Ryan Lu |
|
|
|
嗨,dBdetlef:因为这个BAT包含不同的芯片组控制设置(由固件人员完成),我们曾经手动输入我们想要测试的内容。 现在我正在尝试使用VEE进行自动测试控制,以便增加测试运行一夜。 当结果不好时(增加/减少增益,伏特输出或某些事情),这些设定值也可能会改变。 所以固件人员不可能为我修改(更新)每个BAT。 总之,我要做的就是替换重复并手动键入以进行测试。 到目前为止,我的VEE工作还不错,这为我节省了很多时间。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, dBdetlef : Because this BAT contain different chipset control setting (done by firmware guys), we used to manually type in for what we want to test. Now I am trying to use VEE for auomation testing control, in order to increase testing run over night. And also these setting values might change when results are not good (increase/decrease gain, volt output or somethings). So firmware guys are not possible to modify (update) each individual BAT for me. In summary, what I to do is just replace duplicate and manually key in for testing. So far my VEE work not bad, which save lots time for me. Ryan Lu |
|
|
|
嗨,dBdetlef:因为这个BAT包含不同的芯片组控制设置(由固件人员完成),我们曾经手动输入我们想要测试的内容。 现在我正在尝试使用VEE进行自动测试控制,以便增加测试运行一夜。 当结果不好时(增加/减少增益,伏特输出或某些事情),这些设定值也可能会改变。 所以固件人员不可能为我修改(更新)每个BAT。 总之,我要做的就是替换重复并手动键入以进行测试。 到目前为止,我的VEE工作还不错,这为我节省了很多时间。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, dBdetlef : Because this BAT contain different chipset control setting (done by firmware guys), we used to manually type in for what we want to test. Now I am trying to use VEE for auomation testing control, in order to increase testing run over night. And also these setting values might change when results are not good (increase/decrease gain, volt output or somethings). So firmware guys are not possible to modify (update) each individual BAT for me. In summary, what I to do is just replace duplicate and manually key in for testing. So far my VEE work not bad, which save lots time for me. Ryan Lu |
|
|
|
嗨,dBdetlef:因为这个BAT包含不同的芯片组控制设置(由固件人员完成),我们曾经手动输入我们想要测试的内容。 现在我正在尝试使用VEE进行自动测试控制,以便增加测试运行一夜。 当结果不好时(增加/减少增益,伏特输出或某些事情),这些设定值也可能会改变。 所以固件人员不可能为我修改(更新)每个BAT。 总之,我要做的就是替换重复并手动键入以进行测试。 到目前为止,我的VEE工作还不错,这为我节省了很多时间。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, dBdetlef : Because this BAT contain different chipset control setting (done by firmware guys), we used to manually type in for what we want to test. Now I am trying to use VEE for auomation testing control, in order to increase testing run over night. And also these setting values might change when results are not good (increase/decrease gain, volt output or somethings). So firmware guys are not possible to modify (update) each individual BAT for me. In summary, what I to do is just replace duplicate and manually key in for testing. So far my VEE work not bad, which save lots time for me. Ryan Lu |
|
|
|
你好,我是这个论坛的新手。
我正面临与Test Exec Sl 5.1软件操作atitop11Opensession相关的问题。 每当我尝试运行此操作时,将发生错误-10 = ERR_TOP11_OPEN3964R。 请帮我解决这个问题。 谢谢并问候Srinath 以上来自于谷歌翻译 以下为原文 Hello I'm new to this forum. I'm facing a problem related to Test Exec Sl 5.1 software action atitop11Opensession. Whenever I try to run this action error -10 = ERR_TOP11_OPEN3964R will occur. Please help me with clearing this problem. Thanks and Regards Srinath |
|
|
|
嗨,Srinath:我会建议你发一个新主题。 其他人可以更直接地看到并了解您的问题。 然后有人可能会提供一些有用和有用的信息。 Ryan Lu 以上来自于谷歌翻译 以下为原文 Hi, Srinath: I will suggest you Post A New Thread. Others could see and know your question more directly. Then someone might provide some helpful and useful informaiton. Ryan Lu |
|
|
|
只有小组成员才能发言,加入小组>>
1272 浏览 0 评论
2371 浏览 1 评论
2187 浏览 1 评论
2061 浏览 5 评论
2944 浏览 3 评论
1091浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
746浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
912浏览 0评论
1276浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 03:00 , Processed in 1.826050 second(s), Total 66, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191