Small application to enable logging from a control processor such as an Extron, AMX or Crestron.
Download (if not already) and use this driver in your project in GCP:
Extron - Universal Device Driver, Unidirectional RS232 and TCP
Make sure that the ports match on the Logger software and the driver in the project, and the IP address is correct. Then strings can be sent thus:
User Defined String('Some String')
User Defined Command
Add the PC as a device:
dvLogger = 0:10:0 //For example
then open the connection:
IP_CLIENT_OPEN(dvLogger.Port,'192.168.0.10',4000,1) //IP Address, Port 4000 and TCP
send a string:
SEND_STRING(dvLogger,'Some String')
and finally close the connection:
IP_CLIENT_CLOSE(dvLogger.Port)
The IP Address and Port used to open the connection should match the PC used for logging.