Home > other >  WMI memory - Win32_PhysicalMemory python reading memory ConfiguredVoltage - from the WMI configurati
WMI memory - Win32_PhysicalMemory python reading memory ConfiguredVoltage - from the WMI configurati

Time:09-17

https://blog.csdn.net/ADOOP/article/details/106241490

By reading the memory voltage to decide the generations of memory;

1 generation: 2.5 v. 2 and 1.8 v. Three generations of 1.5 v. Four generations of 1.35 v

Why read ConfiguredVoltage - configuration voltage will be an error please advise,





Uint32 ConfiguredVoltage













Error message is as follows:

Traceback (the most recent call last) :
The File "F:/python/pyqt5/hardware configuration - v1. Py", line 216, in & lt; module>
INFOs=INFO ()
The File "F:/python/pyqt5/hardware configuration - v1. Py", line 18, in __init__
The self. The info ()
The File "F:/python/pyqt5/hardware configuration - v1. Py", line 141, in the info
Information. The list. Append (" memory Voltage: % s "% memModule. The Voltage)
The File "C: \ Users \ \ Administrator \. Virtualenvs \ pyqt5-0 gm3dhp \ lib \ site - packages \ wmi py", line 603, in __getattr__
Return getattr (self ole_object, attribute)
The File "C: \ Users \ \ Administrator \. Virtualenvs \ pyqt5-0 gm3dhp \ lib \ site - packages \ win32com \ client \ dynamic py", line 527, in __getattr__
Raise AttributeError (" % s % s "% (self) _username_, attr))
AttributeError: & lt; Unknown> The Voltage

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

CodePudding user response:

Use wmi tool to check, if the parameter, I can't find the
  • Related