My Objective is simple. I need a function that gives me the current temp that the sensor on NI USB TC 01 is reading. I have tried to look at the C Examples that come with the NI device, but that runs into some error altogether. I came across this function
I have an MFC app in which I am trying to get this temp value, if I use this function , I get 0 as the value of "data" and a -200197 as the value of mytemp. This is an error code, I get that, but I cansee the device in my MAX, so device is being recognised fine, its UI shows the right temperature, so changing ports on the PC wouldnt makea difference.
Has anybody used this function ? do You need some device configuration prior to using this function? Any help would be appreciated
My apologies on posting this twice,but I did not receive a reply on that& I was rushing against a deadline, so I figured maybe I can start a new thread. Do you have any suggestions for the problem I discussed?