20.01.2014 Views

Quickstart manual - ICPDAS-EUROPE

Quickstart manual - ICPDAS-EUROPE

Quickstart manual - ICPDAS-EUROPE

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.

5.4.2.2 Displaying Dynamic Float & Word & Timer Data<br />

Demo example: xphmi_01 , xphmi_03 and xphmi_05 (section 3.1)<br />

If user want to display the dynamic float value, the below code can be used.<br />

…<br />

function refresh_data() The action of the Text object “F21” is defined here.<br />

{<br />

F21.innerText = float_val[21] ;<br />

}<br />

…<br />

If want to display Word data, please use “word_val[ ]“<br />

If want to display Timer data, please use “timer_val[ ]“.<br />

For ex, F21.innerText = timer_val[21] + “ ms”;<br />

<br />

…<br />

The layout (or location) of the Text object “F21” is<br />

defined here by the “

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

Saved successfully!

Ooh no, something went wrong!