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.

A button to call ON_( )<br />

First parameter is the name of the form. Here is “form_B2”<br />

The second is the name of the “” inside the form.<br />

Here is “form_B2.B2”<br />

<br />

<br />

<br />

<br />

<br />

Name of “” inside the form. Here is “B2”. Because it is inside<br />

“form_B2”, then must use the name of “form_B2.B2” to identify it.<br />

<br />

<br />

<br />

…<br />

<br />

A button to call OFF_( )<br />

First parameter is the name of the form. Here is “form_B2”.<br />

The second is the name of the “” inside the form. Here is<br />

“form_B2.B2”<br />

5.4.3.2 Post Word & Long & Float & Timer & String Value to The<br />

Controller<br />

…<br />

function Check(form_obj)<br />

{<br />

flag = confirm("Are you sure?");<br />

if(flag)<br />

{<br />

if(GetUserID(form_obj)==false) { return false; }<br />

form_obj.submit();<br />

return true;<br />

}<br />

else<br />

{<br />

return false;<br />

}<br />

}<br />

Check( ) is used for<br />

posting any “form”.<br />

Demo example:<br />

xphmi_03, xphmi_04,<br />

xphmi_05, xphmi_06<br />

and xphmi_07<br />

Getting Started : The XPAC-8xx7-CE6 PAC, Ver.1.23 , May 2012 by ICP DAS 5-17

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

Saved successfully!

Ooh no, something went wrong!