VEX VEXCode Pro V5 -USB Serial Communication

Does anyone have an actual code that works with VEXCode Pro V5 to write a number or some data to the serial port via USB with the VEX V5 Cortex. I cant find the old API with that info