Click or drag to resize
CCOMCreate Method
Create COM object.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
public static CCOM Create(
	CGXNETCore gxNetShared,
	string port,
	int baud,
	int data_size,
	int parity,
	int stop_bits,
	int flow_control,
	int time_out
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
port
Type: SystemString
Port name to open ("COM1" is example)
baud
Type: SystemInt32
<define>COM_BAUD</define>
data_size
Type: SystemInt32
<define>COM_DATASIZE</define>
parity
Type: SystemInt32
<define>COM_PARITY</define>
stop_bits
Type: SystemInt32
<define>COM_STOPBITS</define>
flow_control
Type: SystemInt32
<define>COM_FLOWCONTROL</define>
time_out
Type: SystemInt32
Timeout in Ms (500)

Return Value

Type: CCOM
COM Object
See Also