18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

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.

Appendix: Built-in Scripting Language<br />

Data of various types that are required by the Method to run. The number of parameters can<br />

range from 0 to 255 and depends on the specified Method. The data types (e.g., Boolean, Integer,<br />

Real or String) of referring tags must match the parameters on the Method.<br />

Returned value<br />

Returns the Method result as reported by the ActiveX Control or .NET Control object. Not all Methods return<br />

results.<br />

Notes<br />

This function cannot be used in Tasks or in the Global Procedures script. Also, this function is not supported<br />

for .NET Control objects running on a Windows Embedded station.<br />

Examples<br />

Run the XPos method on the ActiveX Control named "ActXCir," with four original values passed to the<br />

method:<br />

XRun( "ActXCir", "XPos", FALSE, 12, 4.6, "This is my text." )<br />

Run the XPos method on the ActiveX Control named "ActXCir," with four referring tags passed to the method:<br />

XRun( "ActXCir", "XPos", TagA, TagB, TagC, TagD )<br />

XSet<br />

This function sets the value of a Property on an ActiveX Control or .NET Control object.<br />

Function Group Execution Windows Embedded Thin Client<br />

XSet<br />

Syntax<br />

ActiveX and .NET<br />

Control<br />

XSet(strName,strProperties,Value)<br />

strName<br />

strProperties<br />

Value<br />

Asynchronous Supported ActiveX Controls only<br />

(see Notes)<br />

Supported<br />

The unique name of the ActiveX Control or .NET Control object, as configured in the Name field of<br />

the Object Properties dialog.<br />

The Property that you want to set the value of. Available Properties are listed in the<br />

Configuration (for an ActiveX Control) or Members (for a .NET Control) dialog.<br />

A tag, expression, or data value of any type; the value to which you want to set the Property.<br />

Returned value<br />

This function does not return any value.<br />

Notes<br />

This function cannot be used in Tasks or in the Global Procedures script. Also, this function is not supported<br />

for .NET Control objects running on a Windows Embedded station.<br />

Page 730<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!