是德科技
直播中

李秀云

7年用户 814经验值
私信 关注
[问答]

从外部totext常量设置焦点不方便

VEE用户,我应该做我的VEE程序,以便它可以支持条形码阅读器。唯一的问题是,在需要时从外部totext常量设置焦点不方便。(例如,如果我从选择控件更改用户,焦点
应该移动到文本控制而不需要单击它)有没有人完成,例如,ActiveX对象(编辑框)可以处理这个问题?
任何形式的帮助表示赞赏!在此先感谢Jyrki  

回帖(6)

颜婷

2019-11-4 13:39:54
我们在所有测试设备(基于VEE)中使用条形码阅读器。在大多数情况下,我们使用键盘楔形类型,它只能替代键盘输入。
我们失去焦点的唯一一次是操作员使用我们的热键来查看以前的测试结果。
当发生这种情况时,有时可以通过按几次Enter键来恢复,但实际上他们必须单击鼠标一次。我们还使用连接到串行端口的固定条形码阅读器。这些是昂贵的,所以我们将它们永久地连接到testerand
只需在设置新夹具时将它们插入导销即可。我们的测试执行程序[以纯VEE编写]首先尝试将固定读卡器读入UUT目录号和序列号。
如果失败,它会回退到操作员提示,允许操作员使用手持式代码扫描器或通过键盘输入数据。固定条形码阅读器工作得很好,因为所有操作员都要开始测试,是
将UUT放入夹具中,一旦闭锁,测试就开始了。
这减少了操作数据输入错误并缩短了测试时间.RobRob MarquardtSystem测试工程Rockwell Automation / Allen-Bradley1201 So.
第二街密尔沃基,威斯康星州,53204-2496,USA414-382-3098电话414-382-4820传真电话414-382-4820 FAXRAMarquardt@ra.Rockwell.com“我们愿意,在不知情的情况下领导,这么长时间以来做得如此之少,我们现在
能够毫不费力地做任何事情“--UnknownJyrki Tujula / Dosesoft Oy @ lvld.agilent.com on 02/08/2002 06:49:38 AMSent by:owner-vrf@lvld.agilent.comTo:”'
vrf@lvld.agilent.com'“cc:主题:vrf条码问题用户,我应该做我的VEE程序,以便它可以支持条形码阅读器。唯一的问题是从外部totext常量设置焦点不方便
在需要时。(例如,如果我从选择控件更改用户,焦点应该移动到文本控件而不需要单击它)有没有人完成,例如,ActiveX对象(编辑框)可以处理这个问题?任何类型的帮助表示赞赏!谢谢
提前Jyrki ------------------------------------------------
---------------------这是由Majordomo管理的“vrf”maillist。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
--------------------------------------------------
-----------------------------------这是由Majordomo管理的“vrf”maillist。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------

以上来自于谷歌翻译


     以下为原文

  
We use bar code readers in all our test equipment (VEE based).
In most cases we use a keyboard wedge type which just substitutes
for keyboard input. The only time we loose focus is if an operator
uses our HOT KEY to look at previous test results. When this happens
they can sometimes recover by hitting the Enter key a few times, but
usually they have to click the mouse once.

We also use fixed bar code readers which are connected to serial ports.
These are expensive, so we connected them permanently to the tester
and just insert them onto a guide pin when a new fixture is set up.

Our test executive [written in pure VEE] tries the fixed readers first to
read in the UUT catalog number and serial number. If that fails, it falls
back
to the operator prompt which allows the operator to use the hand held
bar code scanner or type the data in via the keyboard.

The fixed bar code readers work great, in that all the operator has to
do to initiate a test, is to put the UUT into the fixture, as soon as the
interlocks close, the test commences. This reduces operator
data input errors and reduces test time.

Rob

Rob Marquardt
System Test Engineering
Rockwell Automation / Allen-Bradley
1201 So. 2nd Street
Milwaukee, Wisconsin, 53204-2496, USA
414-382-3098 Phone
414-382-4820 FAX
RAMarquardt@ra.Rockwell.com

"We the willing, led by the unknowing,
   have done so much with so little for so long,
   we are now able to
   do anything with nothing in no time at all"
     --Unknown






Jyrki Tujula/Dosesoft Oy @lvld.agilent.com on
02/08/2002 06:49:38 AM

Sent by:  owner-vrf@lvld.agilent.com


To:   "'vrf@lvld.agilent.com'"
cc:

Subject:  vrf barcode problem


VEE users,

I should do my VEE-program so that it could support bar code reader.
Only problem is that it is not convenient way to set focus from outside to
text constant when needed.
(For example if I change user from selection control, focus should
move to text control without need to click it)

