ADL_ERR from ADL_Overdrive5_FanSpeed_Get()

Discussion created by pmoss on May 10, 2012
Latest reply on May 14, 2012 by pmoss

ADL_Overdrive5_FanSpeed_Get() returns


#define ADL_ERR   -1
Generic Error. Most likely one or more of the Escape calls to the driver failed! 


on some systems.  Mostly it works, but sometimes it fails on adapter 12 or 13.


ADL_Overdrive5_FanSpeedInfo_Get() returns iFlags = 15, so RPM/PERCENT read/write are available.


But I get this error on systems with 4 cards (2x7970, 2x6770).  16 adapters are returned.


What does it mean "Most likely one or more of the Escape calls to the driver failed"? What are escape calls?


Is there anything that can be done on the application side to avoid this error.  Would ADL_Main_Control_Refresh() and retry work?


Any help is much appreciated.


Here is my code:



fan.iSize = sizeof(ADLFanSpeedValue);  

   fan.iFanSpeed = 0;
   result = ADL_Overdrive5_FanSpeed_Get(adlInfo.adapters[i].adapterIndex,0, &fan);
   if (result != ADL_OK)