并行端口作为输入 [英] Parallel port as input

查看:84
本文介绍了并行端口作为输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好专家,

我正在尝试从外部来源中读取一些内容.根据可用的硬件,我选择了并行端口的BUSY引脚.它可以在我的开发PC上运行,但不能在目标计算机上运行.我在此处发布了详细信息 [ ^ ].

使用并行端口有没有人遇到过类似的问题?

Hello experts,

I''m trying to read one bit from an external source. Dependent upon available hardware, I chose the parallel port''s BUSY pin. It works on my development PC but not on the target machine. I posted the details here[^].

Has anyone had similar issues using the parallel port?
And a solution to them, maybe?

推荐答案

在评论中,您链接到您,提供您在此处所没有的重要信息:您没有目标计算机上的管理员权限.这很可能是问题的原因.
就个人而言,对于单个输入,我不会使用并行端口-我会使用串行端口上的控制线之一,因为它们非常容易访问:例如RTS-您甚至可以获取串行端口在每次事件更改时为您提供事件...
In the comment you link to you give the vital info that you don''t here: you don''t have admin rights on the target machine. This is quite likely to be the reason for the problem.

Personally, for a single bit input, I would not use a parallel port - I would use one of the control lines on the serial port, as these are much, much easier to access: RTS for example - you can even get the serial port to give you an event each time it changes...


这篇关于并行端口作为输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