From: SourceForge.net <no...@so...> - 2007-05-08 03:04:16
|
Feature Requests item #1373757, was opened at 2005-12-05 14:12 Message generated for change (Settings changed) made by renierm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532254&aid=1373757&group_id=71730 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HPI CIM Provider >Group: None Status: Deleted Resolution: Out of Date Priority: 5 Private: No Submitted By: David Judkovics (djudkovi) Assigned to: David Judkovics (djudkovi) Summary: Unique DeviceID for HPI RDRs Initial Comment: >>> > > >> I think the latter is the best solution as you have outlined. >> >> For clarity: >> >> Domain ID (obvious) >> >> Resource ID = SaHpiRptEntryT.ResourceId >> >> Management Instrument Type = SaHpiRdrT.SaHpiRdrTypeT >> >> Management Instrument Instrument ID = SaHpiRdrT.RecordId >> >> Example Result: >> >> ...... DeviceID="{Domain ID=1}{Resource ID=5}{Management >> Instrument Type=SENSOR_RDR}{Management Intrument ID=131073}" ...... >> >> Not sure about the wisdom of padding with so many non-unique >> characters in a key, but it is informative. >> Correct in all regards, except for the Management Instrument Instrument ID - The SaHpiRdrT.RecordId is the ID for the RDR record. There are RDR Records for each of the 5 management instrument types - but each Management instrument has its own type-specific ID - these can be found In the RDRs at - Sensors - SaHpiRdrT.RdrTypeUnion.SensorRec.Num Controls - SaHpiRdrT.RdrTypeUnion.CtrlRec.Num IDR - SaHpiRdrT.RdrTypeUnion.InventoryRec.IdrId Watchdog Timer - SaHpiRdrT.RdrTypeUnion.WatchdogRec.WatchdogNum Annunciator - SaHpiRdrT.RdrTypeUnion.AnnunciatorRec.AnnunciatorNum These are the IDs that need to be used on most HPI commands that access the management instruments. And, with this number you can also read the RDR, using the saHpiRdrGetByInstrumentId() call. David McKinley ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532254&aid=1373757&group_id=71730 |