我可以期望WMI能够访问设备的功能吗? [英] Can I expect WMI to be able to access functions of a device?

查看:45
本文介绍了我可以期望WMI能够访问设备的功能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直在寻找一种打开和关闭Windows 8平板电脑上的LED闪光灯的方法。

For some time now, I have been looking for a way to Turn on and Turn off the LED flash light on my Windows 8 tablet.

我无法使用easy方法(来自Windows应用商店应用程序)成功,因为我正在使用桌面应用程序。我已经在这个论坛上提出了一些提示,但是我没有收到任何我可以使用的提示。 

I have not been able to succeed using the easy method (from a Windows Store App), because I am wrting a Desktop Application. I have asked for tips on this forum, but I haven´t received anything that I could work with. 

所以现在我正处于一个我正在寻找的地步更深的。我找到了驱动程序LM3554.SYS,我在设备管理器中发现它是'Flash LM3554'。

So now I'm at a point in which I am looking a bit deeper. I have found the driver LM3554.SYS, and I found it in the Device Manager as 'Flash LM3554'.

我读了一篇关于WMI的文章,其中我看到它可以询问设备甚至是操纵设置的时间。我下载了WMI代码生成器,经过一些搜索,我找到了设备。

I read an article about WMI in which I saw that it was possible to interrogate devices and somtimes even to manipulate settings. I downloaded the WMI Code Generator and after some searchning I found the device.

在我花了很多时间之前......有没有人可以告诉我它是否应该操作设备打开/关闭闪光灯是否可行?(这样不仅可以启用和禁用设备)?

Before I spend a lot of time on this..... Is there anyone who can tell me if it should be feasible to manipulate the device to turn on/off the flash light (so not only enable and disabling the device)?

期待您的回复,

John

推荐答案

现在如何打开和关闭?使用软件还是硬件?如果您尝试将其用作闪光灯,则可能无法将其用作闪光灯。

How is it turned on and off now? With software or hardware? If you're trying to use it as a strobe it may not be designed to do that.

LM3554是一款2MHz固定频率,电流模式同步升压转换器。  该设备旨在作为双重操作    600mA(总共1.2A)恒流 驱动器用于高电流白光LED,或作为受控制的
4.5V或5V电压源。    

The LM3554 is a 2MHz fixed frequency, current mode synchronous boost converter.  The device is designed to operate as a dual    600mA (1.2A total) constant-current  driver for high-current white LEDs, or as a regulated 4.5V or 5V voltage source.    

双高电流源允许接地阴极LED工作。自适应调节方法确保当前   每个LED的光源都处于稳定状态,可以最大限度地提高效率。 

The dual high-side current sources allow for grounded cathode LED operation. An adaptive regulation method ensures the current    source for each LED remains in regulation and maximizes efficiency. 

主要功能包括:一个我    < super> 2< / super> C兼容接口,用于控制LED电流或所需的输出电压,硬件Flash启用输入,用于直接   触发闪光脉冲,
和双TX输入,强制闪光脉冲进入低电流火炬模式,允许同步   射频功率放大器事件或其他高电流条件。此外,有效的高硬件启用(HWEN)输入提供了   
系统软件故障期间硬件关闭。

The main features include: an I    <super>2</super>C-compatible interface for controlling the LED current or the desired output voltage, a hardware Flash enable input for direct    triggering of the Flash pulse, and dual TX inputs which force the Flash pulse into a low-current Torch mode allowing for synchronization    to RF power amplifier events or other high-current conditions. Additionally, an active high hardware enable (HWEN) input provides    a hardware shutdown during system software failures.

LM3554提供五种保护功能,包括软件可选输入电压监视器,内置   比较器用于连接外部温度传感器,四个可选电流限制为
确保电池电流   保持低于预定的峰值电平,过压保护功能可限制LED开路期间的输出电压,   和一个输出短路保护,在短路期间限制输出
电流。  此外,该设备还提供了    各种故障指示器包括:热故障标志,指示LED温度已经超过热阈值,   一个标志,表示发生了TX事件
,一个标志表示 闪存超时计数器已过期,一个标志表示   器件芯片温度已达到热关断阈值,并且标志指示LED开路或短路。

Five protection features are available within the LM3554 including a software selectable input voltage monitor, an internal    comparator for interfacing with an external temperature sensor, four selectable current limits to ensure the battery current    is kept below a predetermined peak level, an over-voltage protection feature to limit the output voltage during LED open circuits,    and an output short circuit protection which limits the output current during shorts to GND.   Additionally, the device provides     various fault indicators including: a thermal fault flag indicating the LED temperature has tripped the thermal threshold,    a flag indicating a TX event has occurred, a flag indicating the  flash timeout counter has expired, a flag indicating the    devices die temperature has reached the thermal shutdown threshold, and a flag indicating an open or short LED.

http://www.ti.com/product/lm3554#description


这篇关于我可以期望WMI能够访问设备的功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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