Javascript interface with RS-232 Serial Port(带有 RS-232 串行端口的 Javascript 接口)
问题描述
我目前正在从事一个涉及 4 端口 A/V 开关的项目.此开关可通过 RS-232 控制.
I am currently working on a project that involves a 4 Port A/V switch. This switch can be controlled via RS-232.
将与交换机接口的计算机运行 Vista.我想创建一个侧边栏小工具,它有 4 个按钮 - 交换机上的每个端口 1 个.当用户按下按钮时,它会切换到该端口.
The computer that will interface with the switch runs Vista. I would like to create a sidebar gadget that has 4 buttons- 1 for each port on the switch. When the user presses the button, it switches to that port.
我做了一些谷歌搜索,似乎没有一个很好的方式来在 javascript 和 rs-232 之间进行接口.
I have done a bit of googling, and it seems that there isn't a very good way to interface between javascript and rs-232.
有人对我有什么建议吗?
Does anyone have any suggestions for me?
谢谢!
推荐答案
你喜欢复杂的 hacks 吗?
Do you like convoluted hacks?
安装网络服务器.使用 CGI、Python、PHP、Perl 或其他方法从 Web 服务器上的页面控制串行端口.
Install a webserver. Use CGI, Python, PHP, Perl, or some other method to control the serial port from a page on the webserver.
将控件指向网页.
这篇关于带有 RS-232 串行端口的 Javascript 接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:带有 RS-232 串行端口的 Javascript 接口
基础教程推荐
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
