碳带厂商-李生 发表于 2015-8-6 16:36:57

intermec IP4不间断读取

问题:When I try to use the IP4 and initiate constant reads the IP4 locks up.


条形码新人解答:a work around to this issue involves two flags in the application: a flag to check for the center trigger pulled and a flag to check the connection state of the IP4. The fix also invovled a timer set for a quarter sec. each quater second the application would check the flags to see if the center trigger is still pulled and if the IP4 is still connected.

So the logic goes something like this

Pull trigger with IP connection state to connected
set trigger pulled flag to on
start timer
quarter of a second (or whatever you feel appropriate)
check flags to be certain a) trigger is still pulled and b) IP4 is still connected.
read tags
quarter-second
check flags to be certain a) trigger is still pulled and b) IP4 is still connected.
read tags

and on and on until either a) center trigger flag is set to off or b) IP4 connected flag is set to notConnected.



补充内容 (2015-8-7 14:12):
条码碳带交流请致电:13828417588   QQ:498700032华南条码碳带交流群:290241995
页: [1]
查看完整版本: intermec IP4不间断读取