Activex Functions; Getproperty - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

ActiveX Functions

6-19
ActiveX Functions

6-19-1 GetProperty

116
Argument
Type
HandShaking
Integer
TerminationChar
Integer
ControlCharFlag
Bool
TermMode
Integer
Typical Example:
bState
= SetupCOMPort(2, "9600,N,8,1", 0, 0x0D, TRUE)
Description
Gets the value of a property of an OLE object and stores it in a point.
Syntax
propertyvalue = GetProperty(object, property, ...)
Remarks
Argument
Type
propertyvalue
n/a
object
Text
property
Text
- - -
n/a
Typical Examples
OLE1Height = GetProperty("OLE1", "Height")
This will read the property 'Height' from the OLE object 'OLE1' and store it in
the point 'OLEHeight'.
DM100Value = GetProperty("CXComms1", "DM", 100)
SECTION 6 Functions and Methods
Description
The required handshaking protocol. Valid
values are
0 - None
1 - XonXoff
2 - RTS
3 - RTS & XonXoff
A character indicating the end of the message.
A flag indicating that control characters
contained in a received message should be
Ignored.
Optional. Flags to indicate how to use the
termination character
@ONINPUT (or value 1) - Function
InputComPort expects Termination Character.
This is the default value if omitted.
@ONOUTPUT (or value 2) -Function
OutputComPort appends Termination
Character.
@ONINPUT | @ONOUTPUT (or value 3) -
both of the above.
Description
The value of the property. Type is dependant
on the type of the property.
The name of the OLE object to get the property
of.
The name of the property to get.
Any number of parameters for the property.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents