EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #117 background imageLoading...
Page #117 background image
ActiveX Functions SECTION 6 Functions and Methods
116
Typical Example:
bState = SetupCOMPort(2, "9600,N,8,1", 0, 0x0D, TRUE)
6-19 ActiveX Functions
6-19-1 GetProperty
Description
Gets the value of a property of an OLE object and stores it in a point.
Syntax
propertyvalue = GetProperty(object, property, ...)
Remarks
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)
HandShaking Integer The required handshaking protocol. Valid
values are
0 - None
1 - XonXoff
2 - RTS
3 - RTS & XonXoff
TerminationChar Integer A character indicating the end of the message.
ControlCharFlag Bool A flag indicating that control characters
contained in a received message should be
Ignored.
TermMode Integer 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.
Argument Type Description
Argument Type Description
propertyvalue n/a The value of the property. Type is dependant
on the type of the property.
object Text The name of the OLE object to get the property
of.
property Text The name of the property to get.
- - - n/a Any number of parameters for the property.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals