13.01.2015 Views

RO-PT100-4/RO-PT100-8 | DEDITEC Manual

RO-PT100-4/RO-PT100-8 | DEDITEC Manual

RO-PT100-4/RO-PT100-8 | DEDITEC Manual

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!