NvAPI_GPU_GetTachReading returning 0 RPM

When using the NvAPI_GPU_GetTachReading() method, the fan speed returned for my GPU is 0. I don’t believe this seems right? I am testing out the source code below on a GTX 1050 Ti. Is anyone else facing this issue?

NvU32 fanSpeed = 0; // the GPU fan speed reading

// get the GPU fan speed
m_apiStatus = NvAPI_GPU_GetTachReading(m_ptrPhysicalHandlers[physHandlerNum], &fanSpeed);

// check if the API successfully obtained the GPU fanspeed
if (m_apiStatus == NVAPI_OK)
// return the GPU fan speed
return fanSpeed;
// let the user know an error occurred obtaining the GPU fanspeed
throw gcnew Exception(GetApiErrMsg(m_apiStatus));

Thank you for contacting NVIDIA developer forum. We have sent your query to the respective team for details and we will get back to you on same.

NVAPI Forum Moderator

Thank you for contacting the NVIDIA developer forum.
We request you to open a new ticket so that the technical team can follow up with you on the reported issue.
Please refer to the section ‘ASK US A QUESTION’ on the page NVIDIA Customer Support Resources for opening the ticket. Please mention “Redirected from the NVAPI developer forum” and also provide the link to query on the NVAPI forum while filing the support ticket.