RO-PT100-4/RO-PT100-8 | DEDITEC Manual
RO-PT100-4/RO-PT100-8 | DEDITEC Manual
RO-PT100-4/RO-PT100-8 | DEDITEC Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
temp = DapiTempGet(handle, 0);<br />
IsError();<br />
printf("Reading temperature of channel 0\n");<br />
printf("Temperature = %f degrees celsius\n", temp);<br />
printf("Press any key to continue\n");<br />
getch();<br />
temp = DapiTempGet(handle, 1);<br />
IsError();<br />
printf("Reading temperature of channel 1\n");<br />
printf("Temperature = %f degrees celsius\n", temp);<br />
printf("Press any key to continue\n");<br />
getch();<br />
temp = DapiTempGet(handle, 2);<br />
IsError();<br />
printf("Reading temperature of channel 2\n");<br />
printf("Temperature = %f degrees celsius\n", temp);<br />
printf("Press any key to continue\n");<br />
getch();<br />
temp = DapiTempGet(handle, 3);<br />
IsError();<br />
printf("Reading temperature of channel 3\n");<br />
printf("Temperature = %f degrees celsius\n", temp);<br />
printf("Press any key to continue\n");<br />
getch();<br />
// -------------------------------------------------------------<br />
// Close Module<br />
DapiCloseModule(handle);<br />
printf("Module closed\n");<br />
printf("End of program!\n");<br />
printf("Press any key to exit\n");<br />
getch();<br />
}<br />
return ;<br />
DELIB API reference |Seite 35