6K Misc - Serial Communications

When you are trying to comunicate via serial communications to the 6K, either with the comserver or with another com port program(MSComm control in VB, for example), you must put a time delay between the write and read functions. Higher level languages such as VB execute their functions at a faster rate than the 6K. Placing a time delay allows the 6K time to receive, execute and echo the response to the command. For example:

temp = sixK.write("trev:")
delay(100)
text1.text = sixK.read()

This delay allows the 6K to execute the trev command before the VB tries to read the response.