Specifications

4
Changing Shelf Settings Using HPI
57
Writing HPI applications
ThefollowingarerequiredtocreateanHPIapplication:
SaHpi.h TheofficialHPIB.03.02headerfile,whichisrequiredtocreateanyHPI
B.03.02userapplication.Theheaderfileisalsobackwardcompatiblewith
HPIB.01.01andHPIB.02.01.YoucandownloadthisfromtheService
AvailabilityForum(SAF)Website(http://www.saforum.org),anditisalso
includedaspartoftheRadisysHPIclientlibraryandapplicationpackage.
SaHpiAtca.h TheAdvancedTCAspecificheaderfile,whichprovidesdefinitionsand
symbolsforallstandardresourcesandmanagementinstrumentsmodeling
differentaspectsandentitiesofanAdvancedTCAplatform.Although
SaHpiAtca.hisnotnecessarytocreateastandardHPIapplication,an
AdvancedTCAspecificHPIapplicationcanusethesymbolsdefinedinthisfile
todirectlycalloutAdvancedTCAspecificresources,sensors,andcontrols.
ThisfileisincludedaspartoftheRadisysHPIclientlibraryandapplication
package,andcanalsobedownloadedfromtheSAFWebsite.
libhcl.so TheHCLforLinux,whichuserapplicationsneedtolinkwithinorderto
communicatewiththeHPIserver.TheHCLcanbelinkedatcompiletimeor
loadedduringruntimewithanHPIcompliantapplication.TheHCLis
installedontheShelfManagermodule,andisalsoavailableontheRadisys
FTPsiteassourcecodewithbuildinstructionsforLinuxoperatingsystems.
Thearchivealsoincludesthehpiappexampleapplication sourcecode,along
withotherHPIdemoapplications.