I-6 Accessing Power and Performance Data
Sub get2complement(raw, rv, bit)
Select Case bit
case 4:
If raw And &h8 Then
rv = 0 - ((&h10 - raw) and &h0f)
Else
rv = raw
End If
case 8:
If raw And &h80 Then
rv = 0 - ((&h100 - raw) and &h0ff)
Else
rv = raw
End If
case 10:
If raw And &h200 Then
rv = 0 - ((&h400 - raw) and &h3ff)
Else
rv = raw
End If
End Select
End Sub
Sub GetIDString(rv_ls, rv_ms, rc_ls, rc_ms)
Dim tmpMessage
Dim outsdridstringtype
oinparams.networkfunction = &ha
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h23
oinparams.requestdata = array(rv_ls, rv_ms, rc_ls, rc_ms, 47, 1)
oinparams.requestdatasize = 6
set outsdridstringtype = oipmi.execmethod_("requestresponse",oinparams)
Dim outsdridstring
Dim idlength, j
idlength = outsdridstringtype.ResponseData(3) and 31
oinparams.networkfunction = &ha
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h23
oinparams.requestdata = array(rv_ls, rv_ms, rc_ls, rc_ms, 48, idlength)
oinparams.requestdatasize = 6
set outsdridstring = oipmi.execmethod_("requestresponse",oinparams)
tmpMessage = " ID String = "
For j = 3 to id 2
tmpMessage = tmpMessage & Chr(outsdridstring.ResponseData(j))
Next
WScript.Echo tmpMessage
End Sub
'End Script
Содержание N8100-1668F
Страница 60: ...2 28 General Description This page is intentionally left blank ...
Страница 146: ...5 8 Installing the Operating System with Express Setup Flow of Setup ...
Страница 173: ...Installing the Operating System with Express Setup 5 35 Flow of Setup ...
Страница 242: ...5 104 Installing the Operating System with Express Setup This page is intentionally left blank ...
Страница 251: ...Installing and Using Utilities 6 9 4 Click Parameter File Creator Parameter File Creator will appear ...
Страница 255: ...Installing and Using Utilities 6 13 Windows Server 2003 ...
Страница 282: ...7 14 Maintenance This page is intentionally left blank ...
Страница 287: ...Troubleshooting 8 5 With Redundant Power Supply Installed REAR LINK ACT lamp Speed lamp Speed lamp LINK ACT lamp ...
Страница 288: ...8 6 Troubleshooting With Non Redundant Power Supply Installed REAR Speed lamp LINK ACT lamp Speed lamp LINK ACT lamp ...
Страница 339: ...Troubleshooting 8 57 When you use a remote console 6 Each tool is selected and it starts ...
Страница 400: ...9 56 Upgrading Your Server 11 Bring down the lever to secure the CPU 12 Remove the protective cover from the heat sink ...
Страница 422: ...9 78 Upgrading Your Server This page is intentionally left blank ...
Страница 440: ...C 2 IRQ This page is intentionally left blank ...
Страница 464: ...D 24 Installing Windows Server 2008 R2 4 Activate Windows The Windows activation is complete ...
Страница 495: ...Installing Windows Server 2008 E 29 4 Activate Windows The Windows activation is complete ...
Страница 558: ...H 2 Using a Client Computer Which Has a CD Drive This page is intentionally left blank ...
Страница 568: ...I 10 Accessing Power and Performance Data This page is intentionally left blank ...
Страница 572: ...J 4 Product Configuration Record Table This page is intentionally left blank ...