Has anybody done, for example, ActiveX object (editbox) which could handle
this problem?


Any kind of help is appreciated !


Thanks in advance

Jyrki
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address
"vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------



---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
举报

李秀云

2019-11-4 13:46:22
Jyrki,我想你可能会试图让自己变得太难:如果我是你,我会让程序的流程迫使'文本框'条目成为焦点。
我附上了一个非常简单的例子 - 运行它,你将找到继续程序,你必须从下拉列表中选择一些东西,然后必须在对话框中输入一些内容。希望有帮助,Mike Watts_______________________________________________________________________ Michael Watts,PO Box顾问
92网址:www.PreciselySo.Co.UK埃克塞特,德文电子邮件:MJWC@PreciselySo.Co.UK英格兰电话:+44 7714 339 729 EX4 2YY _______________________________________________________________________----------
--------------------------------------------------
-----这是由Majordomo管理的“vrf”maillist。
要向该maillist发送消息,只需发送电子邮件至“vrf@lvld.agilent.com”。
订阅和取消订阅是通过地址“vrf-request@lvld.agilent.com”完成的。如果您需要详细信息,只需将包含“help”文本的消息发送到“vrf-request@lvld.agilent.com”.---
--------------------------------------------------
----------------

以上来自于谷歌翻译


     以下为原文

  Jyrki,

I think you may be trying to make things too difficult for yourself: if I
were you I would make the flow of the program force the 'textbox' entry to
be in focus.  I have attached a very simple example - run it and you will
find that to continue the program you have to select something from the
drop-down and then have to enter something in the dialog box.

Hope that helps,

Mike Watts


_______________________________________________________________________

  Michael Watts, Consultant                                 PO Box 92
  on the web: www.PreciselySo.Co.UK                      Exeter,Devon
  e-mail: MJWC@PreciselySo.Co.UK                              England     
  tel: +44 7714 339 729                                       EX4 2YY
_______________________________________________________________________
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
举报

张瑜

2019-11-4 14:06:19
我多年来一直在使用条形码工具。
至于条形码问题,最有效的方法是更改​​另一个条形码工具试一试。
因为大多数用户选择错误类型的条形码工具或条形码工具本身都有问题。
我总是在使用条形码工具时遇到条形码问题。
我在互联网上尝试了很多条码工具。
这是一个很好的[url = http://www.onbarcode.com/]条形码资源[/ url],你可以找到丰富的[url = http://www.onbarcode.com/tutorial/vb-net-barcode-
reader.html]条形码阅读器[/ url]。
与你分享。
您可以在那里下载多种类型的条形码阅读器。

以上来自于谷歌翻译


     以下为原文

  I have been using barcode tools for years. As for barcode problem, the most effective way is to change another barcode tool to have a try. Because most of the users choose the wrong type of barcode tools or the barcode tools themselves have problem. I always encountered barcode problem at the beginning of using barcode tools. I tried many barcode tools on the Internet. Here is a good barcode resource where you can find rich barcode readers. Share it with you. You can download many types of barcode readers there to have a try.
举报

梁艳

2019-11-4 14:18:01
引用: ly1509608456 发表于 2019-11-4 17:43
我多年来一直在使用条形码工具。
至于条形码问题,最有效的方法是更改​​另一个条形码工具试一试。
因为大多数用户选择错误类型的条形码工具或条形码工具本身都有问题。

> {quote:title = lenderwiner写道:} {quote}>我多年来一直在使用条形码工具。
至于条形码问题,最有效的方法是更改​​另一个条形码工具试一试。
因为大多数用户选择错误类型的条形码工具或条形码工具本身都有问题。
我总是在使用条形码工具时遇到条形码问题。
我在互联网上尝试了很多条码工具。
这是一个很好的条形码资源,您可以在其中找到丰富的[url = http://www.keepautomation.com/products/net_barcode_reader/]条形码阅读器[/ url]。
与你分享。
您可以在那里下载多种类型的条形码阅读器。
thanx分享!
我想稍后再试

以上来自于谷歌翻译


     以下为原文

  > {quote:title=lenderwiner wrote:}{quote}
> I have been using barcode tools for years. As for barcode problem, the most effective way is to change another barcode tool to have a try. Because most of the users choose the wrong type of barcode tools or the barcode tools themselves have problem. I always encountered barcode problem at the beginning of using barcode tools. I tried many barcode tools on the Internet. Here is a good barcode resource where you can find rich barcode readers. Share it with you. You can download many types of barcode readers there to have a try.
thanx for sharing! i'd like to try it later
举报

更多回帖

发帖
×
20
完善资料,
赚取积分