检测USB端口上的电压信号 [英] Detecting voltage signals on USB port

查看:662
本文介绍了检测USB端口上的电压信号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图检测电线上的固定电压(例如5伏),最初我使用并行端口,并且工作正常.
有人可以帮助我在USB端口上检测到吗?
我正在为项目使用C#.

谢谢,
Puneet.

Hi,

I am trying to detect a fixed voltage(etc 5 Volt) on a wire, initially I used parallel port and it was working fine.
Can anyone help me to detect the same on USB port ?
I am using C# for the project..

Thanks,
Puneet.

推荐答案

您可以为此使用Windows Management Instrumentation.

看看这些文章:
如何获取硬件信息(CPU ID,主板信息,硬盘序列号,系统信息等) [ ^ ]

Windows管理规范(WMI)实施 [
You can use Windows Management Instrumentation for that.

Have a look at these articles:
How To Get Hardware Information (CPU ID, MainBoard Info, Hard Disk Serial, System Information , ...)[^]

Windows Management Instrumentation (WMI) Implementation[^]

Good luck!


这篇关于检测USB端口上的电压信号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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