All functions assume you followed directions in the "How To Add To Your Project"
The "PortOpen" function is used to correctly configure and open the serial port for communication with the VXM. This function is necessary if any of your code is going to communicate with the VXM. Syntax: long PortOpen(long PortNumber, long BaudRate) 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: CallPortOpen = PortOpen(1,9600);