投影仪控制 - RS232 / USB?
我注意到许多投影仪都有 RS232 或 USB 端口,可用于控制投影仪的功能,即切换输入以及打开和关闭电源。有谁知道是否有 API 可以通过编程方式控制这些功能?
我正在使用 Java,但尤其是 RS232,我猜这是无关紧要的,因为协议将处于较低的级别。如果没有“标准”(我猜不会有),建议是什么?目前,我正在考虑为我想要的功能定义一个投影仪控制接口,然后允许人们编写用于从外部控制投影仪的类并将它们放在适当的位置(也许使用新的 watchservice API 通过动态反射来拾取它们) .)是否存在我没有看到的任何缺陷?
本质上,我正在寻找一个文档(如果存在),该文档描述了在各种不同的投影仪上执行基本功能的串行协议。
I've noticed a number of projectors have RS232 or USB ports that can be used for controlling the projector's functions, i.e. switching inputs and powering on and off. Does anyone know if there's an API around for controlling these functions programmatically?
I'm using Java but especially with RS232 I'm guessing that's irrelevant as the protocol will be on a much lower level. If there's not a "standard" around (which I'm guessing there won't be) what would be the suggestion? At the moment I'm thinking of defining a projector control interface for the functions I want, then allowing people to write classes for controlling their projector externally and drop those in place (perhaps picking them up by reflection on the fly using the new watchservice API.) Would there be any flaws in place with this that I'm not seeing?
Essentially, I'm looking for a document (if it exists) that describes the serial protocols for performing basic functions on a variety of different projectors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AVForums 上非常有用的回复:
更多细节:
Incredibly useful reply over on AVForums:
More specifics: