Syntax:
PortOpen(ByVal PortNumber As Long, ByVal BaudRate As Long) As Long
Parameters:
PortNumber = Number of the port to open (1 for Com1, 2 for Com2 etc.)
Typically 1 is used
BaudRate = Baud Rate of communication (9600, 19200, 0r 38400)
Typically 9600
Returns:
0 if failed
1 if success
Example:
Dim CallPortOpen As Long
CallPortOpen = VXM.PortOpen(1, 9600)