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 接口


- Css:将嵌套元素定位在父元素边界之外一点 2022-09-07
- Flexslider 箭头未正确显示 2022-01-01
- Fetch API 如何获取响应体? 2022-01-01
- 使用RSelum从网站(报纸档案)中抓取多个网页 2022-09-06
- 如何使用 JSON 格式的 jQuery AJAX 从 .cfm 页面输出查 2022-01-01
- 400或500级别的HTTP响应 2022-01-01
- Quasar 2+Apollo:错误:找不到ID为默认的Apollo客户端。如果您在组件设置之外,请使用ProvideApolloClient() 2022-01-01
- CSS媒体查询(最大高度)不起作用,但为什么? 2022-01-01
- 失败的 Canvas 360 jquery 插件 2022-01-01
- addEventListener 在 IE 11 中不起作用 2022-01-01