ls -ltr /dev/tty* | tail
The last line has the name of the keyspan port. Let’s say it is
/dev/ttyUSB0
Basic communication to the instrument to find the communication baud rate:
Open tk_terminal.py
In port/device, change to
/dev/ttyUSB0
then
File/Connect to port
Command/Send Break
The following answer means the communication was successful:
[BREAK Wakeup A]
WorkHorse Broadband ADCP Version 50.35
Teledyne RD Instruments (c) 1996-2009
All Rights Reserved.
>
If there is instead an error message then
File/Disconnect
change the baud rate in baud and try again until it works.
This is the communication baud rate.
Next, we need to know the data baud rate
The data baud rate is the rate at which the data are downloaded. In general, the longer the cable, the slower the baud rate required to avoid errors, hence the slower the downloading. With RS232 protocol, excessive length will not just slow down communications, it will introduce unrecoverable errors (the only solution is to shorten the cable)
To find the data baud rate:
To do so,
If there is a problem, lower the data baud rate and try again until it works